TI中文支持网
TI专业的中文技术问题搜集分享网站

CC1312: Cortex_M4_0: Error: (Error -1170 @ 0x0) Unable to access the DAP. Cortex_M4_0: Trouble Halting Target CPU

您好,参考CC1312LaunchPad官方的开发板原理图设计最小系统板,焊接完成后使用CC1312 LaunchPad板载调试器下载程序,下载过程中出现错误提示:

Cortex_M4_0: 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 8.4.0.00006)Cortex_M4_0: 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 8.4.0.00006)

Viki Shi:

怀疑时硬件问题,这个报错的解释如下:

This error is caused by the inability of the JTAG debugger to access the DAP or one of its ARM subcores. This is usually caused by either a hardware failure on the board or invalid code on the subcore that causes it to reset itself continuously.

If this error is originated in software, it can potentially be recovered by accessing the DAP directly and trying to either reset the offending core, lock it or erase its flash memory via a GEL script (some microcontrollers have pre-loaded routines to allow that).

Notes:
Some users reported this error also happens in conjunction with the Invalid device ID error above.
For certain devices such as CC13xx and CC26xx, the GEL script is directly available on the menu Scripts → <device name> → MassErase.
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).

user6283465:

回复 Viki Shi:

如果软件问题,具体应该怎么解决呢?刚刚开始学习。,希望可以给出一些指导

Viki Shi:

回复 user6283465:

If this error is originated in software, it can potentially be recovered by accessing the DAP directly and trying to either reset the offending core, lock it or erase its flash memory via a GEL script (some microcontrollers have pre-loaded routines to allow that).

你可以查一下flash是否被锁住,用flash programmer做一下擦除mass erase

user6283465:

回复 Viki Shi:

您好,用flash programmer做一下擦除mass erase仍然不行

user6283465:

回复 Viki Shi:

方便看一下我的设计可能是哪儿存在问题吗?刚刚入手此款产品,希望可以提出一些建议

赞(0)
未经允许不得转载:TI中文支持网 » CC1312: Cortex_M4_0: Error: (Error -1170 @ 0x0) Unable to access the DAP. Cortex_M4_0: Trouble Halting Target CPU
分享到: 更多 (0)