Keil Logo

Trace Port

The Trace Port section sets the port and the speed used for tracing.

Serial Wire Trace Output

Trace Port Options

Serial Wire Output – UART/NRZ sets the Serial Wire Trace Output pin (SWO) for tracing. When selecting this option, also set the debug Port to SW in the Debug - J-Link/J-Trace Adapter section.

SWO Settings define the communication speed when Serial Wire Output has been selected as the trace channel.

Prescaler defines the divider that is used to calculate the SWO Clock. Values, from 1 to 8192, can be entered when Autodetect max SWO Clk is unchecked.

Clock shows the communication frequency.

Autodetect max SWO Clk configures the prescaler automatically for the highest possible Clock frequency that J-Link/J-Trace supports.

Errors detected are displayed below Autodetect max SWO Clk.

Sync Trace Port

ETM Trace Port Options

Sync Trace Port with n-bit Data directs the debugger to accept Instruction Trace data in 1, 2, or 4-bit format. When ETM Trace is enabled, make sure these settings match the settings specified in the Initialization File. Consult Configure Cortex-M Devices for Tracing.

Note

  • You must choose one of the Sync Trace Port formats when using ETM.
  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.