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
The default boot modes in TMS320F28004x need 2 GPIOs (GPIO32, GPIO24) to select one of the supported boot modes. For the purpose of firmware update we need to select between SCI or Flash boot modes which can be achieved with just one GPIO. This can be customized by configuring the boot configuration word in OTP to 0x5AFFFF0F. This selects GPIO 15 (0x0F) as the boot select pin.
BOOTPIN_CONFIG.BMSP0 to 0x0F (this selects 15 as boot select pin)
BOOTPIN_CONFIG.BMSP1 to 0xFF
BOOTPIN_CONFIG.BMSP2 to 0xFF
BOOTPIN_CONFIG.KEY to 0x5A