AnsweredAssumed Answered

Replacement for NVIC_SetVectorTable ?

Question asked by clark.roger on Jun 16, 2015
Latest reply on Jun 16, 2015 by clark.roger
In the latest HAL on the F1 (and F4) (http://www.st.com/st-web-ui/static/active/cn/resource/technical/document/user_manual/DM00154093.pdf )

Doesnt seem to contain

NVIC_SetVectorTable(NVIC_VectTab_FLASH, USER_PROG_OFFSET);

Hence there is no HAL way to change the Vector table start address (to account for the use of a bootloader etc)

Is the preferred method to change

SCB->VTOR

in main ?

Outcomes