5.7.6 Software Implementation
SAM E70 and SAM E54 devices have clocking (PLL) that differs from standard Arm devices.
Therefore specific device configuration is required. This is done using an
ini
file. This file will be launched on an MDK-ARM
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
useroperationsITMSAME54.ini
; Trace Clock Setup
; Enable ITM/ETM Peripheral Generic clock and set it to Master Clock
write,0x40001D3C, 0x40
; Configure PB30 to SWO - GPIO PORT MUX
write,0x410080BF,0x07
; Configure Pullups for PB30
write,0x410080DE,0x41