CC3200 通过CCS UniFlash 烧录程序失败
CC3200 通过CCS UniFlash 烧录程序失败,附上烧录信息。请帮忙查看下原因。
[15:27:00] Begin Format operation.
[15:27:01] INFO: > Executing Operation: Connect
[15:27:03] INFO: setting break signal
[15:27:03] INFO: --- please restart the device ---
[15:27:03] INFO: connection succeeded
[15:27:03] INFO: getting storage list
[15:27:03] INFO: > Executing Operation: Init
[15:27:03] INFO: reading version info
[15:27:03] INFO: DEVICE CC3200 ES1.33
[15:27:03] INFO: reading version info
[15:27:04] INFO: reading version info
[15:27:06] INFO: > Executing Operation: Format
[15:27:06] INFO: Erase storage SFLASH
[15:27:06] INFO: erase storage failed
[15:27:06] INFO: erase storage completed
[15:27:06] INFO: > Executing Operation: Disconnect
[15:27:06] Operation Format returned.
[15:28:04] Begin Program operation.
[15:28:05] INFO: Checked for update config groups: []
[15:28:05] INFO: List of files to be generated: []
[15:28:05] INFO: > Executing Operation: Connect
[15:28:07] INFO: setting break signal
[15:28:07] INFO: --- please restart the device ---
[15:28:07] INFO: connection succeeded
[15:28:07] INFO: getting storage list
[15:28:07] INFO: > Executing Operation: Init
[15:28:07] INFO: reading version info
[15:28:07] INFO: DEVICE CC3200 ES1.33
[15:28:07] INFO: reading version info
[15:28:08] INFO: reading version info
[15:28:10] INFO: > Executing Operation: Program
[15:28:10] INFO: > File name: /sys/mcuimg.bin, Update: true, Erase: true
[15:28:10] INFO: > Erase File: /sys/mcuimg.bin
[15:28:10] INFO: erasing file "/sys/mcuimg.bin"
[15:28:10] INFO: deleting file "/sys/mcuimg.bin"
[15:28:10] INFO: erase file completed
[15:28:10] INFO: > Size of file = 13400
[15:28:10] INFO: > Update File: /sys/mcuimg.bin
[15:28:10] INFO: Downloading file "/sys/mcuimg.bin" with size 13400
[15:28:10] ERROR: Open operation failed
[15:28:10] INFO: > Executing Operation: Disconnect
[15:28:10] Operation Program returned.
问一下,你用的是TI的参考版还是自己做的板子呢?
谢谢
我们也遇到同样的错误,我们用的是自己做的板子,请问这个错误可能是什么导致的?
一下是Uniflash的详细的错误信息:
[09:38:26] Begin GetVersion operation.
[09:38:27] INFO: > Executing Operation: Connect
[09:38:29] INFO: setting break signal
[09:38:29] INFO: --- please restart the device ---
[09:38:29] INFO: connection succeeded
[09:38:29] INFO: getting storage list
[09:38:29] INFO: > Executing Operation: GetVersion
[09:38:29] INFO: reading version info
[09:38:29] INFO: > Bootloader version: 2.1.4.0
[09:38:29] INFO: > Chipset version: 16
[09:38:29] INFO: > Executing Operation: Disconnect
[09:38:29] Operation GetVersion returned.
[09:39:06] Begin Format operation.
[09:39:07] INFO: > Executing Operation: Connect
[09:39:09] INFO: setting break signal
[09:39:09] INFO: --- please restart the device ---
[09:39:09] INFO: connection succeeded
[09:39:09] INFO: getting storage list
[09:39:09] INFO: > Executing Operation: Init
[09:39:09] INFO: reading version info
[09:39:09] INFO: DEVICE CC3200 ES1.33
[09:39:09] INFO: reading version info
[09:39:10] INFO: reading version info
[09:39:12] INFO: > Executing Operation: Format
[09:39:12] INFO: Erase storage SFLASH
[09:39:12] INFO: erase storage failed
[09:39:12] INFO: erase storage completed
[09:39:12] INFO: > Executing Operation: Disconnect
[09:39:12] Operation Format returned.
[09:39:21] Begin Program operation.
[09:39:22] INFO: Checked for update config groups: []
[09:39:22] INFO: List of files to be generated: []
[09:39:22] INFO: > Executing Operation: Connect
[09:39:24] INFO: setting break signal
[09:39:24] INFO: --- please restart the device ---
[09:39:30] INFO: connection succeeded
[09:39:30] INFO: getting storage list
[09:39:30] INFO: > Executing Operation: Init
[09:39:30] INFO: reading version info
[09:39:30] INFO: DEVICE CC3200 ES1.33
[09:39:30] INFO: reading version info
[09:39:31] INFO: reading version info
[09:39:33] INFO: > Executing Operation: Program
[09:39:33] INFO: > File name: /sys/mcuimg.bin, Update: true, Erase: true
[09:39:33] INFO: > Erase File: /sys/mcuimg.bin
[09:39:33] INFO: erasing file "/sys/mcuimg.bin"
[09:39:33] INFO: deleting file "/sys/mcuimg.bin"
[09:39:33] INFO: erase file completed
[09:39:33] INFO: > Size of file = 62304
[09:39:33] INFO: > Update File: /sys/mcuimg.bin
[09:39:33] INFO: Downloading file "/sys/mcuimg.bin" with size 62304
[09:39:33] ERROR: Open operation failed
[09:39:33] INFO: > Executing Operation: Disconnect
[09:39:33] Operation Program returned.
[09:39:55] Begin Format operation.
[09:39:56] INFO: > Executing Operation: Connect
[09:39:58] INFO: setting break signal
[09:39:58] INFO: --- please restart the device ---
[09:40:01] INFO: connection succeeded
[09:40:01] INFO: getting storage list
[09:40:01] INFO: > Executing Operation: Init
[09:40:01] INFO: reading version info
[09:40:01] INFO: DEVICE CC3200 ES1.33
[09:40:01] INFO: reading version info
[09:40:02] INFO: reading version info
[09:40:04] INFO: > Executing Operation: Format
[09:40:04] INFO: Erase storage SFLASH
[09:40:04] INFO: erase storage failed
[09:40:04] INFO: erase storage completed
[09:40:04] INFO: > Executing Operation: Disconnect
[09:40:04] Operation Format returned.
[09:41:05] Begin GetVersion operation.
[09:41:06] INFO: > Executing Operation: Connect
[09:41:08] INFO: setting break signal
[09:41:08] INFO: --- please restart the device ---
[09:41:23] ERROR: ---reading ACK signal failed---
[09:41:23] WARNING: ---seting break signal to false failed---
[09:41:25] INFO: setting break signal
[09:41:25] INFO: --- please restart the device ---
[09:41:40] ERROR: ---reading ACK signal failed---
[09:41:40] WARNING: ---seting break signal to false failed---
[09:41:42] INFO: setting break signal
[09:41:42] INFO: --- please restart the device ---
[09:41:57] ERROR: ---reading ACK signal failed---
[09:41:57] WARNING: ---seting break signal to false failed---
[09:41:59] INFO: setting break signal
[09:41:59] INFO: --- please restart the device ---
[09:41:59] INFO: connection succeeded
[09:41:59] INFO: getting storage list
[09:42:00] INFO: > Executing Operation: GetVersion
[09:42:00] INFO: reading version info
[09:42:00] INFO: > Bootloader version: 2.1.4.0
[09:42:00] INFO: > Chipset version: 16
[09:42:00] INFO: > Executing Operation: Disconnect
[09:42:00] Operation GetVersion returned.
[09:42:05] Begin Format operation.
[09:42:06] INFO: > Executing Operation: Connect
[09:42:08] INFO: setting break signal
[09:42:08] INFO: --- please restart the device ---
[09:42:08] INFO: connection succeeded
[09:42:08] INFO: getting storage list
[09:42:09] INFO: > Executing Operation: Init
[09:42:09] INFO: reading version info
[09:42:09] INFO: DEVICE CC3200 ES1.33
[09:42:09] INFO: reading version info
[09:42:10] INFO: reading version info
[09:42:11] INFO: > Executing Operation: Format
[09:42:11] INFO: Erase storage SFLASH
[09:42:11] INFO: erase storage failed
[09:42:11] INFO: erase storage completed
[09:42:11] INFO: > Executing Operation: Disconnect
[09:42:11] Operation Format returned.
[09:42:23] Begin Program operation.
[09:42:24] INFO: Checked for update config groups: []
[09:42:24] INFO: List of files to be generated: []
[09:42:24] INFO: > Executing Operation: Connect
[09:42:26] INFO: setting break signal
[09:42:26] INFO: --- please restart the device ---
[09:42:39] ERROR: ---reading ACK signal failed---
[09:42:39] WARNING: ---seting break signal to false failed---
[09:42:41] INFO: setting break signal
[09:42:41] INFO: --- please restart the device ---
[09:42:56] ERROR: ---reading ACK signal failed---
[09:42:56] WARNING: ---seting break signal to false failed---
[09:42:58] INFO: setting break signal
[09:42:58] INFO: --- please restart the device ---
[09:43:13] ERROR: ---reading ACK signal failed---
[09:43:13] WARNING: ---seting break signal to false failed---
[09:43:15] INFO: setting break signal
[09:43:15] INFO: --- please restart the device ---
[09:43:30] ERROR: ---reading ACK signal failed---
[09:43:30] WARNING: ---seting break signal to false failed---
[09:43:30] FATAL: --- Can't connect to device !! ---
[09:43:34] FATAL: Error connecting to the device. Please check your COM port settings. Error code: -3
[09:43:34] INFO: > Executing Operation: Disconnect
[09:43:34] Operation Program returned.
[09:45:01] Begin GetVersion operation.
[09:45:02] INFO: > Executing Operation: Connect
[09:45:04] INFO: setting break signal
[09:45:04] INFO: --- please restart the device ---
[09:45:04] INFO: connection succeeded
[09:45:04] INFO: getting storage list
[09:45:04] INFO: > Executing Operation: GetVersion
[09:45:04] INFO: reading version info
[09:45:04] INFO: > Bootloader version: 2.1.4.0
[09:45:04] INFO: > Chipset version: 16
[09:45:04] INFO: > Executing Operation: Disconnect
[09:45:04] Operation GetVersion returned.
[09:45:09] Begin Format operation.
[09:45:10] INFO: > Executing Operation: Connect
[09:45:12] INFO: setting break signal
[09:45:12] INFO: --- please restart the device ---
[09:45:12] INFO: connection succeeded
[09:45:12] INFO: getting storage list
[09:45:12] INFO: > Executing Operation: Init
[09:45:12] INFO: reading version info
[09:45:12] INFO: DEVICE CC3200 ES1.33
[09:45:12] INFO: reading version info
[09:45:13] INFO: reading version info
[09:45:15] INFO: > Executing Operation: Format
[09:45:15] INFO: Erase storage SFLASH
[09:45:15] INFO: erase storage failed
[09:45:15] INFO: erase storage completed
[09:45:15] INFO: > Executing Operation: Disconnect
[09:45:15] Operation Format returned.
[09:52:26] Begin Format operation.
[09:52:27] INFO: > Executing Operation: Connect
[09:52:27] DEBUG: waiting and clearing uart rx buffer
[09:52:28] Cancelling current process <Format>, please wait...
[09:52:29] INFO: setting break signal
[09:52:29] INFO: --- please restart the device ---
[09:52:29] INFO: Cancel button pressed
[09:52:29] DEBUG: disconnecting from device . . .
[09:52:29] WARNING: ---seting break signal to false failed---
[09:52:29] FATAL: --- Can't connect to device !! ---
[09:52:30] FATAL: Error connecting to the device. Please check your COM port settings. Error code: -2
[09:52:30] INFO: > Executing Operation: Disconnect
[09:52:30] DEBUG: disconnecting from device . . .
[09:52:31] Operation Canceled: Process<Format> canceled.
[09:52:34] Begin Format operation.
[09:52:35] INFO: > Executing Operation: Connect
[09:52:35] DEBUG: waiting and clearing uart rx buffer
[09:52:37] INFO: setting break signal
[09:52:37] INFO: --- please restart the device ---
[09:52:37] DEBUG: wait for ack
[09:52:52] DEBUG: UART timeout
[09:52:52] DEBUG: --- COM Port timeout on ACK read
[09:52:52] ERROR: ---reading ACK signal failed---
[09:52:52] DEBUG: disconnecting from device . . .
[09:52:52] WARNING: ---seting break signal to false failed---
[09:52:52] DEBUG: --- Connection failed trying to reconnect... (1 attempt)
[09:52:52] DEBUG: waiting and clearing uart rx buffer
[09:52:54] INFO: setting break signal
[09:52:54] INFO: --- please restart the device ---
[09:52:54] DEBUG: wait for ack
[09:53:09] DEBUG: UART timeout
[09:53:09] DEBUG: --- COM Port timeout on ACK read
[09:53:09] ERROR: ---reading ACK signal failed---
[09:53:09] DEBUG: disconnecting from device . . .
[09:53:09] WARNING: ---seting break signal to false failed---
[09:53:09] DEBUG: --- Connection failed trying to reconnect... (2 attempt)
[09:53:09] DEBUG: waiting and clearing uart rx buffer
[09:53:11] INFO: setting break signal
[09:53:11] INFO: --- please restart the device ---
[09:53:11] DEBUG: wait for ack
[09:53:15] INFO: connection succeeded
[09:53:15] INFO: getting storage list
[09:53:15] DEBUG: wait for ack
[09:53:15] INFO: > Executing Operation: Init
[09:53:15] INFO: reading version info
[09:53:15] DEBUG: wait for ack
[09:53:15] INFO: DEVICE CC3200 ES1.33
[09:53:15] INFO: reading version info
[09:53:15] DEBUG: wait for ack
[09:53:15] DEBUG: Bootloader version is 2, 1, 4, 0
[09:53:15] DEBUG: It's a CC3200 device: PG1.33 or higher
[09:53:15] DEBUG: Switch UART pinmux to APPS
[09:53:15] DEBUG: wait for ack
[09:53:15] DEBUG: wait for ack
[09:53:16] DEBUG: Switch to NWP bootloader complete
[09:53:16] INFO: reading version info
[09:53:16] DEBUG: wait for ack
[09:53:16] DEBUG: Bootloader version is 2, 0, 4, 0
[09:53:16] DEBUG: raw storage write
[09:53:16] DEBUG: wait for ack
[09:53:16] DEBUG: status request
[09:53:16] DEBUG: wait for ack
[09:53:16] DEBUG: BlockSize is 4096, number of blocks is 16
[09:53:16] DEBUG: erasing 13 blocks starting from 0
[09:53:17] DEBUG: wait for ack
[09:53:17] DEBUG: status request
[09:53:17] DEBUG: wait for ack
[09:53:17] DEBUG: wait for ack
[09:53:17] DEBUG: status request
[09:53:17] DEBUG: wait for ack
[09:53:17] DEBUG: wait for ack
[09:53:17] DEBUG: status request
[09:53:17] DEBUG: wait for ack
[09:53:17] DEBUG: wait for ack
[09:53:17] DEBUG: status request
[09:53:17] DEBUG: wait for ack
[09:53:17] DEBUG: wait for ack
[09:53:17] DEBUG: status request
[09:53:17] DEBUG: wait for ack
[09:53:17] DEBUG: wait for ack
[09:53:17] DEBUG: status request
[09:53:17] DEBUG: wait for ack
[09:53:17] DEBUG: wait for ack
[09:53:17] DEBUG: status request
[09:53:17] DEBUG: wait for ack
[09:53:17] DEBUG: wait for ack
[09:53:17] DEBUG: status request
[09:53:17] DEBUG: wait for ack
[09:53:17] DEBUG: wait for ack
[09:53:17] DEBUG: status request
[09:53:17] DEBUG: wait for ack
[09:53:17] DEBUG: wait for ack
[09:53:17] DEBUG: status request
[09:53:17] DEBUG: wait for ack
[09:53:17] DEBUG: wait for ack
[09:53:17] DEBUG: status request
[09:53:17] DEBUG: wait for ack
[09:53:17] DEBUG: wait for ack
[09:53:17] DEBUG: status request
[09:53:17] DEBUG: wait for ack
[09:53:17] DEBUG: wait for ack
[09:53:17] DEBUG: status request
[09:53:17] DEBUG: wait for ack
[09:53:17] DEBUG: wait for ack
[09:53:17] DEBUG: status request
[09:53:17] DEBUG: wait for ack
[09:53:17] DEBUG: status request
[09:53:18] DEBUG: wait for ack
[09:53:18] DEBUG: 0
[09:53:18] DEBUG: wait for ack
[09:53:18] DEBUG: wait for ack
[09:53:18] INFO: > Executing Operation: Format
[09:53:18] INFO: Erase storage SFLASH
[09:53:18] DEBUG: wait for ack
[09:53:18] DEBUG: status request
[09:53:18] DEBUG: wait for ack
[09:53:18] DEBUG: Error -20 : Unknown command
[09:53:18] INFO: erase storage failed
[09:53:18] INFO: erase storage completed
[09:53:18] INFO: > Executing Operation: Disconnect
[09:53:18] DEBUG: disconnecting from device . . .
[09:53:18] DEBUG: wait for ack
[09:53:18] Operation Format returned.
这样的错误是什么原因导致的?
我碰到的erase storage failed错误的原因是:原理图设计中外置flash芯片没有供电,导致无法烧录。
guang yang, 非常感谢你的回复。可是我这板子上的Flash供电是正常的....
你用的 flash 是哪个型号?
Flash 芯片用的是和官方一样的。