Appendix: Import the Debug Configuration
About this task
With the Efinity software v2022.1 and higher, you do not need to import the debug configuration. These instructions are for reference if you are using an earlier software version with legacy Eclipse IDE.
To simplify the debugging steps, the Sapphire SoC includes debug configurations that you import. There are several configuration files, depending on which board you use.
| Debug Configuration | Use for |
|---|---|
| default | Debugging software on Trion® development boards. |
| default_ti | Debugging software on Titanium development boards. |
| default_softTap | 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.) |
To import a debug configuration and use it to launch a debug session:
Procedure
- Launch Eclipse by running the run_eclipse.bat file (Windows) or run_eclipse.sh (Linux).
- Select a workspace (if you have not set one as a default).
- Open the axiDemo project or select it under C/C++ Projects.
- Right-click the axiDemo project name and choose Import.
- In the Import dialog box, choose .
- Click Next. The Import Launch Configurations dialog box opens.
-
Browse to the following directory and click OK:
Option Description Windows embedded_sw\<SoC module>\config Linux embedded_sw/<SoC module>/config_linux - Check the box next to config (Windows) or config_linux (Linux).
- Click Finish.
- Right-click the axiDemo project name and choose .
-
Enter
axiDemoin the Project box. -
Enter
build\axiDemo.elfin the C/C++ Application box. -
Windows only: you need to change the path to the
cpu0.yaml file:
- Click Debug.
Results
Note: If Eclipse prompts you to switch to the Debug Perspective,
click Switch.