cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F4 custom bootloader Vector table

berge472
Associate II
Posted on August 01, 2013 at 17:00

I have a custom bootloader that I flash to the first sector (0x8000000) and when it receives a new program it loads it to 0x8004000. however when It jumps to the program it seems to have problems with a lot of the peripherals.

I am assuming this is because it is still looking at the vector table at 0x8000000. What is the best way to re-direct it to the new Vector table at 0x8004000? 
2 REPLIES 2
Posted on August 01, 2013 at 17:14

Change the setting in SystemInit() in system_stm32f4xx.c, perhaps have the linker fix up the correct address (__Vectors).

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
berge472
Associate II
Posted on August 01, 2013 at 18:42

Worked perfectly.

Thanks Clive.