2.2.2. Procedure for development platforms containing CoreSight components

You can use RealView ICE to connect to a development platform that incorporates CoreSight components. How you configure a development platform that supports CoreSight depends on your requirements:

Note

In both cases, you autoconfigure the scan chain to detect the CoreSight DAP. If your CoreSight DAP contains a ROM table, you can then read the ROM table to determine the devices that are connected to the DAP. If no ROM table is provided, or is corrupted, you must manually add the remaining devices as required.

RealView ICE device names for supported CoreSight components

Table 2.1 shows the RealView ICE device name for each CoreSight component that is supported.

Table 2.1. RealView ICE Device names for CoreSight Components

CoreSight componentDevice name
CoreSight Debug Access Port (DAP)ARMCS-DP
CoreSight Cross Trigger Interface (CTI)CSCTI
CoreSight Embedded Trace Buffer® (ETB®)CSETB
CoreSight Embedded Trace Macrocell (ETM™)CSETM

CoreSight AHB Trace Macrocell (HTM) [a]

CSHTM

CoreSight Instrumentation Trace Macrocell (ITM) [a]

CSITM

CoreSight Program Flow Trace Macrocell (PTM) [a]

CSPTM
CoreSight Serial Wire Output (SWO) [a]CSSWO
CoreSight Trace FunnelCSTFunnel
CoreSight Trace Port Interface Unit (TPIU)CSTPIU
JTAG Debug PortARMJTAG-DP
JTAG Access Port for the ARM1136JF-SARM1136JFS-JTAG-AP
JTAG Access Port for the ARM1156T2F-SARM1156T2FS-JTAG-AP
JTAG Access Port for the ARM1176JZ-FARM1176ZF-JTAG-AP
Serial Wire Debug PortARMSW-DP

[a] Although this component can be added as a target, you cannot capture trace from it in this release.


Note

The ARMCS-DP, ARMJTAG-DP, and ARMSW-DP devices do not appear in the Connect to Target window.

Procedure

To customize a RealView ICE Debug Interface configuration for a development platform containing CoreSight components:

  1. Create a new RealView ICE Debug Configuration:

    1. Select the Configuration grouping from the Grouped By list.

    2. Expand the RealView ICE Debug Interface to see the existing Debug Configurations.

    3. Click Add to create a new RealView ICE Debug Configuration. The RVConfig dialog box is automatically displayed.

  2. Select your RealView ICE Debug Interface unit, if it appears in the RealView ICE browser. Alternatively, enter the IP address or host name of the unit.

  3. Click Connect to connect the RVConfig dialog box to the RealView ICE Debug Interface unit.

  4. Click Auto Configure Scan Chain. The ARMCS-DP target is detected and added to the scan chain schematic diagram.

  5. If the ARMCS-DP device has a ROM table:

    1. Right-click on the ARMCS-DP device in the scan chain schematic diagram to display the context menu.

    2. Select Read coresight ROM table from the context menu. The devices connected to the CoreSight DAP are added to the scan chain schematic diagram.

    If the ARMCS-DP device does not have a ROM table:

    1. Click Add Device... to display the Add Device dialog box.

    2. Expand the group in the Registered Devices list containing the device to be added.

    3. Select the required device from the Registered Devices list.

    4. Click OK. The device is added to the scan chain schematic diagram.

    5. Repeat these steps for each additional device on your development platform.

  6. Select the device in the left pane, and configure the parameters in the panel.

  7. Select Advanced in the left pane, and configure the advanced settings.

  8. Select Save from the File menu to save your changes.

  9. Select Exit from the File menu to close the RVConfig dialog box. You can connect to the targets in your new Debug Configuration in the usual way.

See also

Copyright © 2002-2009 ARM Limited. All rights reserved.ARM DUI 0182K
Non-Confidential