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.28 Adding autoconfigure support for new platformsWhen adding platforms to <strong>the</strong> Select Platform dialog box, a platform detection file .det iscreated automatically after you have setup <strong>the</strong> board name and manufacturer. You can, however,add more .det files to <strong>the</strong> platformFiles directory, which allow different hardware versions tobe recognized when you click <strong>the</strong> Auto Configure button. A .det file can contain informationfor one or more platforms. The platform description consists of a JTAG ID code and mask foreach device on <strong>the</strong> JTAG scan chain of <strong>the</strong> target platform, and <strong>the</strong> name of <strong>the</strong> associated debughardware configuration file .rvc.For example:0x0B73B02F,0xFFFFFFFF, 0x07926001,0xFFFFFFFF, 0,0, 0x2B900F0F,0xFFFFFFFF =mycompany_eg1.rvcIn <strong>the</strong> above example, <strong>the</strong> platform is expected to contain four devices on its scan chain. Thefirst device must have a JTAG ID code of 0x0B73B02F, <strong>the</strong> second 0x07926001, <strong>the</strong> third devicecan have any ID code, and <strong>the</strong> code of <strong>the</strong> fourth device must be 0x2B900F0F.Several .det files can be supplied, and each file can contain more than one line. For example:0x22193024, 0xEFFFFFFF, 0,0, 0,0 = mycompany_eg2.rvc0x08210024, 0xFFFFFFFF, 0,0, 0,0 = mycompany_eg2.rvc0x05310024, 0xFFFFFFFF, 0,0, 0,0 = mycompany_eg3.rvcIn this example, a scan chain containing three devices, where <strong>the</strong> first device has an ID code of0x22193024, 0x32193024 or 0x08210024 is associated with mycompany_eg2.rvc. The mask value of0xEFFFFFFF means that both 0x22193024 and 0x32193024 are identified. If <strong>the</strong>re are three devices,and <strong>the</strong> first has an ID code of 0x05310024, <strong>the</strong>n it is associated with mycompany_eg3.rvc.When you click <strong>the</strong> Auto Configure button, <strong>the</strong> detected scan chain is compared against all <strong>the</strong>platforms described by .det files. If <strong>the</strong> connected target matches any of <strong>the</strong>se platforms, aSelect Platform dialog box is displayed, and asks <strong>the</strong> user to confirm that <strong>the</strong> platform has beencorrectly detected.It is possible to create platform information that associates a given scan chain with several .rvcfiles. If this happens, <strong>the</strong> Select Platform dialog box lists all <strong>the</strong> platforms that match, and youwill be asked to select <strong>the</strong> platform that matches your hardware.5.28.1 See alsoTasks• Adding new platforms on page 5-45.<strong>ARM</strong> DUI 0498F Copyright © 2010-2012 <strong>ARM</strong>. All rights reserved. 5-46ID021112Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!