SWRU473A February   2017  – August 2018 CC3120MOD , CC3220MOD , CC3220MODA , CC3220R , CC3220S , CC3220SF

 

  1.   SimpleLinkrep%#8482; Wi-Fi® CC3220 Out-of-Box Application
    1.     Trademarks
    2. 1 Introduction
    3. 2 Download and Installation
    4. 3 Installation for Basic Users
      1. 3.1 UniFlash
      2. 3.2 SimpleLink™ Wi-Fi® Starter Pro Mobile Application
      3. 3.3 Serial Terminal
      4. 3.4 XDS110 Driver Installation
    5. 4 Building the Setup
    6. 5 Flashing the Out-of-Box Project
    7. 6 Getting Started With the OOB Demonstration
      1. 6.1 Connecting to the CC3220
        1. 6.1.1 CC3220 Provisioning
        2. 6.1.2 CC3220 as AP
      2. 6.2 Browse Onboard Website
        1. 6.2.1 Local Network Demo
        2. 6.2.2 OTA Update
        3. 6.2.3 Advanced Settings
      3. 6.3 Using the Mobile Application
        1. 6.3.1 Connect to the CC3220
        2. 6.3.2 Local Network Demo
        3. 6.3.3 OTA Update
          1. 6.3.3.1 Local OTA When CC3220 is in AP Mode
      4. 6.4 Returning to Factory Image
    8. 7 Troubleshooting
      1. 7.1 Red LED Legend
      2. 7.2 Extra Debugging
      3. 7.3 Terminal Messages
    9. 8 Limitations and Known Issues
    10. 9 Out-of-Box for Advance Users
      1. 9.1 Installations for Advance Users
        1. 9.1.1 CC3220 Software Development Kit (SDK)
        2. 9.1.2 Service Pack
        3. 9.1.3 CCS IDE
          1. 9.1.3.1 Add CCS Support for FreeRTOSv9
          2. 9.1.3.2 Product Settings Verification
      2. 9.2 Source Files Briefly Explained
      3. 9.3 Building the OOB Project Using CCS
        1. 9.3.1 Executing in Debug Mode
        2. 9.3.2 Program a User Modified OOB Binary
  2.   Revision History

Executing in Debug Mode

To execute in debug mode, the device must first be opened in development mode.

To have all OOB content, such as the service pack, web pages, and other system and configuration files, an UniFlash project is required so they can be programmed into the device. The UniFlash projects are available under the following locations, according to the connected CC3220 flavor.

  • For CC3220S secured device:
  • <SDK install dir>\examples\rtos\CC3220S_LAUNCHXL\demos\out_of_box\uniflash\OOB_RS_tirtos.zip

    <SDK install dir>\examples\rtos\CC3220S_LAUNCHXL\demos\out_of_box\uniflash\OOB_RS_freertos.zip

  • For CC3220SF secured device:
  • <SDK install dir>\examples\rtos\CC3220SF_LAUNCHXL\demos\out_of_box\uniflash\OOB_SF_tirtos.zip

    <SDK install dir>\examples\rtos\CC3220SF_LAUNCHXL\demos\out_of_box\uniflash\OOB_SF_freertos.zip

Follow these instructions to program the image into the device:

  1. Open the UniFlash utility to create and program the OOB image.
  2. Choose CC3120/CC3220 device, and then click the Start Image Creator button (see Figure 38).
  3. Uniflash_choose_CC3120_CC3220_device.pngFigure 38. UniFlash – Choose CC3120 / CC3220 Device
  4. Click the Manage Projects button, and then click the Import project from ZIP file button. Locate the OOB project according to the connected CC3220 device. Projects already imported appear on the list of available projects (see ).
    • For CC3220S secured device:
    • <SDK install dir>\examples\rtos\CC3220S_LAUNCHXL\demos\out_of_box\uniflash\OOB_RS_tirtos.zip

      <SDK install dir>\examples\rtos\CC3220S_LAUNCHXL\demos\out_of_box\uniflash\OOB_RS_freertos.zip

    • For CC3220SF secured device:
    • <SDK install dir>\examples\rtos\CC3220SF_LAUNCHXL\demos\out_of_box\uniflash\OOB_SF_tirtos.zip

      <SDK install dir>\examples\rtos\CC3220SF_LAUNCHXL\demos\out_of_box\uniflash\OOB_SF_freertos.zip

  5. Navigate to General → Settings on the left side tree and change the image mode to Development.
  6. Ensure the CC3220 LaunchPad is connected and click the Connect button. Users can see the device information of the connected device with their device MAC address (see Figure 39). This is important because the development mode is matched to the device MAC address.
  7. Uniflash_general_settings.pngFigure 39. UniFlash General Settings
  8. Ensure the Use device MAC Address box is checked and that your device MAC address appears on the top.
  9. Browse and see all files under Files → User Files on the left-side navigation tree.
  10. It is good practice if mcuimg.bin for the CC3220S device or mcuflashimg.bin for the CC3220SF device is deleted from the project (a backup resides in the original zipped project). This step ensures that the programmed application binary is not executed and that the code downloaded through CCS is executed (see Figure 40).

  11. Save the project and click on the Generate Image icon on the right side.
  12. deleting_app_binary_SWRU473.pngFigure 40. Deleting Application Binary
  13. Finally, click on the Program Image (Create and Program) button (see Figure 41). The image is now programmed to the device.
  14. Uniflash_generate_program_image.pngFigure 41. UniFlash Generate and Program Image
  15. Upon successful programming, open CCS, make your modifications and recompile.
  16. Click the debug icon and start debugging.