DFU Bootloader
All STM32 MCUs have a built-in bootloader which will allow reflashing. The Boot0 pin is used to toggle between "normal" boot and this bootloader. Unfortunately this process can not be controlled without manipulating the Boot0 pin, so if we want to control this from our application, we will have to implement our own bootloader.
Overall Architecture
Address | Size (hex) | Size (kb) | ||
---|---|---|---|---|
End | --> | 0x808000 | 0x8000 | 32kB |
0x807800 | 0x8000 | 32kB | ||
0x807800 | 0x8000 | 32kB | ||
0x807800 | 0x8000 | 32kB | ||
0x807800 | 0x8000 | 32kB | ||
0x807800 | 0x8000 | 32kB | ||
0x807800 | 0x8000 | 32kB | ||
0x807800 | 0x8000 | 32kB | ||
0x807800 | 0x8000 | 32kB | ||
0x807800 | 0x8000 | 32kB | ||
0x807800 | 0x8000 | 32kB |