Arm Cortex NXP LPC15xx: SWO trace

31-Jul-2024

On LPC15xx devices you can configure I/O pin to use for a SWO trace with a custom initialization script.

Environment will remap the selected pin to output SWO trace, disabling any function previously assigned by the application.


Possible solution

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

2. Specify which port to use for parallel trace and select a pin that is not otherwise used by the application. The default settings are:

  • g_eSWOPort=PIO0
  • bySWOPin=8




More resources in winIDEA Help

    Was this answer helpful?