Difference between revisions of "STM32 PROG"

From ElectroDragon
Jump to navigation Jump to search
(Created page with "* If SWD prog port block, should use "under reset" option, and hold down reset, then press prog mode, then release reset * AN2606 - https://www.st.com/content/ccc/resource/te...")
 
(USB DFU)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
== Programmer ==
 +
[https://my.st.com/content/ccc/resource/technical/software/utility/group0/e1/74/6e/13/97/d4/48/98/stm32cubeprog/files/stm32cubeprog.zip/jcr:content/translations/en.stm32cubeprog.zip STM32cubeprog 2.2.1]
 +
* Require [[Java]]
 +
* Support DFU
 +
 +
 +
== ST-LINK ==
 +
Upgrade firmware
 +
* If error st-link is not DFU mode -> connect ST-link, do not operate anythings, click upgrade firwmare directly
 +
<gallery>
 +
File:ST-LINK_upgrade_firmware.png | upgrade firmware of st-link
 +
</gallery>
 +
== USB DFU ==
 +
* Short connect Boot0 + 3V3 to re-enter into USB DFU mode
 +
* use STM32CubeProgrammer upload hex or DFU file.
 +
In other boot try:
 +
* In case of SLCAN software connect UCCB and type in terminal boot device should reset and new device should connect to Your pc
 +
 +
== SWD ==
 
* If SWD prog port block, should use "under reset" option, and hold down reset, then press prog mode, then release reset
 
* If SWD prog port block, should use "under reset" option, and hold down reset, then press prog mode, then release reset
  
 +
== Guide ==
 
* AN2606 - https://www.st.com/content/ccc/resource/technical/document/application_note/b9/9b/16/3a/12/1e/40/0c/CD00167594.pdf/files/CD00167594.pdf/jcr:content/translations/en.CD00167594.pdf
 
* AN2606 - https://www.st.com/content/ccc/resource/technical/document/application_note/b9/9b/16/3a/12/1e/40/0c/CD00167594.pdf/files/CD00167594.pdf/jcr:content/translations/en.CD00167594.pdf
 +
 +
== Downloader ==
 +
=== ST Utility ===
 +
* https://www.st.com/zh/development-tools/stsw-link004.html
 +
 
[[category: STM32 ]]
 
[[category: STM32 ]]

Latest revision as of 00:51, 20 May 2020

Programmer

STM32cubeprog 2.2.1

  • Require Java
  • Support DFU


ST-LINK

Upgrade firmware

  • If error st-link is not DFU mode -> connect ST-link, do not operate anythings, click upgrade firwmare directly

USB DFU

  • Short connect Boot0 + 3V3 to re-enter into USB DFU mode
  • use STM32CubeProgrammer upload hex or DFU file.

In other boot try:

  • In case of SLCAN software connect UCCB and type in terminal boot device should reset and new device should connect to Your pc

SWD

  • If SWD prog port block, should use "under reset" option, and hold down reset, then press prog mode, then release reset

Guide

Downloader

ST Utility