This use case demonstrates a scenario for an
application that does not use any boot mode select pins and always has the device
boot to Flash.
- Program the BOOTPIN_CONFIG location in OTP as follows:
- Set BOOTPIN_CONFIG.BMSP0 to 0xFF
- Set BOOTPIN_CONFIG.BMSP1 to 0xFF
- Set BOOTPIN_CONFIG.BMSP2 to 0xFF
- Set BOOTPIN_CONFIG.KEY to 0x5A for boot ROM to treat these register bits as valid and use the custom boot table.
- Program the BOOTDEF location options for the
device. This essentially sets up a device-specific boot mode table. Refer to
Section 4.7.9 for valid BOOTDEF values to set in the table.
- Set BOOTDEF.BOOTDEF0 to
0x03 for booting to Flash (entry address option 0). This sets Flash boot
to boot table index 0.
- Refer to Section 4.7.2 for the available Flash entry points.
Table 4-9 Zero Boot Pin Boot
Table Result
Boot Mode Table Number |
Boot Mode |
0 |
Flash Boot (0x03) |