Tool/software: Code Composer Studio
Hello,
According to the Technical Reference Manual (SPNU499C), any PORST occurrence is reflected on the SYSES register (bit 15). Well, during a debugging session and even with a SYSES different from zero, if I press the PORST button, the console returns the following message and the status of the debug is of course as disconnected :
Dap: Error: (Error -242 @ 0x0) A router subpath could not be accessed. The board configuration file is probably incorrect. (Emulation package 6.0.576.0) CortexR4: Error: (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 6.0.576.0) 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 6.0.576.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
When I reconnect (ctrl+Alt+C) the SYSES register is zero. I expected 0x8000 or more instead.
How can I verify the bit 15 of the SYSES is set actually by PORST?
Regards,
-Marco