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.

TIDC-BLE-TO-WIFI-IOT-GATEWAY: Cannot format SFLASH and program the board

Part Number: TIDC-BLE-TO-WIFI-IOT-GATEWAY
Other Parts Discussed in Thread: CC3200, CC3100

Hi

I'm trying to get TIDC-BLE-TO-WIFI-IOT-GATEWAY up and running... but i'm encountering so many issues.

I've scoured the internet looking for answers but there doesn't seem to be any solution to this problem.
I've made sure the COM port is correct and I'm using serial(UART) Interface for communication.

Below is a summary of what I have tested on 10 different PCB:

1.) Formatting the SFLASH keeps failing.
2.) Service pack programming fails.
3.) Binary download fails.
4.) Get version seems to return the correct version.
5.) List file system shows 0 blocks on the serial flash capacity.

Keep in mind that I did not change any components in the BOM. I followed the reference design to the teeth.
I have exhausted all options, please help.

SFLASH Formatting

Result: Failed.


[11:41:56] Begin GetVersion operation.
[11:41:57] INFO: > Executing Operation: Connect
[11:41:59] INFO: setting break signal
[11:42:00] INFO: detecting FTDI for device reset
[11:42:00] ERROR: No device USB ports were found
[11:42:00] INFO: --- please restart the device ---
[11:42:15] ERROR: ---reading ACK signal failed---
[11:42:15] WARNING: ---seting break signal to false failed---
[11:42:17] INFO: setting break signal
[11:42:18] INFO: detecting FTDI for device reset
[11:42:18] ERROR: No device USB ports were found
[11:42:18] INFO: --- please restart the device ---
[11:42:19] INFO: connection succeeded
[11:42:19] INFO: getting storage list
[11:42:19] INFO: > Executing Operation: GetVersion
[11:42:19] INFO: reading version info
[11:42:19] INFO: > Bootloader version: 2.1.4.0
[11:42:19] INFO: > Chipset version: 16
[11:42:19] INFO: > Executing Operation: Disconnect
[11:42:19] Operation GetVersion returned.
[11:43:00] Begin Format operation.
[11:43:00] INFO: > Executing Operation: Connect
[11:43:02] INFO: setting break signal
[11:43:02] INFO: connection succeeded
[11:43:02] INFO: getting storage list
[11:43:02] INFO: > Executing Operation: Init
[11:43:02] INFO: reading version info
[11:43:02] INFO: DEVICE CC3200 ES1.33
[11:43:02] INFO: reading version info
[11:43:54] INFO: reading version info
[11:43:56] INFO: > Executing Operation: Format
[11:43:56] INFO: Erase storage SFLASH
[11:43:56] INFO: erase storage failed
[11:43:56] INFO: erase storage completed
[11:43:56] INFO: > Executing Operation: Disconnect
[11:43:56] Operation Format returned.

Service Pack Download Attempt.

Result: Failed.


[12:51:31] INFO: --- please restart the device ---
[12:51:33] INFO: connection succeeded
[12:51:33] INFO: getting storage list
[12:51:33] INFO: > Executing Operation: ServicePackProgramming
[12:51:33] INFO: Path to the service pack file: C:/ti/CC3100_CC3200_ServicePack_1.0.1.11-2.10.0.0/servicepack_1.0.1.11-2.10.0.0.bin
[12:51:33] INFO: reading version info
[12:51:33] INFO: CC3200R Device detected.
[12:51:33] INFO: NWP/MAC/PHY Version from Service Pack:
[12:51:33] INFO: NWP Patch version: 2.10.0.0
[12:51:33] INFO: MAC Patch version: 1.5.0.2
[12:51:33] INFO: PHY Patch version: 1.0.3.37
[12:51:33] INFO: reading version info
[12:51:33] INFO: DEVICE CC3200 ES1.33
[12:51:33] INFO: reading version info
[12:51:41] INFO: reading version info
[12:51:42] INFO: Downloading file "/sys/servicepack.ucf" with size 33700
[12:51:42] ERROR: Open operation failed
[12:51:42] INFO: > Executing Operation: Disconnect
[12:51:42] Operation ServicePackProgramming returned.

Binary Download

Result: Failed.


