Tool/software: Code Composer Studio
Hi,
I'm debugging a very ugly crash on a am335x custom board that completely freeze the board.
I attached an XDS100v2 JTAG debugger to see what appened at register level to know if this problem is HW or SW.
When system crash JTAG lost control of cortexa8 and give the following errors:
CS_DAP_DebugSS: Error: (Error -242 @ 0x0) A router subpath could not be accessed. The board configuration file is probably incorrect. (Emulation package 6.0.628.3)
CortxA8: 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 6.0.628.3)
CortxA8: 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 6.0.628.3)
....
CortxA8: 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 6.0.628.3)
CortxA8: 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 6.0.628.3)
CortxA8: 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 6.0.628.3)
CortxA8: Unable to determine target status after 20 attempts
CortxA8: 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
I can't reconnect to the Probe0/CortexA8 but I can connect directly to the Probe0/CS_DAP_DebugSS and I able to watch entire memory DDR and memory mapped registers.
I'm interested to see the values of the SPSRs register but I don't understand if these registers are memory mapped.
Is possible to watch these registers using DAP?
Are there any other register that could help me to see what's happening?
Regards,
Matteo