Difference between revisions of "STM32 PROG"

From ElectroDragon Wiki
 
Line 11: Line 11:
File:ST-LINK_upgrade_firmware.png | upgrade firmware of st-link
File:ST-LINK_upgrade_firmware.png | upgrade firmware of st-link
</gallery>
</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 ==
== 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

Revision as of 17:42, 5 July 2024

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

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