Thread 中讨论的其他器件:EK-TM4C123GXL
我正在尝试调试 TM4C1231D5PMT 微控制器、但无法通过 JTAG 连接到 MCU。 CCS 尝试加载程序、但最终会创建以下错误消息:
CORTEX_M4_0: JTAG Communication 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 9.2.0.00002) CORTEX_M4_0: 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
运行 dbgjtag.exe 解锁 DAP 的工作方式、
C:\ti\uniflash_5.0.0\deskdb\content\TICloudAgent\win\ccs_base\common\uscif>dbgjtag.exe -f @xds100v2 -Y unlock,mode=tiva Executing the unlock procedure. Assert and hold reset while powering up the device. Press any key to continue. Release reset. Press any key to continue. Power cycle the board to complete the unlock procedure. C:\ti\uniflash_5.0.0\deskdb\content\TICloudAgent\win\ccs_base\common\uscif>
当我再次尝试对 MCU 进行编程时、我会收到相同的错误消息、
CORTEX_M4_0: JTAG Communication 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 9.2.0.00002) CORTEX_M4_0: 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
我要使用的 CCS 项目最初是 EK-tm4c123gxl launchpad 的 UART_echo 示例程序。 这是否会导致问题?
我已将项目附加到此线程。 e2e.ti.com/.../7506.FIRMWARE.zip
TM4C1231D5PMT 微控制器位于定制板上、
更换 MCU 未解决问题。
还随附了 TM4C1231D5PMT 原理图。 .e2e.ti.com/.../8475.MCU_5F00_Schematic.pdf
谢谢、
Allan