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

 

  1.   Trademarks
  2. 1Introduction
  3. 2ROM Bootloader
    1. 2.1 Configuring the Bootloader
      1. 2.1.1 CC2538
      2. 2.1.2 CC26x0
    2. 2.2 CC26x2
    3. 2.3 Communication Protocol
      1. 2.3.1 ACK/NACK
    4. 2.4 Interface Configuration
      1. 2.4.1 Hardware Pins
      2. 2.4.2 UART Configuration
      3. 2.4.3 Establishing Communication
      4. 2.4.4 Status Command
  4. 3Serial Bootloader Library (SBL)
    1. 3.1 SBL Return Values
    2. 3.2 SBL API
      1. 3.2.1 Device-Specific Functions
  5. 4Example Project
    1. 4.1 Hardware Setup
      1. 4.1.1 SmartRF06EB Virtual COM Port
        1. 4.1.1.1 External Serial Interface
      2. 4.1.2 LaunchPad Virtual COM Port
      3. 4.1.3 Bootloader Backdoor
    2. 4.2 Software Setup
      1. 4.2.1 Device Type
      2. 4.2.2 Baud Rate
    3. 4.3 Program Flow
      1. 4.3.1 Enumerate COM Ports
      2. 4.3.2 Create Device
      3. 4.3.3 Connect
      4. 4.3.4 Erase Flash Range
      5. 4.3.5 Write Flash Range
      6. 4.3.6 Calculate CRC32
      7. 4.3.7 Reset
  6. 5References
  7. 6Revision History

CC26x0

The customer configuration area for CC26x0 is called CCFG and is located in the uppermost flash sector, so the absolute address of the CCFG depends on the device flash size. The bootloader configuration absolute address for the 128 KB flash variant is 0x0001.FFD8, the 64 KB flash variant is 0x0000.FFD8 and the 32 KB flash variant is 0x0000.7FD8. The CC26x0 CCFG is also memory mapped with read access to address 0x5000.3000 for all flash variants. A 32-bit field in the CCFG configures the bootloader and backdoor functionality (byte offset 0xFD8).

The structure of the bootloader configuration field is shown in Table 2-3. 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.

Table 2-3 CC26x0 CCFG:BL_CONFIG Encoding
BitFieldValueDescriptionByte
Offset
Default
Value
31:24BOOTLOADER_ENABLEEnable and disable bootloader0xFDB0xC5
0xC5Bootloader enabled
Any other valueBootloader disabled
23:17RESERVED00xFDA0b111 1111
16BL_LEVELSets the active level of the selected pin.0xFDA1
0Active low
1Active high
15:8BL_PIN_NUMBERThe number of the I/O pin that is level checked if the bootloader backdoor is enabled.0xFD90xFF
7:0BL_ENABLEEnables and disables the bootloader backdoor.0xFD80xFF
0xC5Bootloader enabled
Any other valueBootloader disabled