Closed xmos-jmccarthy closed 1 year ago
Trace source to be added to the SDK would be through submodule: https://github.com/percepio/TraceRecorderSource
You can download the host application: https://percepio.com/downloadform/
At least v4.6.5 is required.
For including it in the app, mostly follow: https://percepio.com/gettingstarted-freertos/
Difference will be to only include
include "trcRecorder.h"
on a single tile.
Step 1.8 should also be done only the single tile you are tracing.
At this point ping me so I can send you the new xscope.config you will need, as well as the xscope->Tracealyzer converter.
Then build, xrun with --xscope-file scope.vcd
Run the conversion script. Open the resulting output in Tracealyzer.
Percepio has custom traces for debugging ISRs, user events, etc. We may consider adding these to the general SDK in the future.
Most likely the getting started application.
Will include documentation on how to add trace to an existing app how to create traces, and how to interpret them (for the xcore specific parts).