SWRU577 July   2021 CC3100 , CC3200

 

  1.   Trademarks
  2. 1Introduction
  3. 2Embedded Programming Schemes
  4. 3Setup
  5. 4Bootloader Protocol
    1. 4.1 Overview
    2. 4.2 General Message Format
    3. 4.3 Commands
      1. 4.3.1 Get Status
      2. 4.3.2 Get Storage List
      3. 4.3.3 Raw Storage Write
      4. 4.3.4 Get Version Info
      5. 4.3.5 Raw Storage Erase
      6. 4.3.6 Get Storage Info
      7. 4.3.7 Execute From RAM
      8. 4.3.8 Switch UART to APPS MCU
      9. 4.3.9 FS Programming
    4. 4.4 Responses
      1. 4.4.1 Ack
      2. 4.4.2 Nack
      3. 4.4.3 Last Status
      4. 4.4.4 Storage List
      5. 4.4.5 Storage Info
      6. 4.4.6 Version Info
  6. 5Embedded Programming Procedure
    1. 5.1 Overview
    2. 5.2 High-Level Flow Diagram
    3. 5.3 Image Programming in Detail
      1. 5.3.1 Step 1: Target Connection
      2. 5.3.2 Step 2: Target Detection
      3. 5.3.3 Step 3: MUX UART to the Network Processor
      4. 5.3.4 Step 4: Get SRAM Storage Info
      5. 5.3.5 Step 9: Raw Storage Erase – SFLASH
      6. 5.3.6 Step 10: Raw Storage Write – SFLASH
      7. 5.3.7 Step 11: FS Programming
      8. 5.3.8 Step 12: Device Reset

Step 1: Target Connection

Before commands can be sent to the device, it must go into bootloader mode. The procedure for connecting to the target in bootloader phase follows:

  1. Flush the UART RX line (CC3100 or CC3200 UART TX line).
  2. Send a break signal (sending continuous spacing values, no start or stop bits) on the CC3100 or CC3200 UART RX line. The CC3100 or CC3200 device must sense this break signal during power up.
  3. Power on the device (or reset it if it is already up and running).
  4. The CC3100 or CC3200 device sends an acknowledgment indication. The acknowledgment indication is described in Ack.
  5. On receiving the acknowledgment indication from the CC3100 or CC3200 device, the main processor stops sending the break signal and flushes the UART lines.
    Note: At this point, the CC3100 or CC3200 device is ready to receive any command. The main processor has 5 seconds to send any command. Failing to do so before the time-out expires results in the CC3100 or CC3200 device initializing normally (aborting bootloader mode).
  6. The main processor sends the Get Storage List command.
  7. The CC3100 or CC3200 device responds with an Ack followed by a 1-byte storage list bitmap.

Figure 5-2 shows the Get Storage List command.

GUID-5B2F074B-5460-4896-AA6B-1C0C06DDA09D-low.png Figure 5-2 Get Storage List