🎉 We're happy to announce new public releases 🎉

  • SmartCode v10.4r1 - Take advantage of all the benefits our tools have to offer and build your applications with the latest version
  • TriCore v6.3r1 Inspector v1.0r8 - Save time and detect known issues before they get into your application
Contact us to get access

Arm Cortex Energy Micro EFM32: Trace port configuration

28-Nov-2024

GPIO port selection for Energy Micro EFM32 trace initialization is configured as script arguments in the CPU Options dialog. The script is distributed with winIDEA in the SFR folder. 


Possible solution

1. Add the custom script TraceInit_EFM32xxxx_a.cpp to Hardware | CPU Options | Analyzer | SoC Initialization.

2. Configure initialization script parameters:

  • bySWOPin - Set the SWO pin when the SWO trace protocol is used.
  • byParallelTraceLocation - Set the location for parallel trace port location when Parallel trace protocol is used. Additionally, only some of the trace pins can be enabled on the trace port. Connect them accordingly to the debug/trace connector.
  • byTDnPEN - The number of enabled pins should match the Parallel Trace Port Width set in Hardware | CPU Options | SoC.



Default setting:

  • bySWOpin - Pin_0
  • byParallelTraceLocation - Location_0
  • byTDnPEB - 1



More resources in winIDEA Help

Was this answer helpful?