Percepio Tracealyzer for
FreeRTOS on MiniZED
Using Xilinx Vitis
Vincent Claes
Needed
• freertos10_xilinx_v1_6 –Trace.zip
• This is a patched version of the FreeRTOS Kernel and includes the Tracealyzer
sources [do not distribute it online]
• AVNET MiniZED Board
• Xilinx Vitis
• xsa export from Xilinx Vivado (your hardware project)
Vincent Claes
Extract the zip in this directory
• Step 1) rename “freertos10_xilinx_v1_6” to “freertos10_xilinx_v1_6old“
(afterwards you can get back to the Xilinx freertos port)
• Step 2) extract the zip file and rename this directory to “freertos10_xilinx_v1_6”
Vincent Claes
Create your Software projects and change
BSP Settings
Vincent Claes
Enable Tracealyzer
Vincent Claes
Install Percepio Tracealyzer plugin
Vincent Claes
Install Percepio Tracealyzer plugin
Vincent Claes
Set Percepio Tracealyzer plugin settings
Vincent Claes
Set Percepio Tracealyzer plugin settings
Vincent Claes
Launch GDB debug session
Vincent Claes
Click Exporter Diagnostics and start debugging
(green arrow used for starting execution of app)
Vincent Claes
Click Save Snapeshot Trace
Vincent Claes
FreeRTOS Insights
Vincent Claes
Percepio Tracealyzer
• Tracealayzer should open automatically
Vincent Claes
Trace View and Communication Flow
Vincent Claes
Trace View, Thread1, Thread2, ThreadRX,
ThreadTX, TzCtrl, Tmr SVC
Vincent Claes
CPU Load Graphs
Vincent Claes
Final Reminder
• When you have done using Percepio Tracealyzer set back the version
of “freertos10_xilinx_v1_6” to the Xilinx Original one before starting
your new FreeRTOS Project.
Vincent Claes

Percepio Tracealyzer for FreeRTOS on MiniZED