ARM® Cortex®-M Trace: How to use SWO Trace and EnergyTrace™ for debugging & profiling applications
SWO Trace and EnergyTrace™ provide vital capabilities for debugging and profiling applications running on Cortex M cores. SWO Trace enables features such as Statistical function profiling, Data variable trace, Interrupt profiling as well as Software Messages. EnergyTrace measures the energy consumed by the device. This tool can be used for correlating program execution with relative energy consumption as well as for measuring true energy consumption.