Tool/software: Code Composer Studio
By using XDS110 debug Probe, in the last my test with RM46L852 and PMIC (TPS65381), following the example of the spna176a (NO_RTOS) that it uses interrupts in order to manage the Q&A watchdog mode of the PMIC, at the moment that I set a breakpoint inside a routine, in order to check some variables in the code, I Iost comunication with the core and trying to restart the debug session it was not possible to reconnect the debug probe to the RM46.
This is the console content:
CortexR4: Trouble Reading Register PC: (Error -242 @ 0x0) A router subpath could not be accessed. The board configuration file is probably incorrect. (Emulation package 8.0.803.0)
CortexR4: GEL Output: Memory Map Setup for Flash @ Address 0x0CortexR4: 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.0.803.0)
CortexR4: Failed CPU Reset
CortexR4: 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.0.803.0)
CortexR4: Unable to determine target status after 20 attempts
CortexR4: 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 tryed to lunch the target configuration from "Target Configuration" tab and in this way I'am able to connect to the DAP but if I select the R4 core in the tree and I try to make a "sytem reset" I obtain this communication from the console:
Dap: Error: (Error -242 @ 0x0) A router subpath could not be accessed. The board configuration file is probably incorrect. (Emulation package 8.0.803.0)
Furthermore if I tryed to force a connection to the CortexR4 core, I receive this error:
CortexR4: Error connecting to the target: (Error -6305) PRSC module failed to write to a router register. (Emulation package 8.0.803.0)
In this condition it's impossible to erase the flash, the last loaded firmware runs at power-up but it's impossible to start a debug session with the RM46...
Do you have any suggest ion order to solve this issue?
Thank you in advance,
Claudio