OiO.lk Blog C# How to change SCB->VTOR in app (stm32f4 HAL)?
C#

How to change SCB->VTOR in app (stm32f4 HAL)?


I build the bootloader for STM32F4 and build user app with the changes the VECT_TAB_OFFSET value manually for SCB->VTOR in system_stm32f4xx.c file but If I do it in the application. It’s not working properly.

I called the SCB->VTOR = 0x8040000 at the beginning of the main() but it didn’t work.BOOTLOADER
USER APPLICATION



You need to sign in to view this answers

Exit mobile version