NVIC_SetVectorTable() API not available in HAL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-08 4:31 AM
Hello There,
I'm working on IAP app and need to relocate vector table and came across NVIC_SetVectorTable().
But I'm not able to find this API. I'm using CubeIDE and did generate the initial code with inbuilt cube mx.
Any help is appreciated.
Regards,
Keshav Aggarwal
- Labels:
-
STM32CubeMX
-
STM32F4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-08 4:46 AM
It's called NVIC_SetVector and it's defined in CMSIS core.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-10 4:34 AM
Thanks for replying.
I got the alternate, used VECT_TAB_OFFSET in system_stm32f4xx.c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-10 4:44 AM
Could also use the symbol for the table address, and let the linker fix that based on the linker script established base address for the image.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-17 5:44 AM
Thanks for replying,
There is a change. I'm using dual bank configuration and active bank will be different after each update.
So, need to change vector table address dynamically. I'm thinking to changing it from main(). or what do you suggest?
