5.7.4.2 Setup ITM Trace
Under “Option categories,” select “Trace and Profiling.”
- Under “Data Collection Selection,” choose “ITM Trace.”
- 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 emulator 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 Software Implementation. - Change any logging setup as desired.
- Click OK when done.