Visible to Intel only — GUID: sfh1741916484532
Ixiasoft
1. About this Document
2. Ashling RiscFree* IDE for Altera® FPGAs
3. Ashling Visual Studio Code Extension for Altera FPGAs
4. Ashling RiscFree* Integrated Development Environment (IDE) for Altera® FPGAs User Guide Archives
5. Document Revision History for the Ashling RiscFree* Integrated Development Environment (IDE) for Altera® FPGAs User Guide
A. Appendix
2.1. About the RiscFree* IDE for Altera® FPGAs IDE
2.2. Getting Started with the Ashling* RiscFree* IDE for Altera® FPGAs
2.3. Using Ashling* RiscFree* IDE for Altera® FPGAs with Nios® V Processor System
2.4. Using Ashling* RiscFree* IDE for Altera® FPGAs with Arm* Hard Processor System
2.5. Debugging Features with RiscFree* IDE for Altera® FPGAs
2.2.1. Installing RiscFree* IDE for Altera FPGAs
2.2.2. Getting Started with RiscFree* IDE for Altera® FPGAs
2.2.3. Creating the Project
2.2.4. Building the Application
2.2.5. Run and Debug Configurations in the RiscFree* IDE for Altera® FPGAs
2.2.6. Debug Information in the RiscFree* IDE for Altera® FPGAs
2.5.1. Debug Features in RiscFree* IDE
2.5.2. Processor System Debug
2.5.3. Heterogeneous Multicore Debug
2.5.4. Debugging µC/OS-II Application
2.5.5. Debugging FreeRTOS Application
2.5.6. Debugging Zephyr Application
2.5.7. Arm* HPS On-Chip Trace
2.5.8. Debugging the Arm* Linux Kernel
2.5.9. Debugging Target Software in an Intel® Simics Simulator Session
3.1. About the Ashling Visual Studio Code Extension
3.2. Getting Started with Ashling* Visual Studio Code Extension
3.3. Using Ashling* Visual Studio Code Extension with Nios® V Processor System
3.4. Using Ashling* Visual Studio Code Extension with Arm Hard Processor System
3.5. Debugging Features in Ashling* Visual Studio Code Extension
3.3.1. Creating Nios® V Processor BSP using Nios® V Processor BSP Generator
3.3.2. Creating Nios® V Processor Application Project using Nios® V App Generator
3.3.3. Importing Nios® V Processor Project
3.3.4. Building Nios® V Processor Project
3.3.5. Debugging a Nios® V Processor Project
3.3.6. Debugging Tools
Visible to Intel only — GUID: sfh1741916484532
Ixiasoft
3.5.1.4. Debugging RTOS
Note: µC/OS-II RTOS is not supported.
FreeRTOS
When you debug the FreeRTOS application, you can view the number of tasks, task details, and queue list. To display details of FreeRTOS Task List, enable the macro as below in the FreeRTOSConfig.h.
Note: If you use the FreeRTOS BSP generated from BSP Editor, you do not need to manually configure configUSE_TRACE_FACILITY in FreeRTOSConfig.h. The setting depends on system.h (part of FreeRTOSConfig.h #include), which can be configured using BSP Editor GUI or niosv-bsp command
Debug Information | Macros | Configuration | Description |
---|---|---|---|
Task List | configUSE_TRACE_FACILITY | 1 | To display task number of the project |
#define configUSE_TRACE_FACILITY 1
To debug FreeRTOS application, follow these steps:
- Launch the FreeRTOS application debug. The RTOS related view is automatically appeared in Panel.
Figure 163. RTOS Related View
Zephyr
When you debug the Nios® V processor application, you can view the Zephyr Mutex (Mutual Exclusion Object) List, Zephyr Semaphore List, and Zephyr Thread List.
To display details of Zephyr Mutex, Semaphore and Thread lists, enable the macros as below in the prj.conf file.
Debug Information | Macros | Configuration | Description |
---|---|---|---|
Enable Trace | CONFIG_TRACING | Y | To enable all the tracing function.
Note: All tracing macros have dependency to CONFIG_TRACING.
|
Mutex List | CONFIG_TRACING_OBJECT_TRACKING | Y | To enable object tracking for mutex. |
Semaphore List | To enable object tracking for semaphore. | ||
Thread List | CONFIG_DEBUG_THREAD_INFO | Y | To display thread details. |
The configuration is as shown below:
CONFIG_TRACING=y CONFIG_TRACING_OBJECT_TRACKING=y CONFIG_DEBUG_THREAD_INFO=y
Follow these steps to debug the Zephyr application:
- Launch the Zephyr application debug. The RTOS-related view automatically appears in the Panel.