This device supports from 0 boot-mode select pin to up to 3 boot-mode select pins as well as from 1 configured boot mode to up to 8 configured boot modes.
To change and configure the device from the default settings to custom settings for your application, do the following steps:
- Determine all the various ways you want the application to be able to boot. (For example: Primary boot option of Flash boot for your main application, secondary boot option of CAN boot for firmware updates, tertiary boot option of SCI boot for debugging, and so forth.)
- Based on the number of boot modes needed, determine how many boot-mode select pins (BMSPs) are required to select between your selected boot modes. (For example: 2 BMSPs are required to select between 3 boot-mode options.)
- Assign the required BMSPs to a physical GPIO pin. (For example, BMSP0 to GPIO50,
BMSP1 to GPIO51, and BMSP2 left as default which is disabled.) For details on performing
these configurations, see the Configuring Boot Mode Pins for CPU1 section of the TMS320F2838x
Real-Time Microcontrollers Technical Reference Manual.
- Assign the determined boot mode definitions to indexes in your custom boot table
that correlate to the decoded value of the BMSPs. (For example, BOOTDEF0 = Boot to
Flash, BOOTDEF1 = CAN Boot, BOOTDEF2 = SCI Boot; all other BOOTDEFx are left as
default/nothing.) For details on setting up and configuring the custom boot mode table,
see the Configuring Boot Mode Table Options for CPU1 section of the TMS320F2838x Real-Time
Microcontrollers Technical Reference Manual.
For example use cases on how to configure the
BMSPs and custom boot tables, see the Boot Mode Example Use Cases section of the TMS320F2838x
Real-Time Microcontrollers Technical Reference Manual.