5.4.5.4 Setup ITM Trace

Select “Trace and Profiling” from “Option categories” drop down,
  1. Select “ITM TraceUnder” from the “Data Collection Selection” drop down.
  2. 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.
  3. For some SAM devices, you will need to add a .ini file for additional ITM setup. See 5.4.5.5 Additional Initialization File.
  4. Change any logging setup as desired.
  5. Click OK when done.
Figure 5-4. Trace and Profiling