STM32 Flash

From ElectroDragon Wiki
Revision as of 20:22, 22 April 2021 by Chao (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Programmer

ST-LINK + ST Utility

DAPLink

Jlink, JTAG

Embedded bootloader

The embedded bootloader mode is used to reprogram the Flash memory using one of the following serial interfaces:

  • SWD Default
  • USART1 (PA9/PA10)
  • USART3 (PB10/11 and PC10/11)
  • CAN2 (PB5/13)
  • USB OTG FS (PA11/12) in Device mode (DFU: device firmware upgrade).


SWD

Hardware Interface

File:Stm32 serial wiring 02.jpg

DFU USB OTG

  • Listed supported device in ST documents AN3156
DFU.gif

ISP USART


Debug

  • If SWD Serial-Wire is not enable, add reset line to force enter into debug mode