Ashling* RiscFree* Integrated Development Environment (IDE) for Intel® FPGAs User Guide

ID 730783
Date 7/26/2024
Public
Document Table of Contents

2.5.1. Opening the Run and Debug Configuration Dialog Boxes

You can open the run and debug configuration dialog boxes in two options:
  • Right-click an application, point to Run As, and click Run Configurations.
  • Right-click an application, point to Debug As, and click Debug Configurations.
Depending on which option you use, the dialog box title is either Run Configurations or Debug Configurations. However, both views show the same run configurations. Each run configuration appears on several tabs. The following table describes each tab.
Table 4.  Run (Debug) Configuration
Tab Description
Main
  • This tab allows you to specify the application project to run.
  • You can control the runtime parameters in the following ways:
    • Specify the name for the configuration
    • Specify the name of the project
    • Specify the path of the application
    • Select build configuration based on the location of the application
    Note: The RiscFree* IDE for Intel® FPGAs sets these parameters to reasonable defaults. Do not modify them unless you have a clear understanding of their effects.
Debugger
  • This tab allows you to control the connection between the host machine and the target hardware.
  • You can control the connection in the following ways:
    • Select the Debug Probe in the Debug Probe Configuration, if there is more than one debug probe available.
    • Click Auto-detect Scan Chain to detect JTAG scan chain information of the target device automatically.
    • Use GDB Server Setup to debug the software application remotely.
    • Use GDB Client Setup to communicate with the Ashling GDBServer via a TCP connection using GDB Remote Serial Protocol.
    • To modify GDB Server Setup and GDB Client Setup using the command line, you can refer to:
      • Running Ashling GBD Server for GDB Server Setup
      • Running GDB for GDB Client Setup
      Note: By default, the setup is generic. It can support all environments.
Startup
  • This tab allows you to configure options related to debugging your program. Example of the options are loading images or symbols and setting breakpoints, which help you analyze and troubleshoot your program during execution.

  • You can use load image and symbol specifically for booting.
    • If you want to download your program to analyze and troubleshoot your program during execution, turn on both load image and symbols.
    • If your program is in booting mode and you want to analyze and troubleshoot your program during execution, turn off both load image and symbols.
    Note: Nios® V processor supports hart ID of 0 only.
OS Awareness
This tab allows you to enable OS-aware debugging and specify the operating system to use to debug your design. The operating system are:
  • FreeRTOS
  • Linux,
  • Zephyr
  • μC/OS-II
You can also specify the location of the Python script for the RTOS.
Source

You can specify the location of source files that are used when running or debugging a C/C++ application. By default, the source files are taken from your project.

Common

When a run configuration is created, it is saved with the extension .launch. You can select an alternate place for storing your run configuration, how to access it, and which perspective to use while executing an application.

SVD Path

The RiscFree* IDE for Intel® FPGAs supports Device-specific System View Description (SVD) JSON format files. The files provide the peripheral registers viewer with detailed definitions. Typically, they are obtained via the CMSIS Packs or xPacks that have been installed. You can use ZIP to compress the file.