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.

CC3230SF: Flashing Error: CC3230SF Programming Issue with CC3220SF Eval Board

Part Number: CC3230SF
Other Parts Discussed in Thread: CC3220SF, , SYSCONFIG, UNIFLASH, CC3235S, CC3235SF

Tool/software:

Hi all,

I'm working on a setup where I’m using the CC3220SF EVAL BOARD to program a PRODUCT PCB that uses a CC3230SF MCU. The plan is to connect the JTAG as well as XDS_UART_TX & XDS_UART_RX from the EVAL board to the product board, expecting to be able to flash the code to the CC3230SF.

I’ve set the SOP 1 jumper accordingly. However, during the flashing process, I encounter the following error:

INFO:root:FTDI not detected, trying XDS
INFO:slbootloader.slbootloader:Connecting to device
INFO:slbootloader.slbootloader:Power off
INFO:slbootloader.slbootloader:Set break signal
INFO:slbootloader.slbootloader:Power on
INFO:slbootloader.slbootloader:Clear break signal
INFO:slbootloader.slbootloader:Connection succeeded
INFO:slbootloader.slbootloader:Received storage list
WARNING:root:Wrong device type, ignored
INFO:slbootloader.slbootloader:Received error : error number = -10275 , extended error = 4293
Traceback (most recent call last):
File "<string>", line 5262, in <module>
File "<string>", line 5258, in main
File "<string>", line 5228, in cmdline
File "<string>", line 4641, in command_sysconfig_program_image
File "<string>", line 2885, in syscfg_program_image
File "W:\slbootloader\slbootloader.py", line 793, in fs_programming
slbootloader.slbootloader.BootLoaderError:
Error: SLImageCreator.exe: fs_programming error: ret: -10275, ex_err: 4293 - FS_PROGRAMMING_ILLEGAL_FILE
SLImageCreator returned -1
Command completed with exit value: -1

Any insights or suggestions would be greatly appreciated!

Thanks in advance.

  • Hi,

    Can you share your Uniflash setup? how many files and which files?

    It also says 'wrong device type'. What type of device did you set in Uniflash?

    Shlomi

  • I am using Code Composer Studio to flash. Initially, I imported an SDK example for the CC3220SF, but the flash operation failed. In contrast, when I reconfigured the project for the CC3235S, the program flashed successfully, and I was able to control GPIOs and UART. However, issues arise when I attempt to initialize the Wi‑Fi. According to the SWRU455M documentation, the call to:

    Status = sl_WlanSetMode(ROLE_STA);

    causes the program to hang and returns an error code of -2018.

    Interestingly, the same behavior is observed when running the connection_manager SDK example—which is targeted for the CC3235S—on the CC3230SF. While basic peripherals such as GPIOs correctly, the Wi‑Fi setup consistently fails on the CC3235SF device.

    I would appreciate any insights or suggestions on resolving this issue.

  • Hi,

    The wrong device type can mean only one thing, the example that is configured to a specific device type tries to connect to a different device.

    Since you are able to flash to a CC3235S, this is probably what you have.

    To be sure, you can download the Uniflash and start it. It should detect your connected board.

    As for -2018, it means you are not able to communicate with the NWP processor.

    Can you double check what is the silk label on your chip?

    Shlomi