CC3100 用uniflash烧service pack的错误
[18:31:46] Begin ServicePackProgramming operation.
[18:31:46] INFO: > Executing Operation: Connect
[18:31:48] INFO: setting break signal
[18:31:48] INFO: connection succeeded
[18:31:48] INFO: getting storage list
[18:31:48] INFO: > Executing Operation: ServicePackProgramming
[18:31:48] INFO: Path to the service pack file: D:/ti/CC3100_CC3200_ServicePack_1.0.1.6-2.6.0.5/servicepack_1.0.1.6-2.6.0.5.bin
[18:31:48] INFO: reading version info
[18:31:48] INFO: CC3100R Device detected.
[18:31:48] INFO: NWP/MAC/PHY Version from Service Pack:
[18:31:48] INFO: NWP Patch version: 2.6.0.5
[18:31:48] INFO: MAC Patch version: 1.4.0.1
[18:31:48] INFO: PHY Patch version: 1.0.3.34
[18:31:48] INFO: reading version info
[18:31:48] INFO: DEVICE CC3100 ES1.33
[18:31:48] INFO: reading version info
[18:31:50] INFO: Downloading file "/sys/servicepack.ucf" with size 25820
[18:31:50] ERROR: Open operation failed
[18:31:50] INFO: > Executing Operation: Disconnect
[18:31:50] Operation ServicePackProgramming returned.
上面倒数第3行的ERROR是什么意思,什么原因导致的?
就是提示打开你指向的servicepack文件打开失败,确认下,下面这个目录下是否有servicepack_1.0.1.6-2.6.0.5.bin这个文件
D:/ti/CC3100_CC3200_ServicePack_1.0.1.6-2.6.0.5/servicepack_1.0.1.6-2.6.0.5.bin
在这个路径下是存在的。D:\ti\CC3100_CC3200_ServicePack_1.0.1.6-2.6.0.5
样机
提示不是说Downloading file "/sys/servicepack.ucf" with size 25820 这个文件在哪?
截一下uniflash的屏看看。
你做了什么操作?
1.先Format
2.点击“service pack programming”
format的话会出现失败,
[11:42:18] Begin Format operation.
[11:42:19] INFO: > Executing Operation: Connect
[11:42:21] INFO: setting break signal
[11:42:21] INFO: connection succeeded
[11:42:21] INFO: getting storage list
[11:42:21] INFO: > Executing Operation: Init
[11:42:21] INFO: reading version info
[11:42:21] INFO: DEVICE CC3100 ES1.33
[11:42:21] INFO: reading version info
[11:42:23] INFO: > Executing Operation: Format
[11:42:23] INFO: Erase storage SFLASH
[11:42:24] INFO: erase storage failed
[11:42:24] INFO: erase storage completed
[11:42:24] INFO: > Executing Operation: Disconnect
[11:42:24] Operation Format returned.
我没有使用DEMO上的FLASH芯片,使用了SST25VF080B-50-4I-S2AF 的8M 50MHz的。
推荐使用CC3200-Datasheet上推荐的SPI Flash型号,可能是有些SPI Flash的型号命令不同,导致了无法格式化问题
[16:39:24] Begin Format operation.
[16:39:25] INFO: > Executing Operation: Connect
[16:39:27] INFO: setting break signal
[16:39:28] INFO: detecting FTDI for device reset
[16:39:28] ERROR: No device USB ports were found
[16:39:28] INFO: --- please restart the device ---
[16:39:28] INFO: connection succeeded
[16:39:28] INFO: getting storage list
[16:39:28] INFO: > Executing Operation: Init
[16:39:28] INFO: reading version info
[16:39:28] INFO: DEVICE CC3100 ES1.33
[16:39:28] INFO: reading version info
[16:39:30] INFO: > Executing Operation: Format
[16:39:30] INFO: Erase storage SFLASH
[16:39:31] INFO: erase storage succeeded
[16:39:31] INFO: erase storage completed
[16:39:31] INFO: > Executing Operation: Disconnect
[16:39:31] Operation Format returned.
[16:39:36] Begin ServicePackProgramming operation.
[16:39:37] INFO: > Executing Operation: Connect
[16:39:39] INFO: setting break signal
[16:39:40] INFO: detecting FTDI for device reset
[16:39:40] ERROR: No device USB ports were found
[16:39:40] INFO: --- please restart the device ---
[16:39:43] INFO: connection succeeded
[16:39:43] INFO: getting storage list
[16:39:43] INFO: > Executing Operation: ServicePackProgramming
[16:39:43] INFO: Path to the service pack file: D:/ti/CC3100_CC3200_ServicePack_1.0.1.6-2.6.0.5/servicepack_1.0.1.6-2.6.0.5.bin
[16:39:43] INFO: reading version info
[16:39:43] INFO: CC3100R Device detected.
[16:39:43] INFO: NWP/MAC/PHY Version from Service Pack:
[16:39:43] INFO: NWP Patch version: 2.6.0.5
[16:39:43] INFO: MAC Patch version: 1.4.0.1
[16:39:43] INFO: PHY Patch version: 1.0.3.34
[16:39:43] INFO: reading version info
[16:39:43] INFO: DEVICE CC3100 ES1.33
[16:39:43] INFO: reading version info
[16:39:45] INFO: Downloading file "/sys/servicepack.ucf" with size 25820
[16:39:47] INFO:
New Token is 0x24ABEEC1
[16:39:47] INFO: Download complete
[16:39:47] INFO: > Executing Operation: Disconnect
[16:39:47] Operation ServicePackProgramming returned.
[17:31:02] Begin Format operation.
[17:31:02] INFO: > Executing Operation: Connect
[17:31:04] INFO: setting break signal
[17:31:05] INFO: connection succeeded
[17:31:05] INFO: getting storage list
[17:31:05] INFO: > Executing Operation: Init
[17:31:05] INFO: reading version info
[17:31:05] INFO: DEVICE CC3100 ES1.33
[17:31:05] INFO: reading version info
[17:31:07] INFO: > Executing Operation: Format
[17:31:07] INFO: Erase storage SFLASH
[17:31:08] INFO: erase storage succeeded
[17:31:08] INFO: erase storage completed
[17:31:08] INFO: > Executing Operation: Disconnect
[17:31:08] Operation Format returned.
[17:31:17] Begin ServicePackProgramming operation.
[17:31:17] INFO: > Executing Operation: Connect
[17:31:19] INFO: setting break signal
[17:31:20] INFO: detecting FTDI for device reset
[17:31:20] ERROR: No device USB ports were found
[17:31:20] INFO: --- please restart the device ---
[17:31:21] INFO: connection succeeded
[17:31:21] INFO: getting storage list
[17:31:21] INFO: > Executing Operation: ServicePackProgramming
[17:31:21] INFO: Path to the service pack file: D:/ti/CC3100_CC3200_ServicePack_1.0.1.6-2.6.0.5/servicepack_1.0.1.6-2.6.0.5.bin
[17:31:21] INFO: reading version info
[17:31:21] INFO: CC3100R Device detected.
[17:31:21] INFO: NWP/MAC/PHY Version from Service Pack:
[17:31:21] INFO: NWP Patch version: 2.6.0.5
[17:31:21] INFO: MAC Patch version: 1.4.0.1
[17:31:21] INFO: PHY Patch version: 1.0.3.34
[17:31:21] INFO: reading version info
[17:31:21] INFO: DEVICE CC3100 ES1.33
[17:31:21] INFO: reading version info
[17:31:23] INFO: Downloading file "/sys/servicepack.ucf" with size 25820
[17:31:26] INFO:
New Token is 0xE366105A
[17:31:26] INFO: Download complete
[17:31:26] INFO: > Executing Operation: Disconnect
[17:31:26] Operation ServicePackProgramming returned.
使用了推荐的FLASH,service pack也烧进去了,怎么程序跑到
retVal = _SlDrvSyncObjWaitTimeout(&g_pCB->ObjPool[ObjIdx].SyncObj,
INIT_COMPLETE_TIMEOUT,
SL_DRIVER_API_DEVICE_SL_START);就出不来了?
HOST_INT一直有中断。