cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F105RB vector table relocating fails for CAN2

hebel23
Associate
Posted on May 26, 2010 at 08:45

STM32F105RB vector table relocating fails for CAN2

2 REPLIES 2
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..
hebel23
Associate
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