Tool/software:
Hi.
Recently, our project has encountered a problem during development, which concerns the size of the vector table of the software. Now, let me describe this issue.
Since we need to use the MPU, we need to modify the interrupt service function of SVC in the vector table. So we will switch the vector table from the SDK vector table to the MCAL vector table.
As shown in the figure below, after the switch, it was found that the header data of the generated RPRC file had an additional 48 bytes.This caused the position of our version number to shift backward, which had an impact on the upgrade of our software.
For this issue, I compared the map files and found that there were significant differences between them.
The image below is a map file generated using SDK Vectors.
The picture below is the map file generated using MCAL Vectors.
It can be seen from the map file that the size of Vectors has increased by 48 bytes.
In order to ensure that our upgrade function remains consistent with the previous version, I would like to adjust the size of Vectors to 0x40. How should I proceed?