Good news! We have now updated both the Eclipse plugin and the Atmel Studio 7 plugin for Tracealyzer 4, making it even easier to analyze and debug RTOS-based software using Tracealyzer.
The Eclipse plugin works with most Eclipse-based IDEs for Arm-based MCUs, such as Atollic TrueStudio, MCUXpresso, Simplicity Studio, etc.
Both plugins support snapshot tracing of FreeRTOS, SafeRTOS, Micrium µC/OS-III as well as ThreadX. The plugins allow Tracealyzer to read the trace data using your normal debug interface, so the plugins work with any device and debug probe that your IDE is supporting.
The below screenshot shows the new Atmel Studio plugin, but the Eclipse plugin looks and works in the same way. Note that the only visible thing is a new “Percepio” menu in your IDE. It may appear as just a “launcher”, but this allows Tracealyzer to communicate with your debugger to fetch the trace data.
How to use it:
- Download and install Tracealyzer, if you don’t have this already.
- Enable tracing in your project, as described in the Tracealyzer user manual for your specific RTOS.
- Install the plugin, as instructed below. This will create a “Percepio” menu in your IDE.
- Start a debug session and run it, so a trace is recorded.
- In Tracealyzer, select the “Snapshot” option (i.e. the red button with a camera symbol). This saves a trace file and displays it in Tracealyzer.
If you prefer to save the trace from within your IDE, you can also select “Percepio” > “Save Snapshot Trace” in the menu. This also updates the Tracealyzer views.
Note: Although the target system must be halted when saving the trace data in snapshot mode, the plugin handle this for you automatically. If the target system is running when you save a snapshot trace, the plugin will halt the system, upload the data, and then resume execution again.
Installing the Eclipse plugin
Installing the Atmel Studio plugin
Make sure you are using Atmel Studio version 7. Older versions are not supported.
Visit Microchip Gallery, look for “Percepio Trace Exporter” and download the .vsix file.
Or you can simply download AtmelTzExtension.zip and extract AtmelTzExtension.vsix.
Make sure Atmel Studio is closed and double-click on the .vsix file. Start Atmel Studio again.
In case you have any questions, feel free to contact email@example.com.