This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3220SF: Unlock CC3220SF for development on custom board

Part Number: CC3220SF
Other Parts Discussed in Thread: UNIFLASH,

Hello,

I am trying to bring-up CC3220SF (actually CC3220MODSF) on a custom board. UART0 of CC3220SF is connected directly to an Atmel D51 MCU which will be the host/master of our device.

So far I was not able to load any code to the CC3220SF. I tried to load code using J-link but it fails to connect to the MCU (I tried SOP=000 and SOP=001). This is I think because my chip is in production mode by default.

I did not find enough lot of details on how to enable develop vs production besides the option in UNIFLASH (5.1.0.2397)

Using UNFLASH as explain in the bring-up guide for CC3220SF launchpad is not possible for me because my board is simply not recognized.

I tried selecting CC3220SF / CC3220SF_SWD / CC3220SF(BOOTLOADER) but the window is very different from 'Image Creator" you can open when selecting the CC3220SF-LAUNCHXL and I am not sure how to generate a valid images that enables developer mode.

1. Is JTAG/SWD access controlled by this devlopper/production mode or only SOP pins ?

2. Is there any way to enable developer without UNIFLASH (using a bootloader command for example) ?

3. Assuming I rework my board to connect a FTDI cable to CC3220 UART0, what would be the action to perform in UNIFLASH to unlock the board and update the service pack ?

Thanks for your help!

  • Hi,

    Answer to your questions:

    1. Yes. In production mode is JTAG deactivated. By default (without flashed image inside sFlash is device in production mode). You need to upload image in development mode into sFlash. You have this options:

    • use CC3220 LaunchPad and use UART from this LP and connect them into your module. This is described at this guide at chapter 5.3 / 5.4. With this option you will be able to use Uniflash GUI. How to use Uniflash GUI you find here.
    • use Uniflash CLI. With this option you can use own COM port (e.g. FT232). Commands for Unuflash CLI are described at this guide chapter 7.
    • use Embedded programming. With this option you can create own code and upload image via UART and bootloader. Package for Embedded programming contains Python code as well. See note below.
    • use Gang programming and upload content of sFlash (serial flash) via 3rd party SPI programmer.

    2. You can use Embedded programming stated above.

    3. I am not sure what you asking for at this point.

    Update: note - usage of Embedded programming with development mode may to be slightly complicated. In development mode you need to upload into device image which contains MAC address of device. That means you need to read MAC address fist using Embedded programming after that create using Uniflash GUI *.ucf image file and finally use this file for Embedded programming.

    Jan

  • Thank you for your answers. I was lost in all the documentations and the pointer you provided should help.

    Indeed the MAC address is a strong limitation, as I cannot generate an image and use the CLI option. So, I will attempt a rework of the board and connect to the LP I have ordered.

    I think we will do embedding programming at some point, to load working firmware from the master MCU,but only with "production" images.

  • Hi,

    Just a clarification to your comment to Uniflash CLI. Uniflash CLI can program image in development mode without inserting MAC address from user side. It can read MAC address automatically. Uniflash CLI programming command may look as:

    REM program Uniflash project my-project via COM3
    dslite.bat --mode cc32xx project program --name my-project --port COM3 --dev

    Jan

  • Good to know. Thanks for tip. I will try that.