Difference between revisions of "STM32 Flash"

From ElectroDragon Wiki
Line 1: Line 1:
== 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).




Line 22: Line 14:
File:Flash_demonstrator_03.png | upload code
File:Flash_demonstrator_03.png | upload code
</gallery>
</gallery>


== Debug ==
== Debug ==

Revision as of 17:37, 5 July 2024


SWD

Hardware Interface

File:Stm32 serial wiring 02.jpg

ISP USART

Debug

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