Keil Logo

Trace Port

Trace Port defines the port type and frequency for tracing. Only the Serial Wire Output - UART/NRZ encoding method is supported.

Serial Wire Output

Serial Wire Trace Port Options

  • Serial Wire Output - UART/NRZ sets the Serial Wire Trace Output pin (SWO) for tracing. When selecting this option, ensure to set the debug Port to SW.
  • SWO Clock Prescaler defines the SWO Clock frequency. Values from 1 to 8192 can be entered. Set this option to a higher value in case trace overflows are encountered.
  • Autodetect configures the SWO Clock Prescaler automatically for the highest possible SWO Clock supported by the debugger adapter. It will be calculated using the given Trace or Core Clock setting.
  • SWO Clock displays the communication frequency, which is calculated by dividing the Trace or Core Clock by the SWO Clock Prescaler. The maximum frequency is implementation dependent.
  • Detected errors are displayed in the area beneath SWO Clock.
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.