Hello All,
I am working on the iMX RT 1170 EVK . I want to write the bootloader application and in that i want to change the vector table address. I am using MCU Expresso IDE.
I have gone through community but I cannot find for iMX RT
Can any one help me with this ?
Thanks in Advance
Thank you for the instant reply.
I am facing issue like when application goes for the reset. PC jumps to bootloader vector table.
Can I hardcode the Vector Table address ?
Thanks in
Yes, you can place it everywhere, but consider the alignment of 0x100.
The vector-table is quite often placed in the internal RAM to take advantage of the higher performance. There are many examples for this, for example here: https://www.keil.com/pack/doc/CMSIS/Core/html/using_VTOR_pg.html
the simplest way without loading the Interrupt-table to the RAM would be:
As the startup-code from MCUexprosso is already reassigning the SCB->VTOR register, you should be fine when you disable the major interrupt bevor jumping into the application.
Thank you very much for the solution. It works
You like to change the vector-table from Bootloader to the one of the application?
SCB->VTOR = ApplicationVectorTable;