ULINK2 User's Guide

Enable Serial Wire Trace

To enable Serial Wire Trace on Atmel AT91SAM3 devices:

  • Use a ULINK2 connector interface that supports Serial Wire, and connect ULINK2 to the board and to the host computer.
  • Configure µVision to capture Serial Wire Trace data.

Configure µVision to capture Serial Wire Trace data

  1. Open the dialog Options for Target — Debug.

    Select the debugger adapter

  2. Enable Use, select ULINK Cortex Debugger, and click Settings to open the Target Driver Setup dialog.

    Configure the Serial Wire Debug mode

  3. Enable SWJ and select SW.
  4. Click the Trace tab.

    Configure Atmel SAM3x devices for Serial Wire Trace

  5. Set Trace Enable and Autodetect.
  6. The Core Clock must correspond to the device configuration.

Start the debugging session and verify the captured trace data with a µVision window.