SWRA466D February 2015 – August 2021 CC1310 , CC1310 , CC1352R , CC1352R , CC2538 , CC2538 , CC2620 , CC2620 , CC2630 , CC2630 , CC2640 , CC2640 , CC2640R2F , CC2640R2F , CC2640R2F-Q1 , CC2640R2F-Q1 , CC2642R , CC2642R , CC2642R-Q1 , CC2642R-Q1 , CC2650 , CC2650 , CC2650MODA , CC2650MODA , CC2652R , CC2652R , CC2652R7 , CC2652R7 , CC2652RB , CC2652RB , CC2652RSIP , CC2652RSIP
The customer configuration area for CC26x2 is called CCFG and is located in the uppermost flash sector. The CC26x2 devices have one flash size, 352 KB, and the bootloader configuration absolute address is 0x0005.7FD8. The CC26x2 CCFG is also memory mapped with read access to address 0x5000.3000. A 32-bit field in the CCFG configures the bootloader and backdoor functionality (byte offset 0x1FD8).
The structure of the bootloader configuration field is shown in Table 2-4. The configuration structure is little endian, meaning that the least significant byte is at the lowest address. Select which pin to use by writing the DIO number to the second byte of the configuration structure.
Bit | Field | Value | Description | Byte Offset | Default Value |
---|---|---|---|---|---|
31:24 | BOOTLOADER_ENABLE | Enable and disable bootloader | 0x1FDB | 0xC5 | |
0xC5 | Bootloader enabled | ||||
Any other value | Bootloader disabled | ||||
23:17 | RESERVED | 0 | 0x1FDA | 0b111 1111 | |
16 | BL_LEVEL | Sets the active level of the selected pin. | 0x1FDA | 1 | |
0 | Active low | ||||
1 | Active high | ||||
15:8 | BL_PIN_NUMBER | The number of the I/O pin that is level checked if the bootloader backdoor is enabled. | 0x1FD9 | 0xFF | |
7:0 | BL_ENABLE | Enables and disables the bootloader backdoor. | 0x1FD8 | 0xFF | |
0xC5 | Bootloader enabled | ||||
Any other value | Bootloader disabled |