EasyManuals Logo

ARM ARM1176JZF-S User Manual

Default Icon
759 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #552 background imageLoading...
Page #552 background image
Debug Test Access Port
ARM DDI 0301H Copyright © 2004-2009 ARM Limited. All rights reserved. 14-26
ID012310 Non-Confidential, Unrestricted Access
Sticky Undefined flag
DSCR[8]. When set, this flag indicates to the DBGTAP debugger
that an Undefined exception occurred while executing an instruction
in Debug state. This flag does not disable the Debug state instruction
execution.
14.7.9 Example sequences
This section includes some example sequences to illustrate how to transfer data between the
DBGTAP debugger and the core when it is in Debug state. The examples are related to accessing
the processor memory.
Target to host transfer
The DBGTAP debugger can use the following sequence for reading data from the processor
memory system. The sequence assumes that the ARM register R0 contains a pointer to the
address of memory where the read has to start:
1. Scan_N into the IR.
2. 1 into the SCREG.
3. INTEST into the IR.
4. Scan out the contents of the DSCR. This clears the sticky precise Data Abort, sticky
imprecise Data Abort flags, and sticky Undefined flags.
5. Scan_N into the IR.
6. 4 into the SCREG.
7. EXTEST into the IR.
8. Scan in the
LDC p14,c5,[R0],#4
instruction into the ITR.
9. Scan_N into the IR.
10. 5 into the SCREG.
11. INTEST into the IR.
12. Go through Run-Test/Idle state. The instruction loaded into the ITR is issued to the
processor pipeline.
13. Scan out 34 bits of data. If the Ready flag is clear, repeat this step again.
14. The instruction has completed execution. Store the least significant 32 bits.
15. Go to step 13 again for reading out more data.
16. Scan_N into the IR.
17. 1 into the SCREG.
18. INTEST into the IR.
19. Scan out the contents of the DSCR. This clears the sticky precise Data Abort and sticky
imprecise Data Abort and sticky Undefined flags. If the sticky precise Data Abort is set,
this means that during the sequence one of the instructions caused a precise Data Abort.
Not all the instructions that follow are executed. Register R0 points to the next word to be
read, and after the cause for the abort has been fixed the sequence resumes at step 5.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ARM ARM1176JZF-S and is the answer not in the manual?

ARM ARM1176JZF-S Specifications

General IconGeneral
BrandARM
ModelARM1176JZF-S
CategoryComputer Hardware
LanguageEnglish

Related product manuals