CC3101下载程序后没有运行
请问TI的工程师,我的板子用uniflash3.2下载一个简单的程序,重新上电后没任何打印,LED也不闪烁,请问是程序没有烧写成功还是其他可能的原因?
使用IAR 7.4 + jlink V8 仿真时,串口正常打印,LED正常闪烁;
板子型号:CC3101LP 2.0A
芯片型号: CC3101EZ
SDK: CC3200SDK_1.1.0, CC31xx_CC32xx_ServicePack_1.0.0.10.0
uniflash : Version: 3.2.0.00123
LOG:
[17:42:52] Begin Format operation.
[17:42:53] INFO: > Executing Operation: Connect
[17:42:53] DEBUG: waiting and clearing uart rx buffer
[17:42:55] INFO: setting break signal
[17:42:55] INFO: --- please restart the device ---
[17:42:55] DEBUG: wait for ack
[17:42:56] INFO: connection succeeded
[17:42:56] INFO: getting storage list
[17:42:56] DEBUG: wait for ack
[17:42:56] INFO: > Executing Operation: Init
[17:42:56] INFO: reading version info
[17:42:56] DEBUG: wait for ack
[17:42:56] INFO: DEVICE CC3200 ES1.21
[17:42:56] INFO: reading version info
[17:42:56] DEBUG: wait for ack
[17:42:56] DEBUG: Bootloader version is 2, 0, 2, 2
[17:42:56] DEBUG: It's a CC3200 device
[17:42:56] DEBUG: Bootloader with old API, using legacy upgrade
[17:42:56] DEBUG: Downloading file APP_CODE with size 534
[17:42:56] DEBUG: sending start download command
[17:42:56] DEBUG: wait for ack
[17:42:56] DEBUG: send chunk legacy
[17:42:56] DEBUG: wait for ack
[17:42:56] INFO: download complete
[17:42:56] DEBUG: status request
[17:42:56] DEBUG: wait for ack
[17:42:56] DEBUG: Update result: 0
[17:42:57] DEBUG: disconnecting from device . . .
[17:42:57] DEBUG: wait for ack
[17:42:58] DEBUG: waiting and clearing uart rx buffer
[17:43:00] INFO: setting break signal
[17:43:00] DEBUG: wait for ack
[17:43:00] INFO: connection succeeded
[17:43:00] INFO: getting storage list
[17:43:00] DEBUG: wait for ack
[17:43:00] DEBUG: Switch to NWP bootloader complete
[17:43:00] INFO: reading version info
[17:43:00] DEBUG: wait for ack
[17:43:00] DEBUG: Bootloader version is 2, 0, 2, 3
[17:43:00] DEBUG: Bootloader with old API, using legacy upgrade
[17:43:00] DEBUG: Downloading file TEST_IMG with size 49048
[17:43:00] DEBUG: sending start download command
[17:43:00] DEBUG: wait for ack
[17:43:00] DEBUG: send chunk legacy
[17:43:00] DEBUG: wait for ack
[17:43:00] DEBUG: send chunk legacy
[17:43:00] DEBUG: wait for ack
[17:43:00] DEBUG: send chunk legacy
[17:43:00] DEBUG: wait for ack
[17:43:00] DEBUG: send chunk legacy
[17:43:00] DEBUG: wait for ack
[17:43:00] DEBUG: send chunk legacy
[17:43:00] DEBUG: wait for ack
[17:43:00] DEBUG: send chunk legacy
[17:43:00] DEBUG: wait for ack
[17:43:00] DEBUG: send chunk legacy
[17:43:00] DEBUG: wait for ack
[17:43:00] DEBUG: send chunk legacy
[17:43:00] DEBUG: wait for ack
[17:43:00] DEBUG: send chunk legacy
[17:43:01] DEBUG: wait for ack
[17:43:01] DEBUG: send chunk legacy
[17:43:01] DEBUG: wait for ack
[17:43:01] DEBUG: send chunk legacy
[17:43:01] DEBUG: wait for ack
[17:43:01] DEBUG: send chunk legacy
[17:43:01] DEBUG: wait for ack
[17:43:01] INFO: download complete
[17:43:01] DEBUG: status request
[17:43:01] DEBUG: wait for ack
[17:43:01] DEBUG: Update result: 0
[17:43:01] DEBUG: wait for ack
[17:43:01] INFO: > Executing Operation: Format
[17:43:01] INFO: Erase storage SFLASH
[17:43:01] DEBUG: wait for ack
[17:43:02] DEBUG: status request
[17:43:02] DEBUG: wait for ack
[17:43:02] INFO: erase storage succeeded
[17:43:02] INFO: erase storage completed
[17:43:02] INFO: > Executing Operation: Disconnect
[17:43:02] DEBUG: disconnecting from device . . .
[17:43:02] DEBUG: wait for ack
[17:43:02] Operation Format returned.
[17:43:24] Begin Program operation.
[17:43:25] INFO: Checked for update config groups: []
[17:43:25] INFO: List of files to be generated: []
[17:43:25] INFO: > Executing Operation: Connect
[17:43:25] DEBUG: waiting and clearing uart rx buffer
[17:43:27] INFO: setting break signal
[17:43:27] DEBUG: wait for ack
[17:43:29] INFO: connection succeeded
[17:43:29] INFO: getting storage list
[17:43:29] DEBUG: wait for ack
[17:43:29] INFO: > Executing Operation: Init
[17:43:29] INFO: reading version info
[17:43:29] DEBUG: wait for ack
[17:43:29] INFO: DEVICE CC3200 ES1.21
[17:43:29] INFO: reading version info
[17:43:29] DEBUG: wait for ack
[17:43:29] DEBUG: Bootloader version is 2, 0, 2, 2
[17:43:29] DEBUG: It's a CC3200 device
[17:43:29] DEBUG: Bootloader with old API, using legacy upgrade
[17:43:29] DEBUG: Downloading file APP_CODE with size 534
[17:43:29] DEBUG: sending start download command
[17:43:29] DEBUG: wait for ack
[17:43:29] DEBUG: send chunk legacy
[17:43:29] DEBUG: wait for ack
[17:43:29] INFO: download complete
[17:43:29] DEBUG: status request
[17:43:29] DEBUG: wait for ack
[17:43:29] DEBUG: Update result: 0
[17:43:30] DEBUG: disconnecting from device . . .
[17:43:30] DEBUG: wait for ack
[17:43:31] DEBUG: waiting and clearing uart rx buffer
[17:43:33] INFO: setting break signal
[17:43:33] DEBUG: wait for ack
[17:43:33] INFO: connection succeeded
[17:43:33] INFO: getting storage list
[17:43:33] DEBUG: wait for ack
[17:43:33] DEBUG: Switch to NWP bootloader complete
[17:43:33] INFO: reading version info
[17:43:33] DEBUG: wait for ack
[17:43:33] DEBUG: Bootloader version is 2, 0, 2, 3
[17:43:33] DEBUG: Bootloader with old API, using legacy upgrade
[17:43:33] DEBUG: Downloading file TEST_IMG with size 49048
[17:43:33] DEBUG: sending start download command
[17:43:33] DEBUG: wait for ack
[17:43:33] DEBUG: send chunk legacy
[17:43:33] DEBUG: wait for ack
[17:43:33] DEBUG: send chunk legacy
[17:43:33] DEBUG: wait for ack
[17:43:33] DEBUG: send chunk legacy
[17:43:33] DEBUG: wait for ack
[17:43:33] DEBUG: send chunk legacy
[17:43:33] DEBUG: wait for ack
[17:43:33] DEBUG: send chunk legacy
[17:43:33] DEBUG: wait for ack
[17:43:33] DEBUG: send chunk legacy
[17:43:33] DEBUG: wait for ack
[17:43:33] DEBUG: send chunk legacy
[17:43:33] DEBUG: wait for ack
[17:43:33] DEBUG: send chunk legacy
[17:43:34] DEBUG: wait for ack
[17:43:34] DEBUG: send chunk legacy
[17:43:34] DEBUG: wait for ack
[17:43:34] DEBUG: send chunk legacy
[17:43:34] DEBUG: wait for ack
[17:43:34] DEBUG: send chunk legacy
[17:43:34] DEBUG: wait for ack
[17:43:34] DEBUG: send chunk legacy
[17:43:34] DEBUG: wait for ack
[17:43:34] INFO: download complete
[17:43:34] DEBUG: status request
[17:43:34] DEBUG: wait for ack
[17:43:34] DEBUG: Update result: 0
[17:43:34] DEBUG: wait for ack
[17:43:34] INFO: > Executing Operation: Program
[17:43:34] INFO: > File name: /sys/mcuimg.bin, Update: true, Erase: true
[17:43:34] INFO: > Erase File: /sys/mcuimg.bin
[17:43:34] INFO: erasing file "/sys/mcuimg.bin"
[17:43:34] INFO: deleting file "/sys/mcuimg.bin"
[17:43:34] DEBUG: wait for ack
[17:43:34] DEBUG: status request
[17:43:34] DEBUG: wait for ack
[17:43:34] DEBUG: Error -11 : File not exists
[17:43:34] INFO: erase file completed
[17:43:34] INFO: > Size of file = 39008
[17:43:34] INFO: > Update File: /sys/mcuimg.bin
[17:43:34] INFO: Downloading file "/sys/mcuimg.bin" with size 39008
[17:43:34] DEBUG: sending start download command
[17:43:34] DEBUG: Granularity conversion: G(256) * N(153) = 39168
[17:43:34] DEBUG: Access code is 3
[17:43:34] DEBUG: wait for ack/nack
[17:43:36] DEBUG: receive ack
[17:43:36] DEBUG: send chunk
[17:43:36] DEBUG: wait for ack
[17:43:36] DEBUG: status request
[17:43:36] DEBUG: wait for ack
[17:43:36] DEBUG: send chunk
[17:43:36] DEBUG: wait for ack
[17:43:36] DEBUG: status request
[17:43:36] DEBUG: wait for ack
[17:43:36] DEBUG: send chunk
[17:43:36] DEBUG: wait for ack
[17:43:36] DEBUG: status request
[17:43:36] DEBUG: wait for ack
[17:43:36] DEBUG: send chunk
[17:43:36] DEBUG: wait for ack
[17:43:36] DEBUG: status request
[17:43:36] DEBUG: wait for ack
[17:43:36] DEBUG: send chunk
[17:43:36] DEBUG: wait for ack
[17:43:36] DEBUG: status request
[17:43:36] DEBUG: wait for ack
[17:43:36] DEBUG: send chunk
[17:43:36] DEBUG: wait for ack
[17:43:36] DEBUG: status request
[17:43:36] DEBUG: wait for ack
[17:43:36] DEBUG: send chunk
[17:43:37] DEBUG: wait for ack
[17:43:37] DEBUG: status request
[17:43:37] DEBUG: wait for ack
[17:43:37] DEBUG: send chunk
[17:43:37] DEBUG: wait for ack
[17:43:37] DEBUG: status request
[17:43:37] DEBUG: wait for ack
[17:43:37] DEBUG: send chunk
[17:43:37] DEBUG: wait for ack
[17:43:37] DEBUG: status request
[17:43:37] DEBUG: wait for ack
[17:43:37] DEBUG: send chunk
[17:43:37] DEBUG: wait for ack
[17:43:37] DEBUG: status request
[17:43:37] DEBUG: wait for ack
[17:43:37] DEBUG: wait for ack/nack
[17:43:37] DEBUG: receive ack
[17:43:37] INFO:
New Token is 0x0
[17:43:37] INFO: Download complete
[17:43:37] INFO: Verifying Data...
[17:43:37] INFO: get file
[17:43:37] DEBUG: enter get file info
[17:43:37] DEBUG: wait for ack
[17:43:37] DEBUG: status request
[17:43:37] DEBUG: wait for ack
[17:43:37] DEBUG: sending start download command
[17:43:37] DEBUG: Granularity conversion: G(256) * N(153) = 39168
[17:43:37] DEBUG: Access code is 0
[17:43:37] DEBUG: wait for ack/nack
[17:43:37] DEBUG: receive ack
[17:43:37] DEBUG: get chunk
[17:43:37] DEBUG: wait for ack
[17:43:37] DEBUG: Receiving chunk of 4096 bytes
[17:43:37] DEBUG: status request
[17:43:37] DEBUG: wait for ack
[17:43:37] DEBUG: get chunk
[17:43:37] DEBUG: wait for ack
[17:43:37] DEBUG: Receiving chunk of 4096 bytes
[17:43:37] DEBUG: status request
[17:43:37] DEBUG: wait for ack
[17:43:37] DEBUG: get chunk
[17:43:37] DEBUG: wait for ack
[17:43:37] DEBUG: Receiving chunk of 4096 bytes
[17:43:37] DEBUG: status request
[17:43:37] DEBUG: wait for ack
[17:43:37] DEBUG: get chunk
[17:43:37] DEBUG: wait for ack
[17:43:37] DEBUG: Receiving chunk of 4096 bytes
[17:43:37] DEBUG: status request
[17:43:37] DEBUG: wait for ack
[17:43:37] DEBUG: get chunk
[17:43:37] DEBUG: wait for ack
[17:43:37] DEBUG: Receiving chunk of 4096 bytes
[17:43:37] DEBUG: status request
[17:43:37] DEBUG: wait for ack
[17:43:37] DEBUG: get chunk
[17:43:37] DEBUG: wait for ack
[17:43:37] DEBUG: Receiving chunk of 4096 bytes
[17:43:37] DEBUG: status request
[17:43:37] DEBUG: wait for ack
[17:43:37] DEBUG: get chunk
[17:43:37] DEBUG: wait for ack
[17:43:37] DEBUG: Receiving chunk of 4096 bytes
[17:43:37] DEBUG: status request
[17:43:37] DEBUG: wait for ack
[17:43:37] DEBUG: get chunk
[17:43:37] DEBUG: wait for ack
[17:43:37] DEBUG: Receiving chunk of 4096 bytes
[17:43:37] DEBUG: status request
[17:43:37] DEBUG: wait for ack
[17:43:37] DEBUG: get chunk
[17:43:37] DEBUG: wait for ack
[17:43:37] DEBUG: Receiving chunk of 4096 bytes
[17:43:37] DEBUG: status request
[17:43:37] DEBUG: wait for ack
[17:43:37] DEBUG: get chunk
[17:43:37] DEBUG: wait for ack
[17:43:37] DEBUG: Receiving chunk of 2144 bytes
[17:43:37] DEBUG: status request
[17:43:37] DEBUG: wait for ack
[17:43:37] DEBUG: wait for ack/nack
[17:43:37] DEBUG: receive ack
[17:43:37] INFO: Done. Reading 39008 bytes
[17:43:37] INFO:
Verification OK
[17:43:38] INFO: > Updated Token value: 0x0
[17:43:38] INFO: > File name: /cert/ca.pem, Update: false, Erase: false
[17:43:38] INFO: > File name: /cert/client.pem, Update: false, Erase: false
[17:43:38] INFO: > File name: /cert/private.key, Update: false, Erase: false
[17:43:38] INFO: > File name: /sys/macadd.bin, Update: false, Erase: false
[17:43:38] INFO: > File name: /sys/mode.cfg, Update: false, Erase: false
[17:43:38] INFO: > File name: /sys/ipcfg.ini, Update: false, Erase: false
[17:43:38] INFO: > File name: /sys/ap.cfg, Update: false, Erase: false
[17:43:38] INFO: > File name: /sys/devname.cfg, Update: false, Erase: false
[17:43:38] INFO: > File name: /sys/mdns.cfg, Update: false, Erase: false
[17:43:38] INFO: > File name: /sys/dhcpsrv.cfg, Update: false, Erase: false
[17:43:38] INFO: > File name: /sys/httpsrv.cfg, Update: false, Erase: false
[17:43:38] INFO: > File name: /sys/pref.net, Update: false, Erase: false
[17:43:38] INFO: > File name: /sys/smartconfigkeys.cfg, Update: false, Erase: false
[17:43:38] INFO: > File name: /sys/stacfg.ini, Update: false, Erase: false
[17:43:38] INFO: > File name: /sys/p2p.cfg, Update: false, Erase: false
[17:43:38] INFO: > File name: /sys/pmcfg.ini, Update: false, Erase: false
[17:43:38] INFO: > Executing Operation: Disconnect
[17:43:38] DEBUG: disconnecting from device . . .
[17:43:38] DEBUG: wait for ack
[17:43:38] Operation Program returned.
问题描述很清楚。 :-)
就是芯片版本好老了。
可否更新到新的芯片版本?