| |||
| Home > Customizing a Debug Interface configuration > Customizing a RealView ICE Debug Interface configuration > 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:
If you do not want to capture trace information, then you have only to add the CoreSight DAP and the target processor.
If you want to capture trace information, then you must add the CoreSight Debug Access Port (DAP), the target processor, and the appropriate CoreSight components you want to use for tracing.
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.
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 component | Device 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 Funnel | CSTFunnel |
| CoreSight Trace Port Interface Unit (TPIU) | CSTPIU |
| JTAG Debug Port | ARMJTAG-DP |
| JTAG Access Port for the ARM1136JF-S | ARM1136JFS-JTAG-AP |
| JTAG Access Port for the ARM1156T2F-S™ | ARM1156T2FS-JTAG-AP |
| JTAG Access Port for the ARM1176JZ-F™ | ARM1176ZF-JTAG-AP |
| Serial Wire Debug Port | ARMSW-DP |
[a] Although this component can be added as a target, you cannot capture trace from it in this release. | |
The ARMCS-DP, ARMJTAG-DP, and ARMSW-DP devices do not appear in the Connect to Target window.
To customize a RealView ICE Debug Interface configuration for a development platform containing CoreSight components:
Create a new RealView ICE Debug Configuration:
Select the Configuration grouping from the Grouped By list.
Expand the RealView ICE Debug
Interface to see the existing Debug Configurations.
Click Add to create a new RealView ICE Debug Configuration. The RVConfig dialog box is automatically displayed.
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.
Click Connect to connect the RVConfig dialog box to the RealView ICE Debug Interface unit.
Click Auto Configure Scan Chain. The ARMCS-DP target is detected and added to the scan chain schematic diagram.
If the ARMCS-DP device has a ROM table:
Right-click on the ARMCS-DP device in the scan chain schematic diagram to display the context menu.
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:
Click Add Device... to display the Add Device dialog box.
Expand the group in the Registered Devices list containing the device to be added.
Select the required device from the Registered Devices list.
Click OK. The device is added to the scan chain schematic diagram.
Repeat these steps for each additional device on your development platform.
Select the device in the left pane, and configure the parameters in the panel.
Select Advanced in the left pane,
and configure the advanced settings.
Select Save from the File menu to save your changes.
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.
Procedure for non-CoreSight development platforms containing ARM processors only
Recommended settings for an ARM Integrator development board
the following in the RealView Debugger Essentials Guide:
the following in the RealView Debugger User Guide:
RealView ICE and RealView Trace User Guide.