大家好,我用CCS7.2烧写程序时出现如下错误:
红色部分的字为:
CortexR4: Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 6.0.628.3)CortexR4: Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 6.0.628.3)CortexR4: Unable to determine target status after 20 attempts
CortexR4: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging。
程序已经下载到TMS570上了,不过不能在线调试,上图调试界面的运行按键一直是灰的。程序是用HALCoGen生产的,测试以前用的其他工程程序没出现过这样的问题,请问这和工程设置有关吗?
Seven Han:
仿真器连接测试能否通过,板子重新上电,试试多插拔几次USB,
这边帖子描述问题您可以参考下:https://e2e.ti.com/support/microcontrollers/hercules/f/312/p/484380/1750355
gaoyang9992006:
http://www.deyisupport.com/question_answer/dsp_arm/sitara_arm/f/25/t/114493.aspx
http://www.deyisupport.com/question_answer/microcontrollers/hercules/f/70/t/73813.aspx
http://processors.wiki.ti.com/index.php/Debugging_JTAG_Connectivity_Problems#Cannot_access_the_DAP
参考这三个
David Bai1:
Hi Yuanqiang,
你选中下面的XDS110 USB Debug Probe后,上面调试界面的按键会有什么变化吗?
或者能否上传你的project看一下?
yuanqiang hu1:
回复 Seven Han:
谢谢您的解答,问题已经解决了。由于本人系统设计问题,在下载完程序后,TMS570的错误输出脚电平拉低,导致外围检测模块误认为TMS570发生错误,复位了TMS570.
yuanqiang hu1:
回复 gaoyang9992006:
谢谢您的解答,问题已经解决了。由于本人系统设计问题,在下载完程序后,TMS570的错误输出脚电平拉低,导致外围检测模块误认为TMS570发生错误,复位了TMS570.