STM32F4 custom bootloader Vector table
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-08-01 8:00 AM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-08-01 8:14 AM
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..
Up vote any posts that you find helpful, it shows what's working..
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-08-01 9:42 AM
Posted on August 01, 2013 at 18:42
Worked perfectly.
Thanks Clive.