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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Configuring debug hardware for GDB9.23 Multiprocessor debugging with GDB and debug hardware<strong>Debug</strong> hardware is capable of simultaneously and synchronously debugging multiple targets.However, GDB does not support multiprocessor debugging directly.NoteAlthough multiprocessor debugging is possible using GDB, it is recommended that you debugmultiple processors using higher level tools.9.23.1 How connections to multiple processors are allocatedWhen you make connections to multiple target processors, <strong>the</strong> connections on ports 5000,5001,... are allocated by debug hardware, that is, redirected virtual DCC is allocated a port foreach device in a similar way to GDB halt-mode debugging. The port range starts from port 5000,so virtual E<strong>the</strong>rnet or raw redirected DCC for <strong>the</strong> first device appears on port 5000, <strong>the</strong> seconddevice on port 5001, and this continues in <strong>the</strong> same way.9.23.2 Considerations when debugging multiple targets with GDBBe aware of <strong>the</strong> following if you are debugging multiple targets with GDB:• Multiprocessor debugging with GDB requires that you open multiple command windows(such as Xterms). You must have one GDB session for each target processor to which youwant to connect.• If you have multiple targets on <strong>the</strong> debug hardware scan chain, <strong>the</strong>n:— <strong>the</strong> target processors are numbered consecutively, starting at one— <strong>the</strong> available bandwidth over DCC is shared between all target processors— communications to all target processors are through a single JTAG chain.9.23.3 See alsoTasks• Preparing your debug hardware for remote GDB connections on page 9-21• Loading and booting a complete system on page 9-26.Concepts• About configuring debug hardware for debugging with GDB on page 9-3• Methods of connecting from remote GDB sessions on page 9-9.<strong>ARM</strong> DUI 0498F Copyright © 2010-2012 <strong>ARM</strong>. All rights reserved. 9-34ID021112Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!