When allocating code and data to Flash
and OTP memory, keep the following reserved locations in mind:
- The entire OTP has reserved
user-configurable locations for security and boot process. For more details on
the functionality of these fields, refer to the ROM Code and Peripheral
Booting and the Dual Code Security Module (DCSM)
chapters.
- Refer to the ROM Code and
Peripheral Booting chapter for reserved locations in Flash for real-time
operating system usage and a boot-to-Flash entry point. A boot-to-Flash entry
point is reserved for an entry-into-Flash branch instruction. When the
boot-to-Flash boot option is used, the boot ROM jumps to this address in Flash.
If the user programs a branch instruction here, that then redirects code
execution to the entry point of the application.