Other Parts Discussed in Thread: EK-TM4C1294XL
Recently I posted this thread in Other MCU forum - but activity there is finished now, and I need to resolve the issue ASAP.
The problem with dual daisy chained TM4C1294 MCU:
Second core (CPU 1) is failing to set any breakpoints during debug with error messages:
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)
Anything else works: code is loaded and run correctly, I can pause it and see registers and variables and program user registers in both cores. But any functionality based on breakpoints (i.e. step over, CIO etc.) does not work on second core.
Target configuration is simple and straight:
Problem exist if any code loaded, i.e. simpe main() with only "return 0;" line.
Issue is reproduced in CCS v6 to CCS v10.3, XDS100v2, XDS100v3 and XDS200 debug probes.
Searching for exact error message I found 2 very similar topics in e2e forums: topic 1 and topic 2, unfortunately without any solution suggested.
Test case can be set up with dual TM4C1294XL launchpads with R40 jumper installed. Conect GND, TMS, TCK, RESET and Vtarget of XDS to both boards, TDI of XDS to TDI of first board, TDO of first board to TDI of second, TDO of second to TDO of XDS.
Please help! Thank you!