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/CC3220SF-LAUNCHXL: Is J-Link support not available for CC3220SF12ARGKT?

Part Number: CC3220SF-LAUNCHXL
Other Parts Discussed in Thread: CC3200, CC3220SF, UNIFLASH, CC3220S

Tool/software: Code Composer Studio

Hi, this is David. I noticed the CC3220SF12ARGKT MCU is on sale. This is much better than the CC3200 MCU which didn't have an internal flash memory.

In the "SEGGER's Supported devices - J-Link" page, I do see CC3200 but no CC3220SF. Can I flash the CC3220SF with XDS100-v3 only, not with J-Link?

I have both XDS100-v3 and J-Link Plus, but I prefer the J-Link and I want to check this.

P.S.) Does TI have plans to support more IDEs for CC32xx series such as Keil MDK-ARM 5 or SEGGER Embedded Studio 3 in the future?

  • Hi,

    Please note that in order to program the device (not debug), you need to use Uniflash first.

    The device needs to be connected to a serial flash where the application code is storred (and loaded to the internal flash for execution). This is the way it works.

    For debugging, the SDK includes mainly CCS and IAR, no other IDEs are currently planned.

    I have not tested JLink since the LaunchPad EVM has its own XDS110 which emulates JTAG but you can check out the following post regarding the older CC3200 with Jlink. It might shed some light on what you are looking https://e2e.ti.com/support/wireless_connectivity/simplelink_wifi_cc31xx_cc32xx/f/968/p/411343/1466391?tisearch=e2e-quicksearch&keymatch=jlink#1466391

    Regards,

    Shlomi

  • Hello, Shlomi. Before closing this, I wish to check one thing.

    Shlomi Itzhak said:
    The device needs to be connected to a serial flash where the application code is storred (and loaded to the internal flash for execution).

    You mean, the J-Link is only used for debugging, not for flashing the application code in the internal flash memory, right?

    I thought the wrong way; I guessed that the internal flash memory would get rid of the "Uniflash" hassle. When creating custom PCBs with the CC3200, I had to use the FTDI module for flashing the application. I thought this would be over when I use the CC3220SF. Anyways, thanks for your reply.

  • Hello David,

    No, it is still required altough there is an internal flash to run the application code.

    This is mainly for the secured device feature where upon each initialization, the bootloader checks the internal flash vs. the version on the serial flash. If both images are different (as a result of OTA, direct flashing via debugger, other reasons), then the image on the internal flash is replaced by the one on the serial flash.

    Regards,

    Shlomi

  • Thanks, Shlomi. I should have read the datasheet with cautious.

    Shlomi Itzhak said:
    This is mainly for the secured device feature where upon each initialization

    Looks like you are mentioning the below explanation from the datasheet.

    BOM: U8 CMOS FLASH MEMORY MX25R3235FM1IL0

    Wi-Fi Network Processor (NWP) Subsystem, Table 5-1 describes the NWP features.
    The CC3220S and CC3220SF variants also support Secure Boot: Validate the integrity and authenticity of the run-time binary during boot

    The Cortex-M4 application processor runs the user application loaded from an external serial flash,

    or internal flash (in CC3220SF). The networking subsystem runs preprogrammed TCP/IP and Wi-Fi data link layer functions.

    The CC3220SF device comes with an on-chip flash memory of 1MB that allows application code to execute in place while freeing SRAM exclusively for read-write data.

    The flash memory is used for code and constant data sections and is directly attached to the ICODE/DCODE bus of the Cortex-M4 core.

    The CC3220SF device includes application-dedicated 1MB of XIP (Execute in place) flash and 256KB of RAM for code and data,

    ROM with external serial flash bootloader, and peripheral drivers.

    The CC3220S and CC3220SF device options have additional security features, such as encrypted and authenticated file systems,

    user IP encryption and authentication, secured boot (authentication and integrity validation of the application image at flash and boot time), and more.

    Memory Map, Table 5-5
    0x0000 0000 ~ 0x0007 FFFF: On-chip ROM (bootloader + DriverLib)
    0x0100 0000 ~ 0x010F FFFF: On-chip flash (for user application code, CC3220FS device only)

    External Memory Requirements - The CC3220x device maintains a proprietary file system on the sFLASH.

    The CC3220x file system stores the MCU binary, service pack file, system files, configuration files, certificate files, web page files, and user files.

    Thanks for your reply. Silly me, I thought the serial memory will be gone due to the internal flash.

    P.S) I hope to see the day when I hear TI's new Wi-Fi MCU that doesn't need an external flash by adding a large internal flash or other methods.

  • David,

    I am glad that you got it figured out.

    Can you please hit the relove button to close the thread?

    Thanks