10.10 Configuring your debug hardware unit for platform autodetection
Automatically detecting the correct configuration for your platform requires correct configuration of your debug hardware unit.
In the Autodetect tab of the Platform
Configuration Editor (PCE) view, you can configure key settings used in
autodetection, such as whether to use JTAG or Serial Wire Debug (SWD), and the clock
The left-hand pane in the Platform Configuration Editor contains:
- This shows the configuration for your debug hardware unit,
for example your DSTREAM unit. You can enter the Connection Address in the Autodetect tab if you want to autodetect the platform again
after modifying the debug hardware settings.
- This shows the scan chain and device hierarchy of your
platform. The device hierarchy usually consists of one or more Debug Access
Ports (DAP). Each DAP consists of one or more Access Ports (AP). Each AP
shows the devices that have been detected through that access port.
- Debug Activities
- This shows the type of debug activities you can perform on
the target. The debug activities are accessible from the Debug Configurations dialog box when you
want to start a debug session.
Select your debug hardware unit from the Probe in the left-hand pane of the PCE view.
Select the Autodetect tab from the right-hand
Figure 10-20 Autodetect settings
Enter the Connection Address of your
debug hardware unit or click Browse to select one.
Expand Advanced Options to configure
your debug hardware unit appropriately. Here you can set the LVDS Debug
Interface Mode to either JTAG or SWD for connecting to the target. If you use a
JTAG connection, then you must set the JTAG type and clock speed appropriately.
Other options that are important for autodetection include the reset hold and
delay times, drive strengths, reset behavior during autodetection, and cable pin
NoteIf your target supports both JTAG and SWD, you must first enable Use SWJ
Switching. The Probe Configurations tab provides
these settings and other configuration options for your debug hardware
Click Autodetect Platform to automatically detect the
The debug hardware unit interrogates the scan chain at the current clock
speed. If the clock speed is too high, some devices on the scan chain might
not be detected. If you suspect that this is happening, decrease the clock
Click on Devices in the left-had pane to review the
automatically detected platform configuration.
Add any missing topology links for the platform in the Component Connections tab.
Build the platform configuration by right-clicking the platform
configuration project in the Project
Explorer view and selecting Build