https://www.youtube.com/watch?v=VlCYI2U-qyM&ab_channel=Phil%E2%80%99sLab
STM32 can be programmed via
- Not clear: Serial wire debug = SWD
- Not clear: JTAG
- DFU= Device firware upgrade
- ( No provision of setting break points in DFU mode)
- Use application note AN3156
- STM32 Cube programmer software use elf file as input
- STM32 Cube programmer can upload using
- STLINK
- USB
- UART
- Boot zero pin to be pulled to high and restart the MCU to put the MCU in the DFU mode.
- After flashing the elf file to the MCU using the STM32 Cube programmer, pull boot 0 pin low, restart the MCU
- Not clear: Via USB = You have to write your own boot loader for this.