大家好!我的名字叫凯文。
我有一个自定义板专门设计da14580和da14580的devkit-B。当我试着在devkit上调试da14580的闪烁代码时,它成功运行并且led会周期性闪烁。
,但是当我调试自定义板的闪烁代码时,靠近usb的devkit上的红色led没有打开,keil上的命令日志显示:
* JLink Info: Reset:通过AIRCR.SYSRESETREQ重置设备。< br / > SP = _RDWORD (0 x20000000) < br / > =美元_RDWORD (0 x20000004) < br / > * * JLink警告:CPU不能停止< br / > * * * JLink错误:不能读CPU运行时注册15 (R15) < br / > * * * JLink错误:无法读取寄存器16 CPU运行时(XPSR) < br / > * * * JLink错误:不能读寄存器0 (R0) CPU运行时< br / > * * * JLink错误:无法读取寄存器1 CPU运行时(R1) < br / > * * * JLink错误:无法读取寄存器2 CPU运行时(R2) < br / > * * * JLink错误:无法读取寄存器3 CPU运行时(R3) < br / > * * * JLink错误:不能读取寄存器4 CPU运行时(R4) < br / > * * * JLink错误:无法读取寄存器5 CPU运行时(R5) < br / > * * * JLink错误:无法读取寄存器6 CPU运行时(R6) < br / > * * * JLink错误:无法读取寄存器7 CPU运行时(R7) < br / > * * * JLink错误:不能读寄存器8 CPU运行时(R8) < br / > * * * JLink错误:无法读取寄存器9 (R9机型),CPU运行< br / > * * * JLink错误:无法读取寄存器10 CPU运行时(R10) < br / > * * * JLink错误:无法读取寄存器11 CPU运行时(R11) < br / > * * * JLink错误: Can not read register 12 (R12) while CPU is running
***JLink Error: Can not read register 13 (R13) while CPU is running
***JLink Error: Can not read register 14 (R14) while CPU is running
***JLink Error: Can not read register 15 (R15) while CPU is running
***JLink Error: Can not read register 16 (XPSR) while CPU is running
***JLink Error: Can not read register 17 (MSP) while CPU is running
***JLink Error: Can not read register 18 (PSP) while CPU is running
***JLink Error: Can not read register 20 (CFBP) while CPU is running
then i tried to find another way, using smartsnippets to flash blinky code to custom board. when i use jtag mode in smarsnippets the log shows like in the attachment page 1, and when i use uart mode, the log shows like in the attachment page 2. i am a little bit confused with "cpu not halted" mean. can you provide any solution for my problem?
is it something like assembly problem with the cyrstal?