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
|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.
- 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:
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
- Add an
ARMCS-DPdevice as the root device.
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.
NoteYou can only add AP devices under the root
Specify the APv2 base addresses. For each nested APv2 device, in the Configuration Items table specify the base address in the
Figure 14-3 Specifying a Base Address using the PCE
- 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
- Save and build the platform. Select File > Save.