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.17 DCC and interruptsThe use of DCC interrupts has significant speed implications when using Virtual E<strong>the</strong>rnet/TTYmode. If possible, you must tie DCC interrupts into <strong>the</strong> interrupt system of <strong>the</strong> target and be ableto enable and disable <strong>the</strong> read and write interrupt individually.NoteThis is a configuration item that you must select when configuring <strong>the</strong> kernel, when using an<strong>ARM</strong> driver.debug hardware uses JTAG to control debug operations, and JTAG is used to send and receivedata over DCC. debug hardware polls <strong>the</strong> target JTAG for status:• If interrupts are used, <strong>the</strong> target is interrupted when data is written to <strong>the</strong> DCC register orread from it. This enables <strong>the</strong> target to deal quickly with <strong>the</strong> data, and continue normalprocessing.• If interrupts are not available, <strong>the</strong> target must regularly poll <strong>the</strong> DCC register for any newdata. This means that <strong>the</strong> target wastes time checking <strong>the</strong> register for data when none ispresent. Subsequent data is only discovered at <strong>the</strong> next poll.If debug hardware finds that <strong>the</strong>re is data to be transferred into or out of DCC, it attempts totransfer as many words as possible in one burst, up to a predefined limit. However, if <strong>the</strong> targethas not sent more data or emptied its transfer register, debug hardware breaks out of its burstand begins polling <strong>the</strong> execution status and DCC.9.17.1 See alsoTasks• Connecting to targets from GDB through debug hardware on page 9-22• Setting DCC parameters on page 9-23.Reference• <strong>Debug</strong> hardware TCP/IP port numbering on page 9-6• DCC modes on page 9-7.<strong>ARM</strong> DUI 0498F Copyright © 2010-2012 <strong>ARM</strong>. All rights reserved. 9-25ID021112Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!