SPRACN1 May   2019 TMS320F2800132 , TMS320F2800133 , TMS320F2800135 , TMS320F2800137 , TMS320F2800152-Q1 , TMS320F2800153-Q1 , TMS320F2800154-Q1 , TMS320F2800155 , TMS320F2800155-Q1 , TMS320F2800156-Q1 , TMS320F2800157 , TMS320F2800157-Q1 , TMS320F280021 , TMS320F280021-Q1 , TMS320F280023 , TMS320F280023-Q1 , TMS320F280023C , TMS320F280025 , TMS320F280025-Q1 , TMS320F280025C , TMS320F280025C-Q1 , TMS320F280040-Q1 , TMS320F280040C-Q1 , TMS320F280041 , TMS320F280041-Q1 , TMS320F280041C , TMS320F280041C-Q1 , TMS320F280045 , TMS320F280048-Q1 , TMS320F280048C-Q1 , TMS320F280049 , TMS320F280049-Q1 , TMS320F280049C , TMS320F280049C-Q1

 

  1.   C2000 Software Controlled Firmware Update Process
    1.     Trademarks
    2. 1 Introduction
    3. 2 Configuring Custom Boot Mode
      1. 2.1 Custom Boot Pin Selection
      2. 2.2 Custom Boot Mode Definition
      3. 2.3 Writing the Values to User OTP
    4. 3 Hardware Modifications
    5. 4 Software Modifications
      1. 4.1 Application Software Modifications
      2. 4.2 Flash Kernel Modifications
      3. 4.3 Firmware Update Process
    6. 5 Flowchart
    7. 6 Summary
    8. 7 References

Custom Boot Mode Definition

The default boot definition fixes the value (boot mode number) to be driven (on boot select pins) for particular boot mode as given in Table 1.

Table 1. Default Boot Definition

Boot Modes Boot Mode Number
PARALLEL IO 0
SCI BOOT 1
CAN Boot 2
Flash Boot 3

Table 2 shows a custom boot table.

Table 2. Custom Boot Table

Boot Modes Boot Mode Number
Flash Boot 0
SCI BOOT 1

This is achieved by configuring BOOT_DEF_LOW (0xFFFF0103) and BOOT_DEF_HIGH (0xFFFFFFFF) user OTP locations as shown in Table 3.

Table 3. Custom Boot Table

Boot Mode Number BOOTDEF Name Value
0 BOOT_DEF0 03 (Flash boot, refer Table 1)
1 BOOT_DEF1 01 (SCI boot, refer Table 1)
2 BOOT_DEF2 0xFF
3 BOOT_DEF3 0xFF
4 BOOT_DEF4 0xFF
5 BOOT_DEF5 0xFF
6 BOOT_DEF6 0xFF
7 BOOT_DEF7 0xFF

The configurations derived above can be summarized as:

  • BOOTPIN_CONFIG - 0x5AFFFF0F
  • BOOT_DEF_LOW - 0xFFFF0103
  • BOOT_DEF_HIGH - 0xFFFFFFFF

These values have to be written to user OTP locations as described in the next section.

NOTE

Care should be taken while defining the above configurations as the OTP locations can be written only once.

For detailed information on the above configurations, see the Device Boot Modes chapter in the TMS320F28004x Piccolo Microcontrollers Technical Reference Manual.