| |||
| Home > Debugging Your System > Debug control register | |||
The Debug Control Register is six bits wide. Writes to the Debug Control Register occur when a watchpoint unit register is written. Reads of the Debug Control Register occur when a watchpoint unit register is read. See Watchpoint unit registers for more information.
Figure 9.15 shows the function of each bit in the Debug Control Register.
The Debug Control Register bit assignments are shown in Table 9.9.
Table 9.9. Debug control register bit assignments
| Bit | Function |
|---|---|
| 5 | Used to disable the EmbeddedICE-RT comparator outputs while the watchpoint and breakpoint registers are being programmed. This bit can be read and written through JTAG. Set bit 5 when:
You must clear bit 5 after you have made the changes, to re-enable the EmbeddedICE-RT logic and make the new breakpoints and watchpoints operational. |
| 4 | Used to determine the behavior of the core when breakpoints or watchpoints are reached:
This bit can be read and written from JTAG. |
| 3 | This bit must be clear. |
| 2 | Used to disable interrupts:
|
| 1 | Used to force the value on DBGRQ. |
| 0 | Used to force the value on DBGACK. |