| 数据搜索系统,热门电子元器件搜索 |
|
GXM 数据表(PDF) 52 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
GXM 数据表(HTML) 52 Page - National Semiconductor (TI) |
|
52 / 244 page ![]() www.national.com 52 Revision 3.1 Processor Programming (Continued) 3.3.2.3 Debug Registers Six debug registers (DR0-DR3, DR6 and DR7) support debugging on the GXm processor. Memory addresses loaded in the debug registers, referred to as “breakpoints,” generate a debug exception when a memory access of thespecifiedtypeoccursto the specifiedaddress.A breakpoint can be specified for a particular kind of mem- ory access such as a read or write operation. Code and data breakpoints can also be set allowing debug excep- tions to occur whenever a given data access (read or write operation) or code access (execute) occurs. The size of the debug target can be set to 1, 2, or 4 bytes. The debug registers are accessed through MOV instructions that can be executed only at privilege level 0 (real mode is always privilege 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 asso- ciated with the breakpoint. The R/W field can be used to specify instruction execution as well as data access breakpoints. Instruction execution breakpoints are always taken before execution of the instruction that matches the breakpoint. The Debug Reg- isters are mapped in Table 3-12 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 8765 43210 DR7 Register Debug Control Register 7 (R/W) LEN3 R/W3 LEN2 R/W2 LEN1 R/W1 LEN0 R/W0 0 0 G D 0010 0 G 3 L 3 G 2 L 2 G 1 L 1 G 0 L0 DR6 Register Debug Status Register 6 (RO) 00000 0000 00000 00 B T B S 01111 1111 1 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. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |