Energy Micro EFM32: Trace port configuration: Trace port configuration
GPIO port selection for Energy Micro EFM32 trace initialization is configured as script arguments in the CPU Options dialog. Script is distributed with winIDEA.
1. Follow Custom Configuration procedure.
2. Add the script TraceInit_EFM32xxxx_a.cpp.
3. Configure initialization script parameters.
•bySWO Pin - Set SWO pin for when SWO trace protocol is used.
•byParallel Trace Location - Set the location for parallel trace port location for when TRACE is selected as trace protocol. Additionally only some of the trace pins can be enabled on the trace port. Connect them accordingly to the debug/trace connector.
•byTDnPEN - Make sure that the number of enabled pins matches the Trace Width set in Advanced pane of CPU Options dialog.
Default setting:
•bySWOpin=Pin_0
•byParallelTraceLocation=Location_0
•byTDnPEB=1