2010-05-25 11:45 PM
STM32F105RB vector table relocating fails for CAN2
2011-05-17 04:52 AM
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?2011-05-17 04:52 AM
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