B.3. Configuring trace capture from a CoreSight ETM with RealView Trace

Before you can capture trace from a CoreSight™ ETM, you must set up RealView Debugger and RealView Trace in conjunction with RealView ICE.

To capture trace from a CoreSight ETM:

  1. Connect the TPA hardware.

  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.

    Note

    If your development platform has multiple trace sources, then you must add the CoreSight Trace Funnel (CSTFunnel).

  5. Select View → Registers from the Code window main menu to open 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 ETM registers:

    1. Connect to the CSETM_n target.

    2. Set up the CSETM registers. Figure B.3 shows an example:

    Figure B.3. CSETM registers in the Registers view

    CSETM registers in the Registers view

  8. Configure the CoreSight Trace Port Interface Unit (TPIU) registers:

    1. Connect to the CSTPIU_n target.

    2. Set up the TPIU registers. Figure B.4 shows an example:

    Figure B.4. CSTPIU registers in the Registers view

    CSTPIU registers in the Registers view

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

  10. Connect to the TPA.

  11. Configure the ETM.

See also:

Copyright © 2006-2011 ARM. All rights reserved.ARM DUI 0322G
Non-ConfidentialID052111