Difference between revisions of "STM32 Flash"

From ElectroDragon Wiki
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
https://w2.electrodragon.com/gollum/search?q=stm32-dat.md
== 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|400px]]
 
=== ISP USART ===
* BOOT0 should be pull to high, foce chip into system memory
* Flash loader demostrator from official ST = Flasher
* https://www.st.com/en/development-tools/flasher-stm32.html
<gallery>
File:Flash_demonstrator_01.png | Use guide 01
File:Flash_demonstrator_02.png | Select memory size
File:Flash_demonstrator_03.png | upload code
</gallery>
 
 
== Debug ==
* If SWD Serial-Wire is not enable, add reset line to force enter into debug mode
 
[[category: STM32 SDK]]

Latest revision as of 17:40, 5 July 2024