Debugger Features
User Guide
© 2023 Microchip Technology Inc. and its subsidiaries
DS-50003529B - 54
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 nite 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 le 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 Proling
5.4.5.5 Addional Inializaon File
SAM E70 and SAM E54 device families have clocking (PLL) that diers from standard Arm devices.
Therefore specic device conguration is required. This is done using an ini le. This le will be
launched on a reset.
useroperationsITMSAME70.ini
; Trace Clock Setup
; _WDWORD (0x400E064C, 0x4); // Select Master clock for ITM/ETM
write,0x400E064C, 4
;PMC->PMC_SCER = PMC_SCER_PCK3; // Enable PCK3
write,0x400E0600,0x800