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.

CCS/CCSTUDIO: Burn using CCStudio 8 without uniflash

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

Tool/software: Code Composer Studio

I have a CCS3220SF-LAUNCHXL. How can I burn using CCStudio 8 without Uniflash when I switch SOP jumper to the middle set of pins (position = 1) ?

  • So my understanding from research so far: CC3220SF LaunchPad comes with 4MB external serial flash, so CCStudio can write to the internal 1MB flash of CC3220SF, whilst Uniflash writes to the external 4MB flash.

    If so, am I right to say, if my code is more than 1MB, I need to use Uniflash to write to external flash, and uses CCStudio to connect via JTAG over USB for debugging?

    Thanks in advance!
  • Hi Richard,

    In general, the intention is that you use Uniflash to write to the external flash when you want to keep code in non-volatile memory, no matter the size of your code. This is so that when you reset or power cycle the device the bootloader will be able to copy your code from the external flash into the internal flash and then start executing from the internal flash.

    Since all of the code stored on external flash will be copied into internal flash at boot, your code cannot exceed 1MB in size. The extra storage of the external flash is for user files, for the network processor's service pack, and other non-code related uses.

    Since the bootloader of the CC3220 will overwrite whatever is in internal flash with the contents of the mcu image in the external flash at boot, even though CCS will indeed write to the internal flash of the device it will not be persistent. There is a hack to make the internal image persistent. Essentially, if you have no valid mcu image on your external flash there is a way that the device can be instructed to start executing from the internal flash. This post goes into details:
    e2e.ti.com/.../2160853

    Other than that, your understanding is correct. You use the CCS debugger to connect to the CC3220 using JTAG, and Uniflash to write to external flash. Let me know if you have any other questions related to programming the device.

    Regards,
    Michael