Ashling* RiscFree* Integrated Development Environment (IDE) for Intel® FPGAs User Guide
ID
730783
Date
11/25/2024
Public
A newer version of this document is available. Customers should click here to go to the newest version.
1. About the RiscFree* IDE
2. Getting Started with the Ashling* RiscFree* IDE for Intel® FPGAs
3. Using Ashling* RiscFree* IDE for Intel® FPGAs with Nios® V Processor System
4. Using Ashling* RiscFree* IDE for Intel® FPGAs with Arm* Hard Processor System
5. Debugging Features with RiscFree* IDE for Intel® FPGAs
6. Debugging with Command-Line Interface
7. Ashling RiscFree* Integrated Development Environment (IDE) for Intel® FPGAs User Guide Archives
8. Document Revision History for the Ashling RiscFree* Integrated Development Environment (IDE) for Intel® FPGAs User Guide
A. Appendix
3.1. Importing Nios® V Processor Project
3.2. Building Nios® V Processor Project
3.3. Setting Run Configuration to Download Nios® V Processor Project
3.4. Setting Debug Configuration to Debug Nios® V Processor Project
3.5. Setting Debug Configuration to Debug a Booting Nios® V Processor Project
3.6. Debugging Tools
5.1. Debug Features in RiscFree* IDE
5.2. Processor System Debug
5.3. Heterogeneous Multicore Debug
5.4. Debugging µC/OS-II Application
5.5. Debugging FreeRTOS Application
5.6. Debugging Zephyr Application
5.7. Arm* HPS On-Chip Trace
5.8. Debugging the Arm* Linux Kernel
5.9. Debugging Target Software in an Intel® Simics Simulator Session
5.6. Debugging Zephyr Application
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
To debug Zephyr application, follow these steps:
Launch the Zephyr application debug.
- To open the Zephyr Mutex List view, go to Window > Show View > Other > Zephyr Mutex List.
Figure 55. Zephyr OS Mutex List View
The Zephyr Mutex List tab shows details of all mutexes including handle, thread owner, lock count, priority, along with any wait threads related to each mutex.
- To open the Zephyr Semaphore List view, go to Window > Show View > Other > Zephyr Sempahore List.
Figure 56. Zephyr Sempahore List View
The Zephyr Semaphore List tab shows details of all semaphores including handle, count, limit along with any wait threads related to each semaphore.
- To open the Zephyr Thread List view, go to Window > Show View > Other > Zephyr Thread List.
Figure 57. Zephyr OS Thread List View
The Zephyr Thread List tab shows thread details including name, handle, priority, start of stack, stack size, and status details.
Related Information