Hi Emmanuel,
As Diana said, you may create new vector table in another region and change VTOR register.
That may be important e.g. for dual application solution like Bootloader at default vector table area and application vector table in another Flash/RAM region.
The reflashing default vector table may be dangerous since the vector table occupied the same flash sector as initial Stack Pointer and Program Counter values.
Unexpected reset during first sector reflashing may cause MCU brick (you may need JTAG for loading new software).
Some of Kinetis MCUs offers flash bank swap, but this feature is not available for the S32k family.
So, if you expect that your application will be changed in the future without debugger connection, the vector table should be located out of the first sector anyway.
I hope it helps you
Have a great day,
Radek
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------