Figure 2-3 shows the
detailed flash memory map in the CSC secure boot. The following are the explanations
of sections in CSC:
The following are sections of the application image:
- Image Header, Image TLV and
Image Trailer: generated by signing tool imgtool, which is provided by MCUBOOT (located with python scripts in
<mspm33_sdk_path>\source\third_party\mcuboot\scripts). These parts are
generated and merged to a compiled application image in the CCS post-build step.
There is a customer_secure_sample_image example in MSPM33 SDK
which shows how a signed image is built in CCS. The following are the
explanations of those image parts:
- Application Interrupt Vectors:
These are separate interrupt vectors that the application uses. During the CSC
jumping to the application, the vector table offset register (VTOR) points to
this position in memory, and thus all future interrupts occur without a
reset(BOOTRST or higher reset) links to this set of interrupt vectors. The start
address is 32-bytes aligned.
Note: For ARM Cortex-M33,
there is a requirement on the VTOR address alignment for 0x200. Please refer
to
E2E thread for more information.
- Application code: The original application code.