B.4. Configuring trace capture from a CoreSight ETB with DSTREAM and RealView ICE

Before you can capture trace from a CoreSight Embedded Trace Buffer (CoreSight ETB), you must set up RealView Debugger and the DSTREAM or RealView ICE debug interface unit.

The difference between configuring trace capture from a CoreSight ETB for use with DSTREAM or RealView ICE is the Debug Interface that you use. The following procedure uses the RealView ICE Debug Interface as an example.

To capture trace from a CoreSight ETB:

  1. Connect the debug interface unit.

  2. Install the RealView ICE host software.

    Note

    The RealView ICE host software is included with RVDS, and does not require a separate installation.

  3. Select Start → Programs → ARM → RealView Development Suite v4.1 → RealView Debugger v4.1 to start RealView Debugger.

  4. Configure RealView ICE to identify the processors and CoreSight components on your development platform. You must also configure RealView ICE to access the CoreSight ETB.

  5. Select Registers from the View menu to display the Registers view.

  6. If your development platform has multiple trace sources, then you must configure the CoreSight Trace Funnel to identify the source from which trace is to be captured:

    1. Connect to the CSTFunnel_n target.

    2. Set up the Trace Funnel registers.

    Note

    If your development platform contains multiple processors and multiple ETMs, only one CoreSight ETM at a time can be chosen as the trace source in this release.

  7. Configure the CoreSight ETB registers:

    1. Connect to the CSETB_n target.

    2. Set up the CSETB registers. Figure B.5 shows an example:

    Figure B.5. CSETB registers in the Registers view

    CSETB registers in the Registers view

  8. Connect to the target processor on your development platform.

  9. Connect to the TPA.

See also:

Copyright © 2006-2010 ARM Limited. All rights reserved.ARM DUI 0322F
Non-ConfidentialID102410