Ashling* RiscFree* Integrated Development Environment (IDE) for Altera® FPGAs User Guide
Visible to Intel only — GUID: sfh1741916484532
Ixiasoft
Visible to Intel only — GUID: sfh1741916484532
Ixiasoft
3.5.1.4. Debugging RTOS
FreeRTOS
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. |
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.