[13:02:53] INFO: --- please restart the device ---
[13:02:55] INFO: connection succeeded
[13:02:55] INFO: getting storage list
[13:02:55] INFO: > Executing Operation: Init
[13:02:55] INFO: reading version info
[13:02:55] INFO: DEVICE CC3200 ES1.33
[13:02:55] INFO: reading version info
[13:02:58] INFO: reading version info
[13:02:59] INFO: > Executing Operation: Program
[13:02:59] INFO: > File name: /sys/mcuimg.bin, Update: false, Erase: false
[13:02:59] INFO: > File name: /cert/ca.pem, Update: false, Erase: false
[13:02:59] INFO: > File name: /cert/client.pem, Update: false, Erase: false
[13:02:59] INFO: > File name: /cert/private.key, Update: false, Erase: false
[13:02:59] INFO: > File name: /sys/macadd.bin, Update: false, Erase: true
[13:02:59] INFO: > Erase File: /sys/macadd.bin
[13:02:59] INFO: erasing file "/sys/macadd.bin"
[13:02:59] INFO: deleting file "/sys/macadd.bin"
[13:02:59] INFO: erase file completed
[13:02:59] INFO: > File name: /sys/mode.cfg, Update: false, Erase: false
[13:02:59] INFO: > File name: /sys/ipcfg.ini, Update: false, Erase: false
[13:02:59] INFO: > File name: /sys/ap.cfg, Update: false, Erase: false
[13:02:59] INFO: > File name: /sys/devname.cfg, Update: false, Erase: false
[13:02:59] INFO: > File name: /sys/mdns.cfg, Update: false, Erase: false
[13:02:59] INFO: > File name: /sys/dhcpsrv.cfg, Update: false, Erase: false
[13:02:59] INFO: > File name: /sys/httpsrv.cfg, Update: false, Erase: false
[13:02:59] INFO: > File name: /sys/pref.net, Update: false, Erase: false
[13:02:59] INFO: > File name: /sys/smartconfigkeys.cfg, Update: false, Erase: false
[13:02:59] INFO: > File name: /sys/stacfg.ini, Update: false, Erase: false
[13:02:59] INFO: > File name: /sys/p2p.cfg, Update: false, Erase: false
[13:02:59] INFO: > File name: /sys/pmcfg.ini, Update: false, Erase: false
[13:02:59] INFO: > Executing Operation: Disconnect
[13:02:59] Operation Program returned.

Get Version

Result: Completed.

 

[13:07:31] INFO: --- please restart the device ---
[13:07:31] INFO: connection succeeded
[13:07:31] INFO: getting storage list
[13:07:31] INFO: > Executing Operation: GetVersion
[13:07:31] INFO: reading version info
[13:07:31] INFO: > Bootloader version: 2.1.4.0
[13:07:31] INFO: > Chipset version: 16
[13:07:31] INFO: > Executing Operation: Disconnect
[13:07:31] Operation GetVersion returned.

List File System

Result: serial flash capacity returns 0 blocks..

[13:14:42] INFO: --- please restart the device ---
[13:14:42] INFO: connection succeeded
[13:14:42] INFO: getting storage list
[13:14:42] INFO: > Executing Operation: Init
[13:14:42] INFO: reading version info
[13:14:42] INFO: DEVICE CC3200 ES1.33
[13:14:42] INFO: reading version info
[13:14:44] INFO: reading version info
[13:14:46] INFO: > Executing Operation: ListFileSystem
[13:14:46] INFO: extracting file system information...
[13:14:48] INFO: Serial Flash block size: 4096 bytes
[13:14:48] INFO: Serial Flash capacity: 0 blocks

[13:14:48] INFO: file system is not formatted
[13:14:48] INFO: > Executing Operation: Disconnect
[13:14:48] Operation ListFileSystem returned.

 

 

  • Hi Vic,

    It seems that you have a problem with the "erase" (and maybe with the "write") procedures but not with the "read".
    I'm not aware of anything that will lock the "write" operation.
    Does the reference platform works?
    what are the exact changes that you made on your board? do you use different flash?

    Br,
    Kobi
  • Kobi,

    I've solved this issue after going through the schematic and taking a closer look at the board.
    It was actually a hardware problem.
    I can read and write with no issue now.

    Thank you for your help!