Bootloader, linker and application start address
Thank you for your help Dieter, however it still does not work.
For the linker, I used the configuration posted above.
Then, I opened the file “system_stm32f4xx.c” and changed the line from
- define VECT_TAB_OFFSET 0x00
to
- define VECT_TAB_OFFSET 0x30000
But no results.
Before doing this I erase the whole flash, then loaded the bootlader (.hex) file with openocd and finally loaded the application binary with the software setting the start address as in the linker script.
If it may helps, the bootloader (.hex file) is generated with Keil, while my application with Eclipse, Ac6 Tool and SW4STM32.
Do you have any other idea?
Would you advise to create a simpler custom bootloader? If so, do you have any resources on how I can build that?
Thank you
a.