5.4.5.4 Setup ITM Trace
Select “Trace and Profiling” from “Option categories” drop down,
- Select “ITM TraceUnder” from the “Data Collection Selection” drop down.
- Select an “ITM baud rate” to
specify the SWO speed. The clock and this value will be used to determine the
SWO prescaler value.Note: The debugger has a finite set of SWO baud rates that it can use: 512KHz, 1MHz, 2MHz, and 4MHz.Note: It is advised that if clock switching is involved in the application, the SWO baud rate is setup for the intended clock rate at which SWO functionality is desired.
- For some SAM devices, you will
need to add a
.ini
file for additional ITM setup. See 5.4.5.5 Additional Initialization File. - Change any logging setup as desired.
- Click OK when done.