| Electronic Components Datasheet Search |
|
GX1 Datasheet(PDF) 55 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
GX1 Datasheet(HTML) 55 Page - National Semiconductor (TI) |
|
55 / 247 page ![]() Revision 1.0 55 www.national.com Processor Programming (Continued) 3.3.2.3 Debug Registers Six debug registers (DR0-DR3, DR6 and DR7) support debugging on the GX1 processor. Memory addresses loaded in the debug registers, referred to as “breakpoints,” generate a debug exception when a memory access of the specified type occurs to the specified address. A break- point can be specified for a particular kind of memory access such as a read or write operation. Code and data breakpoints can also be set allowing debug exceptions to occur whenever a given data access (read or write opera- tion) or code access (execute) occurs. The size of the debug target can be set to 1, 2, or 4 bytes. The debug reg- isters are accessed through MOV instructions that can be executed only at privilege level 0 (real mode is always priv- ilege level 0). The Debug Address Registers (DR0-DR3) each contain the linear address for one of four possible breakpoints. Each breakpoint is further specified by bits in the Debug Control Register (DR7). For each breakpoint address in DR0-DR3, there are corresponding fields L, R/W, and LEN in DR7 that specify the type of memory access associated with the breakpoint. DR6 is read only and reports the results of the break. The R/W field can be used to specify instruction execution as well as data access breakpoints. Instruction execution breakpoints are always acted upon before execution of the instruction that matches the breakpoint. The Debug Regis- ters are mapped in Table 3-12, and the bit definitions are given in Table 3-13 on page 56. Table 3-12. Debug Registers 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 DR7 Register Debug Control Register 7 (R/W) LEN3 R/W3 LEN2 R/W2 LEN1 R/W1 LEN0 R/W0 0 0 G D 001 00 G 3 L 3 G 2 L 2 G 1 L 1 G 0 L0 DR6 Register Debug Status Register 6 (R/O 0 0 0 000 00 00 00 000 0 B T B S 0 111 11 11 11 B3 B2 B1 B0 DR3 Register Debug Address Register 3 (R/W) Breakpoint 3 Linear Address DR2 Register Debug Address Register 2 (R/W) Breakpoint 2 Linear Address DR1 Register Debug Address Register 1 (R/W) Breakpoint 1 Linear Address DR0 Register Debug Address Register 0 (R/W) Breakpoint 0 Linear Address Note: All bits marked as 0 or 1 are reserved and should not be modified. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |