Difference between revisions of "STM32 PROG"

From ElectroDragon
Jump to navigation Jump to search
(USB DFU)
 
Line 15: Line 15:
 
* use STM32CubeProgrammer upload hex or DFU file.
 
* use STM32CubeProgrammer upload hex or DFU file.
 
In other boot try:
 
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
+
* 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 ==

Latest revision as of 03:06, 30 July 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