Skip to main content

IAR Embedded Workbench for RISC-V 3.40

Resolving problems

In this section:

Debugging using the C-SPY hardware debugger systems requires interaction between many systems, independent from each other. For this reason, setting up this debug system can be a complex task. If something goes wrong, it might be difficult to locate the cause of the problem.

This section includes suggestions for resolving the most common problems that can occur when debugging with the C-SPY hardware debugger systems.

For problems concerning the operation of the evaluation board, refer to the documentation supplied with it, or contact your hardware distributor.

No contact with the target hardware

There are several possible reasons for C-SPY to fail to establish contact with the target hardware. Do this:

  • Check the communication devices on your host computer

  • Verify that the cable is properly plugged in and not damaged or of the wrong type

  • Make sure that the evaluation board is supplied with sufficient power

  • Check that the correct options for communication have been specified in the IAR Embedded Workbench IDE.

Examine the linker configuration file to make sure that the application has not been linked to the wrong address.