Renesas RH850: The debugger cannot connect to the CPU

17-Sep-2024

When troubleshooting the initial debug connection to the target CPU, it is recommended to use the CPU Reset debug command instead of the Download debug command.


Possible solutions

Properly connected BlueBox and Debug Adapter

Check if BlueBox is properly connected to the target debug connector through the use of a proper BlueBox debug adapter.


Correct pinout

Double-check that the pinout of the target debug connector matches with the one from the debug adapter.


Vref selection

Refer to Setting debug interface voltage levels (Vref).  


Active Watchdog

If the debugger cannot connect to the CPU or just loses control over the CPU after some time, check if there is any active watchdog (CPU internal or external on the embedded target). Try to connect to the CPU and run the application by  disabling all watchdogs first:


Locked device

If you cannot establish a debug connection to a safety CPU such as P1x family, it might be that part of the application is executed right after reset and it triggers a safety exception, which locks the debug interface.

See the Code Execution on Session Startup chapter for more details on how to resolve the issue.


More resources in winIDEA Help 

Was this answer helpful?