亲爱的对话支持人员,
在我使用DA14580与SmartSnippets刻录的测试中,我发现当闪存与代码一起刻录时,JTAG很难连接到芯片。我必须多次尝试拔掉插头才能获得成功。下面是我的一个日志。
同时(在闪存中燃烧相同的代码),Keil可以连接到芯片并轻松下载/调试代码。有时它会提示“找不到设备”。我只需要拔下插头一次,一切都会好起来。
我认为这是SmartSnippets和J-Link之间的接口问题。
由于该问题导致SmartSnippet在代码开发过程中使用非常不方便,您能帮助解决它吗
谢谢大家,
西蒙
[INFO@15-05-08 13:29:00]已成功将固件文件下载到主板。
[INFO@15-05-08 13:29:07]SPI内存擦除已成功完成。
[INFO@15-05-08 13:29:07]读取内存以刷新内存内容。
[INFO@15-05-08 13:29:07]读取已完成。读取32768字节。
[INFO@15-05-08 13:29:17]SPI内存擦除已成功完成。
[INFO@15-05-08 13:29:17]读取内存以刷新内存内容。
[INFO@15-05-08 13:29:17]读取已完成。读取32768字节。
[INFO@15-05-08 13:29:28]开始在地址0x00000处使用26176字节的数据烧录内存。
[INFO@15-05-08 13:29:29]内存烧录成功完成。
[INFO@15-05-08 13:29:29]读取内存以刷新内存内容。
[INFO@15-05-08 13:29:30]读取已完成。读取32768字节。
[INFO@15-05-08 13:29:38]头记录已从十六进制文件prox_reporter.hex中删除。
[INFO@15-05-08 13:29:38]读取prox_reporter.hex中的25852字节。
[INFO@15-05-08 13:29:44]SPI内存擦除已成功完成。
[INFO@15-05-08 13:29:44]读取内存以刷新内存内容……
[INFO@15-05-08 13:29:44]读取已完成。读取32768字节。
[INFO@15-05-08 13:29:49]开始在地址0x00000处使用26176字节的数据刻录内存。
[INFO@15-05-08 13:29:49]内存刻录成功完成。
[INFO@15-05-08 13:29:49]读取内存以刷新内存内容。
[INFO@15-05-08 13:29:50]读取已完成。读取32768字节。
[INFO@15-05-08 15:22:55]头记录已从十六进制文件smart_tag.hex中删除。
[INFO@15-05-08 15:22:55]读取smart_tag.hex中的27968字节。
[ERROR@15-05-08 15:22:57]未能在地址50000012写入值A7。
[INFO@15-05-08 15:22:57]未能将固件文件下载到主板。
[INFO@15-05-08 15:23:19]未能将固件文件下载到主板。
[INFO@15-05-08 15:23:22]未能将固件文件下载到主板。
[INFO@15-05-08 15:23:25]未能将固件文件下载到主板。
[INFO@15-05-08 15:23:34]未能将固件文件下载到主板。
[ERROR@15-05-08 15:23:37]找不到序列号为1631096674的JTAG。
[INFO@15-05-08 15:23:37]未能将固件文件下载到主板。
[INFO@15-05-08 15:23:38]未能将固件文件下载到主板。
[INFO@15-05-08 15:23:41]未能将固件文件下载到主板。
[ERROR@15-05-08 15:23:41]无法读取内存。
[错误@15-05-08 15:23:41]打开JLink连接时未找到已知芯片。终止过程…
[信息@15-05-08 15:23:41]无法将固件文件下载到主板。
[信息@15-05-08 15:23:45]无法将固件文件下载到主板。
[信息@15-05-08 15:23:47]未能将固件文件下载到主板。
[错误@15-05-08 15:23:49]找不到序列号为1631096674的JTAG。
[信息@15-05-08 15:23:49]未能将固件文件下载到主板。
[信息@15-05-08 15:23:58]未能将固件文件下载到主板。
[错误@15-05-08 15:24:00]找不到序列号为1631096674的JTAG。
[INFO@15-05-08 15:24:00]未能将固件文件下载到主板。
[INFO@15-05-08 15:24:13]未能将固件文件下载到主板。
[INFO@15-05-08 15:24:13]未能将固件文件下载到主板。
[INFO@15-05-08 15:24:15]无法将固件文件下载到主板。
[ERROR @15-05-08 15:24:18] No JTAG with serial number 1631096674 could be found.
[INFO @15-05-08 15:24:18] Failed downloading firmware file to the board.
[INFO @15-05-08 15:24:21] Failed downloading firmware file to the board.
[INFO @15-05-08 15:24:24] Failed downloading firmware file to the board.
[ERROR @15-05-08 15:40:12] No JTAG with serial number 1631096674 could be found.
[INFO @15-05-08 15:40:12] Failed downloading firmware file to the board.
[INFO @15-05-08 15:40:16] Failed downloading firmware file to the board.
[INFO @15-05-08 15:40:17] Failed downloading firmware file to the board.
[INFO @15-05-08 15:40:18] Failed downloading firmware file to the board.
[INFO @15-05-08 15:40:18] Failed downloading firmware file to the board.
[INFO @15-05-08 15:40:19] Failed downloading firmware file to the board.
[INFO @15-05-08 15:40:34] Failed downloading firmware file to the board.
[INFO @15-05-08 15:40:37] Failed downloading firmware file to the board.
[INFO @15-05-08 15:40:40] Failed downloading firmware file to the board.
[INFO @15-05-08 15:40:49] Failed downloading firmware file to the board.
[INFO @15-05-08 15:40:56] Failed downloading firmware file to the board.
[INFO @15-05-08 15:40:58] Failed downloading firmware file to the board.
[ERROR @15-05-08 15:41:04] No JTAG with serial number 1631096674 could be found.
[INFO @15-05-08 15:41:04] Failed downloading firmware file to the board.
[INFO @15-05-08 15:41:14] Failed downloading firmware file to the board.
[INFO @15-05-08 15:41:17] Failed downloading firmware file to the board.
[INFO @15-05-08 15:41:29] Failed downloading firmware file to the board.
[INFO @15-05-08 15:41:31] Failed downloading firmware file to the board.
[INFO @15-05-08 15:41:33] Failed downloading firmware file to the board.
[INFO @15-05-08 15:41:40] Failed downloading firmware file to the board.
[ERROR @15-05-08 15:41:43] No JTAG with serial number 1631096674 could be found.
[INFO @15-05-08 15:41:43] Failed downloading firmware file to the board.
[INFO @15-05-08 15:41:46] Failed downloading firmware file to the board.
[INFO @15-05-08 15:41:48] Failed downloading firmware file to the board.
[INFO @15-05-08 15:41:50] Failed downloading firmware file to the board.
[INFO @15-05-08 15:41:59] Failed downloading firmware file to the board.
[INFO @15-05-08 15:42:02] Failed downloading firmware file to the board.
[INFO @15-05-08 15:42:08] Failed downloading firmware file to the board.
[INFO @15-05-08 15:42:09] Failed downloading firmware file to the board.
[INFO @15-05-08 15:42:14] Failed downloading firmware file to the board.
[ERROR @15-05-08 15:42:15] No JTAG with serial number 1631096674 could be found.
[INFO @15-05-08 15:42:15] Failed downloading firmware file to the board.
[INFO @15-05-08 15:42:24] Failed downloading firmware file to the board.
[INFO @15-05-08 15:42:27] Failed downloading firmware file to the board.
[ERROR @15-05-08 15:42:28] Could not read memory.
[ERROR @15-05-08 15:42:28] No known chip found while opening JLink connection. Terminating proccess...
[INFO @15-05-08 15:42:29] Failed downloading firmware file to the board.
[INFO @15-05-08 15:42:30] Failed downloading firmware file to the board.
[INFO @15-05-08 15:42:36] Failed downloading firmware file to the board.
[INFO @15-05-08 15:42:46] Failed downloading firmware file to the board.
[INFO @15-05-08 15:43:01] Failed downloading firmware file to the board.
[INFO @15-05-08 15:43:17] Failed downloading firmware file to the board.
[INFO @15-05-08 15:43:20] Failed downloading firmware file to the board.
[INFO @15-05-08 15:43:24] Failed downloading firmware file to the board.
[ERROR @15-05-08 15:43:26] No JTAG with serial number 1631096674 could be found.
[INFO @15-05-08 15:43:26] Failed downloading firmware file to the board.
[INFO @15-05-08 15:43:29] Failed downloading firmware file to the board.
[INFO @15-05-08 15:43:31] Failed downloading firmware file to the board.
[INFO @15-05-08 15:43:36] Failed downloading firmware file to the board.
[INFO @15-05-08 15:43:37] TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
[INFO @15-05-08 15:43:37] TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
[INFO @15-05-08 15:43:37] Found SWD-DP with ID 0x0BB11477
[INFO @15-05-08 15:43:37] FPUnit: 4 code (BP) slots and 0 literal slots
[INFO @15-05-08 15:43:37] Found Cortex-M0 r0p0, Little endian.
[INFO @15-05-08 15:43:37] BTLE device selected.
[INFO @15-05-08 15:43:38] Firmware File C:\Documents and Settings\Administrator\SmartSnippets\resources\jtag_programmer.bin has been selected for downloading.
[INFO @15-05-08 15:43:38] Firmware File C:\Documents and Settings\Administrator\SmartSnippets\resources\jtag_programmer.bin has been selected for downloading.
[INFO @15-05-08 15:43:38] Firmware File C:\Documents and Settings\Administrator\SmartSnippets\resources\jtag_programmer.bin has been selected for downloading.
[INFO @15-05-08 15:43:38] Successfully downloaded firmware file to the board.
[ERROR @15-05-08 15:43:38] Can not read register 20 (CFBP) while CPU is running
[ERROR @15-05-08 15:43:38] Failed writing 81C40 at Stack Pointer register.
[INFO @15-05-08 15:43:38] Failed downloading firmware file to the board.
[INFO @15-05-08 15:43:38] Failed downloading firmware file to the board.
[INFO @15-05-08 15:43:40] Firmware File C:\Documents and Settings\Administrator\SmartSnippets\resources\jtag_programmer.bin has been selected for downloading.
[INFO @15-05-08 15:43:41] Successfully downloaded firmware file to the board.
[INFO @15-05-08 15:43:56] SPI Memory erasing completed successfully.
[INFO @15-05-08 15:43:56] Reading memory to refresh memory contents....
[INFO @15-05-08 15:43:56] Reading has finished. Read 32768 bytes.
[INFO @15-05-08 15:44:03] Header records have been removed from hex file smart_tag.hex.
[INFO @15-05-08 15:44:03] Read 27968 bytes from file smart_tag.hex.
[INFO @15-05-08 15:44:33] Started burning memory with 28288 bytes of data at address 0x00000.
[ERROR @15-05-08 15:44:33] Failed clearing memory address 81FE8.
[ERROR @15-05-08 15:44:33] Memory burning failed.
[ERROR @15-05-08 15:44:37] Failed clearing memory address 81FE8.
[ERROR @15-05-08 15:44:37] SPI Memory erasing failed.
[ERROR @15-05-08 15:45:04] Failed writing value A7 at address 50000012.
[INFO @15-05-08 15:45:04] Failed downloading firmware file to the board.
[ERROR @15-05-08 15:45:07] Failed writing value A7 at address 50000012.
[INFO @15-05-08 15:45:07] Failed downloading firmware file to the board.
[ERROR @15-05-08 15:45:10] Failed writing value A7 at address 50000012.
[INFO @15-05-08 15:45:10] Failed downloading firmware file to the board.
[INFO @15-05-08 15:45:19] Firmware File C:\Documents and Settings\Administrator\SmartSnippets\resources\jtag_programmer.bin has been selected for downloading.
[INFO @15-05-08 15:45:19] Successfully downloaded firmware file to the board.
[INFO @15-05-08 15:45:26] SPI Memory erasing completed successfully.
[INFO @15-05-08 15:45:26] Reading memory to refresh memory contents....
[INFO @15-05-08 15:45:26] Reading has finished. Read 32768 bytes.
[INFO @15-05-08 15:45:33] Header records have been removed from hex file prox_reporter.hex.
[INFO @15-05-08 15:45:33] Read 25804 bytes from file prox_reporter.hex.
[INFO @15-05-08 15:45:51] Header records have been removed from hex file smart_tag.hex.
[INFO @15-05-08 15:45:51] Read 27968 bytes from file smart_tag.hex.
[INFO @15-05-08 15:45:54] Started burning memory with 28288 bytes of data at address 0x00000.
[ERROR @15-05-08 15:45:54] Failed clearing memory address 81FE8.
[ERROR @15-05-08 15:45:54] Memory burning failed.
[ERROR @15-05-08 15:46:03] Failed clearing memory address 81FE8.
[ERROR @15-05-08 15:46:03] SPI Memory erasing failed.
[ERROR @15-05-08 15:46:13] Failed writing value A7 at address 50000012.
[INFO @15-05-08 15:46:13] Failed downloading firmware file to the board.
[ERROR @15-05-08 15:46:15] Failed writing value A7 at address 50000012.
[INFO @15-05-08 15:46:15] Failed downloading firmware file to the board.
[ERROR @15-05-08 15:46:17] Failed writing value A7 at address 50000012.
[INFO @15-05-08 15:46:17] Failed downloading firmware file to the board.
[INFO @15-05-08 15:46:26] Firmware File C:\Documents and Settings\Administrator\SmartSnippets\resources\jtag_programmer.bin has been selected for downloading.
[INFO @15-05-08 15:46:26] Successfully downloaded firmware file to the board.
[INFO @15-05-08 15:46:33] SPI Memory erasing completed successfully.
[INFO @15-05-08 15:46:33] Reading memory to refresh memory contents....
[INFO @15-05-08 15:46:33] Reading has finished. Read 32768 bytes.
[INFO @15-05-08 15:46:42] Started burning memory with 28288 bytes of data at address 0x00000.
[INFO @15-05-08 15:46:43] Memory burning completed successfully.
[INFO @15-05-08 15:46:43] Reading memory to refresh memory contents....
[INFO @15-05-08 15:46:44] Reading has finished. Read 32768 bytes.