2013-08-01 08:00 AM
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?2013-08-01 08:14 AM
Change the setting in SystemInit() in system_stm32f4xx.c, perhaps have the linker fix up the correct address (__Vectors).
2013-08-01 09:42 AM
Worked perfectly.
Thanks Clive.