12.07.2015 Views

ARM DS-5 Using the Debug Hardware Configuration Utilities

ARM DS-5 Using the Debug Hardware Configuration Utilities

ARM DS-5 Using the Debug Hardware Configuration Utilities

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Creating debug hardware target configurations5.5 About configuring a device listYou can configure a device list using <strong>the</strong> following methods:• autoconfiguration• manual configuration.5.5.1 AutoconfigurationWhen autoconfiguring a device list, debug hardware interrogates <strong>the</strong> scan chain andautomatically selects <strong>the</strong> correct templates for supported <strong>ARM</strong> target devices, <strong>the</strong>n adds <strong>the</strong>mto <strong>the</strong> scan chain in <strong>the</strong> correct order. This takes place at <strong>the</strong> current clock speed:• If you are using a fixed clock speed, but debug hardware detects one or more devices thatrequire adaptive clocking, it automatically selects adaptive clocking.• If you are using adaptive clocking, but debug hardware does not detect any devices thatsupport adaptive clocking, an error message is generated. Select a fixed clock speed.• If <strong>the</strong> clock speed is too high, some devices on <strong>the</strong> scan chain might not be detected. Ifyou suspect that this is happening, decrease <strong>the</strong> clock speed.WarningAutoconfiguring can be intrusive and stop your development platform from operating normally.If you want to connect to a target on your development platform without performing a reset andstop, you must manually add <strong>the</strong> devices to <strong>the</strong> scan chain.NoteAutoconfiguration is disabled in <strong>Debug</strong> <strong>Hardware</strong> Config if <strong>the</strong> current debug hardwareconfiguration has a platform assigned to it.For Serial Wire <strong>Debug</strong> (SWD), autoconfiguring a system identifies <strong>the</strong> target devices on yourdevelopment platform by reading appropriate SWD registers. The value of this register isusually set by <strong>the</strong> engineers that integrate <strong>the</strong> devices into a design. It is not set within <strong>the</strong> <strong>ARM</strong>devices <strong>the</strong>mselves. For more information, see <strong>the</strong> <strong>ARM</strong> datasheet or technical referencemanual for <strong>the</strong> processor that you are integrating.NoteBefore you autoconfigure a target that supports both JTAG and SWD, you must first enable UseSWJ Switching in <strong>the</strong> Advanced configuration settings.5.5.2 Manual configurationYou can add devices manually to a scan chain. You must do this if your development platformincludes:• Unsupported devices. That is, devices for which no templates are provided by <strong>the</strong> debughardware unit.• Supported devices that are not detectable by <strong>the</strong> debug hardware unit.<strong>ARM</strong> DUI 0498F Copyright © 2010-2012 <strong>ARM</strong>. All rights reserved. 5-9ID021112Non-Confidential

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!