ferenc-nemeth / stm32-bootloader

UART bootloader for STM32 microcontroller.
MIT License
310 stars 94 forks source link

Have bootloader at end of memory #1

Closed AlessandroAU closed 4 years ago

AlessandroAU commented 4 years ago

If I wanted to have the bootloader at the end of the flash as opposed to at the start, how would I need to configure the VECT_TAB_OFFSET and FLASH (rx) parameters?

ferenc-nemeth commented 4 years ago

Execution starts from the beginning, therefor you need a small code at the beginning that jumps to your bootloader's new location. I wouldn't recommend that though, it just makes your software more complicated for no real benefit.