I am unable to load code onto an RM57L843BZWTT processor on our custom PCB. I am using an XDS100v2 debug probe. When I attempt to start a debug session in CCS, I receive the following errors:
CortexR5: Can’t Run Target CPU: (Error -2063 @ 0x0) Unable to reset device. Power-cycle the board. If error persists, confirm configuration and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 8.1.0.00007)
CortexR5: 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.1.0.00007)
CortexR5: 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.1.0.00007)
I have both the RM57Lx development kit and the RM57Lx launchpad and am able to load code onto those without any issue. I am also able to load code onto the RM57Lx development kit board using our XDS100v2 debug probe plugged into the EXTJTAG port.
In the following thread it mentions that normally this kind of error is due to code loaded on the processor that basically bricks it, but I have never been able to program the processor on our PCB:
https://e2e.ti.com/support/microcontrollers/hercules/f/312/p/465986/1675676#1675676
I have tried lowering TCLK, but that did not work.
We have used a logic analyzer to compare all JTAG lines on the development kit board to those on our custom board and they look the same. The oscillator, power & reset lines all look good as well.
The “Test Connection” test (under the RM57L8xx.ccxml tab) passes.
I’m not sure where to go from here. Any advice would be much appreciated.
Thank you for your help.
Susie