STM32F105RB vector table relocating fails for CAN2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2010-05-25 11:45 PM
Posted on May 26, 2010 at 08:45
STM32F105RB vector table relocating fails for CAN2
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 4:52 AM
Posted on May 17, 2011 at 13:52
Surely the syntax is
#ifdef VECT_TAB_RAM /* Set the Vector Table base location at 0x20000100 */ NVIC_SetVectorTable(NVIC_VectTab_RAM, 0x100); #else /* VECT_TAB_FLASH */ /* Set the Vector Table base location at 0x08008900 */ NVIC_SetVectorTable(NVIC_VectTab_FLASH, 0x8900); #endif More likely the table is not built correctly. Have you checked the errata?
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
‎2011-05-17 4:52 AM
Posted on May 17, 2011 at 13:52
Hi Clive1,
thanks for your reply. You´re right, but because the offset will be ''OR´ed'' with 0x08000000 respectively 0x20000000 inside the NVIC_SetVectorTable function, it is not wrong to write the offset with the complete address. The errata sheet say´s nothing to this problem. Greetings Andreas