You copied the Doc URL to your clipboard.

PCE with ADIv6 Debug systems

The Arm Debug Interface (ADI) provides access to the debug components in your System on Chip (SoC). The ADI is based on the IEEE 1149.1 JTAG interface, and it is compatible with the CoreSight™ architecture.

The main components of the ADI are split between the Access Port (AP) architecture and the Debug Port (DP) architecture.

The Debug and Access Port (DAP) is an implementation of the ADI.

ADIv6 introduces new functionality for AP and DAP devices, including the ability to nest AP devices. To nest devices, you must specify a Base Address for each nested device. The Platform Configuration Editor (PCE) in Arm® Development Studio enables you to manually configure or edit a platform configuration. See Manual platform configuration and Edit a platform configuration. In the PCE, you can also use autodetection to automatically add the base addresses and any nesting of AP devices. For more information, see Create a platform configuration.

Table 14-1 Architecture differences between ADIv5 and ADIv6

Architecture ADIv5 ADIv6
AP APv1 APv2 - this architecture is not backwards compatible.
DP DPv2 DPv3 - this architecture is not backwards compatible.

Example: Manually nest AP devices

To manually nest your AP devices, add them to the device tree using the Devices Panel. For each nested device, you must specify its base address.

Warning

  • You cannot mix and match AP types. If your configuration uses an APv1 device, then your other devices must be APv1 as well. If using an APv2 device, then your other devices must be APv2 devices.
  • For ADIv6 systems, all AP devices must be APv2 devices.
  • If a system has APv2 devices, all APv2 devices must have a base address.

To specify a base address for a nested AP device:

  1. Open the Devices Panel. In the PCE, click the Toggle Devices Panel icon at the top-right of the Device hierarchy in the PCE view.

    Figure 14-2 How to open the device browser

    How to open the device browser

  2. Add an ARMCS-DP device as the root device.
  3. Drag-and-drop AP devices. Use the search box at the top of the Devices Panel to quickly locate AP devices. Drag them to your device tree.

    Note

    You can only add AP devices under the root ARMCS-DP device, and CSMEMAP devices.
  4. Specify the APv2 base addresses. For each nested APv2 device, in the Configuration Items table specify the base address in the CORESIGHT_AP_ADDRESS field:

    Figure 14-3 Specifying a Base Address using the PCE

    Specifying a Base Address using the PCE

    Note

    • If you input an invalid address, the PCE reverts the value to the previous valid address (which might be the default).
    • For an APv1 device, set the CoreSight AP index using the CORESIGHT_AP_INDEX configuration item.
  5. Save and build the platform. Select File > Save.
Was this page helpful? Yes No