| |||
| Home > Customizing a Debug Interface configuration > Customizing a DSTREAM or RealView ICE Debug Interface configuration for development platforms containing CoreSight components | |||
You can use DSTREAM or 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.
The difference between customizing a Debug Interface configuration
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 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 utility is automatically
displayed.
Select your RealView ICE Debug Interface unit, if it appears in the RVConfig browser. Alternatively, enter the IP address or host name of the unit.
Click Connect to connect the RVConfig utility 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 open 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 File → Save from the menu to save your changes.
Select File → Exit from the menu to close the RVConfig utility. You can connect to the targets in your new Debug Configuration in the usual way.
See also:
DSTREAM and RealView ICE device names for supported CoreSight components
Considerations when customizing DSTREAM or RealView ICE Debug Interface configurations
the following in the RealView Debugger Essentials Guide:
the following in the RealView Debugger User Guide:
ARM DSTREAM and RVI Using the Debug Hardware Configuration Utilities.