SPRACA2A July   2017  – March 2022 TMS320F280040-Q1 , TMS320F280040C-Q1 , TMS320F280041 , TMS320F280041-Q1 , TMS320F280041C , TMS320F280041C-Q1 , TMS320F280045 , TMS320F280048-Q1 , TMS320F280048C-Q1 , TMS320F280049 , TMS320F280049-Q1 , TMS320F280049C , TMS320F280049C-Q1

 

  1.   Trademarks
  2. 1Introduction
  3. 2Features and Configurations
    1. 2.1 Selecting Boot Mode Select Pins (BMSP) and GPIOs
    2. 2.2 Customizing the Boot Selection Table
    3. 2.3 Using Expanded Boot Options
  4. 3Recommended Boot Configurations
  5. 4How to Configure Boot Options
  6. 5References
  7. 6Revision History

Selecting Boot Mode Select Pins (BMSP) and GPIOs

All the latest C2000 devices use a defined set of GPIOs to allow for boot mode selection upon device power-on or reset. This is accomplished by the boot code decoding the state, whether pulled high or low, of the GPIOs. Once decoded, the interpreted value is used as an index to select which boot mode from the boot mode selection table should be run. The GPIOs used as boot mode select pins have typically been locked to their default GPIO. Starting with the Delfino F2837xD devices and carried over to future devices, the GPIOs used as boot mode select pins are now configurable. On F28004x onwards, writing to the BOOTPIN_CONFIG memory location in user-configurable dual code security module (DCSM) OTP allows for all three of the possible boot mode select pins to be set to almost any GPIO available on the device. Devices are no longer locked to the factory default GPIOs, which allows for a greater flexibility in terms of pin usage.

C2000 devices have not only required a certain set of GPIOs to use as boot mode select pins, but a specified number of pins themselves. The number of boot mode select pins used either expands or restricts the available boot modes selectable in the boot table. If there are four boot mode select pins used, there can be up to 16 boot options selectable, but if only two boot mode select pins are used then only four boot options are selectable. On F28004x device onwards, the factory default setting is two boot mode select pins but the number of pins can be customized to support as many as three pins and as few as 0 pins. Using options such as 0 boot mode select pins, provides only a single boot mode to be selected but also frees up the other pins to be repurposed. If many boot modes are required for various scenarios, then using three pins will allow for selecting between eight possible boot choices. Disabling any particular boot mode selection pin uses the same BOOTPIN_CONFIG memory location as when changing the GPIO number used except now a value of “0xFF” is written to disable that specified pin.

Table 2-1 Boot Pin GPIO Selection Comparison
Device Boot Pin GPIO Custom Selection Number of Boot Pins Factory Default Boot Pins
F2833x Number of boot mode select pins (BMSP) and GPIOs assigned are fixed 4
  • BMSP3: GPIO87
  • BMSP2: GPIO86
  • BMSP1: GPIO85
  • BMSP0: GPIO84
F2802x 2
  • BMSP1: GPIO37
  • BMSP0: GPIO34
F2806x 2
  • BMSP1: GPIO37
  • BMSP0: GPIO34
F2837xD/F2837xS/F2807x Number of BMSPs fixed at 2 and GPIOs assigned are customizable. It is also possible to assign same GPIO to both BMSP thus allowing a single pin use case 2
  • BMSP1: GPIO72
  • BMSP0: GPIO84
F28004x Number of BMSPs and GPIOs assigned are customizable 0,1,2 or 3
  • BMSP1: GPIO24
  • BMSP0: GPIO32
F2838xD/F2838xS
  • BMSP1: GPIO72
  • BMSP0: GPIO84
F28002x
  • BMSP1: GPIO24
  • BMSP0: GPIO32
F28003x
  • BMSP1: GPIO24
  • BMSP0: GPIO32