Thread 中讨论的其他器件:EK-TM4C1294XL
最近、我在 其他 MCU 论坛上发布了此主题 -但活动现已完成、我需要尽快解决问题。
双菊花链 TM4C1294 MCU 的问题:
第二个内核(CPU 1)在调试期间无法设置任何断点、并显示错误消息:
CORTEX_M4_0: GEL Output: Memory Map Initialization Complete CORTEX_M4_1: GEL Output: Memory Map Initialization Complete CORTEX_M4_1: Trouble Setting Breakpoint with the Action "Terminate Program Execution" at 0x244: (Error -1066 @ 0x244) Unable to set/clear requested breakpoint. Verify that the breakpoint address is in valid memory. (Emulation package 9.3.0.00042) CORTEX_M4_1: Trouble Setting Breakpoint with the Action "Finish Auto Run" at 0x248: (Error -1066 @ 0x248) Unable to set/clear requested breakpoint. Verify that the breakpoint address is in valid memory. (Emulation package 9.3.0.00042) CORTEX_M4_1: Trouble Removing Breakpoint with the Action "Finish Auto Run" at 0x248: (Error -2044 @ 0x248) Internal error: Requested breakpoint does not exist. Restart the application. If error persists, please report the error. (Emulation package 9.3.0.00042)
任何其他操作正常:代码已加载并正确运行、我可以暂停代码并查看两个内核中的寄存器和变量以及程序用户寄存器。 但是、任何基于断点的功能(即单步执行、CIO 等)在第二个内核上都不起作用。
目标配置简单而直接:

如果加载了任何代码,即 simpe main(),且只有"return 0;"行,则存在问题。
此问题在 CCS v6中重现到 CCS v10.3、XDS100v2、XDS100v3和 XDS200调试探针。
搜索准确的错误消息我在 e2e 论坛中找到了2个非常相似的主题: 主题1 和 主题2、很遗憾、没有建议任何解决方案。
可使用安装了 R40跳线的双 TM4C1294XL LaunchPad 来设置测试用例。 将 XDS 的 GND、TMS、TCK、RESET 和 Vtarget 连接到两个板、将 XDS 的 TDI 连接到第一个板的 TDI、将第一个板的 TDO 连接到第二个板的 TDI、将 TDO 连接到 XDS 的 TDO。
请帮助! 谢谢!