SPRUJH3 April 2025 TMS320F2800132 , TMS320F2800133 , TMS320F2800135 , TMS320F2800137 , TMS320F2800152-Q1 , TMS320F2800153-Q1 , TMS320F2800154-Q1 , TMS320F2800155 , TMS320F2800155-Q1 , TMS320F2800156-Q1 , TMS320F2800157 , TMS320F2800157-Q1 , TMS320F280021 , TMS320F280023 , TMS320F280023C , TMS320F280025 , TMS320F280025C , TMS320F280034 , TMS320F280036-Q1 , TMS320F280036C-Q1 , TMS320F280037 , TMS320F280037C , TMS320F280038-Q1 , TMS320F280038C-Q1 , TMS320F280039 , TMS320F280039C , TMS320F280040-Q1 , TMS320F280040C-Q1 , TMS320F280041 , TMS320F280041C , TMS320F280045 , TMS320F280048-Q1 , TMS320F280048C-Q1 , TMS320F280049 , TMS320F280049C , TMS320F28076 , TMS320F28374D , TMS320F28374S , TMS320F28375D , TMS320F28375S , TMS320F28376D , TMS320F28376S , TMS320F28377D , TMS320F28377S , TMS320F28378D , TMS320F28378S , TMS320F28379D , TMS320F28379S , TMS320F28384D , TMS320F28384S , TMS320F28386D , TMS320F28386S , TMS320F28388D , TMS320F28388S , TMS320F28P550SG , TMS320F28P550SJ , TMS320F28P559SG-Q1 , TMS320F28P559SJ-Q1 , TMS320F28P650DH , TMS320F28P650DK , TMS320F28P650SH , TMS320F28P650SK , TMS320F28P659DH-Q1 , TMS320F28P659DK-Q1 , TMS320F28P659SH-Q1
This section demonstrates how to program the OTP using the On-Chip Flash Tool with two example use cases.
Although this section is based on F280015x devices, the same flow can be applied to any C2000 device that supports custom BMSPs and boot mode tables.
Device specific information can be found in the Boot ROM chapter of the device's Technical Reference Manual (TRM).
This use case exhibits a scenario for an application that does not wish to use any BMSPs and always have the device boot to Flash entry point 0x88000.
Refer to GPIO Assignments section in the device TRM for values to set in the table. For Flash entry points, see the Entry Points section in the TRM details about the entry point addresses for various boot modes. These entry points direct the boot ROM what address to branch to at the end of booting as per the selected boot mode.
Figure 5-12 shows the completed input fields in the On-Chip Flash tool to program this example.
Figure 5-12 Example 1: Flash Plugin Boot
Configuration Programmed| BMSP Index | BOOTDEF |
|---|---|
| 0 | 0x23 (Flash Boot to address 0x88000) |
This use case demonstrates a more common scenario for an application using two boot mode select pins to select between CAN, Secure Flash, and SCI boot in the custom boot table.
Refer to GPIO Assignments section in the device TRM for values to set in the table. For Flash entry points, see the Entry Points section in the TRM details about the entry point addresses for various boot modes. These entry points direct the boot ROM what address to branch to at the end of booting as per the selected boot mode.
Figure 5-13 shows the completed input fields in the On-Chip Flash tool to program this example.
Figure 5-13 Example 2: Flash Plugin Boot
Configuration Programmed| BMSP Index | BOOTDEF |
|---|---|
| 0 | 0x6A (Secure Flash Boot to address 0x90000) |
| 1 | 0x22 (CAN boot 1 with alt. GPIOs) |
| 2 | 0x41 (SCI boot 2 with alt. GPIOs) |
| 3 | Don't care (unused) |