Launch the Debug Script

About this task

With the Efinity software v2022.2 and higher, debugging scripts are available for each software example in the /embedded_sw/<module>/software/ directory and are imported into your project when you create a new project or importing existing project into the workspace. You can use these scripts to launch the debug mode.

Table 1. Debug Configurations
Launch Script Description
axiDemo_trion.launch Debugging software on Trion® development boards.
axiDemo_ti.launch Debugging software on Titanium development boards.
axiDemo_softTap.launch Debugging software on Trion or Titanium development boards with the soft JTAG TAP interface. For example, you would need to use the soft TAP if you want to use the OpenOCD debugger and the Efinity® Debugger at the same time. (See Using a Soft JTAG Core for Example Designs.)
axiDemo_trion_mc.launch Debugging software on Trion® development boards with multiple cores.
axiDemo_ti_mc.launch Debugging software on Titanium development boards with multiple cores.
axiDemo_softTap_mc.launch Debugging software on Trion or Titanium development boards with the soft JTAG TAP interface with multiple cores. For example, you would need to use the soft TAP if you want to use the OpenOCD debugger and the Efinity® Debugger at the same time. (See Using a Soft JTAG Core for Example Designs.)
Note:
  • The *_mc.launch scripts for SMP debug are generated by the Efinity RISC-V Embedded Software IDE v2023.1 or later, with the number of cores configured is more than 1 core.
  • You may receive TAP ID warnings in the Eclipse console when trying to debug a device with softTap enabled that is not the Trion T120F324 device. These warnings do not affect the debugging process. To remove these warnings, see Unexpected CPUTAPID/JTAG Device ID.

To debug the axiDemo project:

Procedure

  1. Right-click axiDemo > axiDemo_<family>.launch.
  2. Choose Debug As > axiDemo > axiDemo_<family>. Efinity RISC-V Embedded Software IDE launches the OpenOCD debugger for the project.
  3. Click Debug.
  4. Confirm Perspective Switch window would prompt out. Click Switch to switch from C/C++ perspective to Debug perspective to start the debug process.