![background image](http://html2.mh-extra.com/html/rabbit/6000/6000_user-manual_3115352360.webp)
Rabbit 6000 User’s Manual
digi.com
360
32. B
REAKPOINTS
32.1 Overview
The Rabbit 6000 contains seven hardware breakpoints to support debugging. Each hardware breakpoint
consists of a 24-bit address match register and a 24-bit mask register. A breakpoint can be generated on an
address match for execution, data read, data write, or any combination thereof. The mask register serves to
mask off selected bits from the address compare. A “one” in a particular bit position in the mask register
inhibits the corresponding bit in the address match register from contributing to the address match condi-
tion.
When a match occurs, a Level 3 breakpoint interrupt is generated. Note that this means that breakpoints
behave differently when the processor is running at Interrupt Priority 3 — the interrupt is generated but will
not be handled until the processor drops to a lower priority.
In most cases, a code execution interrupt will be handled at the end of the instruction in which the match
occurred. However, because of the time required to perform a 24-bit address match in the processor, a code
execution breakpoint that is set on a single-byte, 2-clock instruction will not be enabled at the end of that
instruction, but the interrupt will instead occur at the end of the next instruction.
Note that a breakpoint may be forced to be pending by setting the corresponding bit in BDCR. This feature
allows a breakpoint request to be used as a virtual single-step request by always setting the appropriate bit
in the interrupt handler. There is a particular sequence of instructions required to exit properly when the
interrupt is left pending.
DMA transfers are treated as normal data reads and writes, although the DMA transfer will complete
before the interrupt is taken.
Breakpoints can be enabled for the User Mode, the System Mode, or both.
Another breakpoint feature is the ability to disable the RST 28h instruction. The RST 28h vector was often
used as a breakpoint feature by adding that instruction to code; by enabling a bit in BDCR, the RST 28h
instruction will execute as a NOP instead, providing an easy way to disable that type of breakpoint.
Содержание 6000
Страница 1: ...Rabbit 6000 Microprocessor User s Manual 90001108_J...
Страница 11: ...Rabbit 6000 User s Manual digi com 11 1 3 Block Diagram Figure 1 1 Rabbit 6000 Block Diagram...
Страница 43: ...Rabbit 6000 User s Manual digi com 43 4 1 1 Block Diagram...
Страница 57: ...Rabbit 6000 User s Manual digi com 57 5 1 1 Block Diagram...
Страница 88: ...Rabbit 6000 User s Manual digi com 88 7 2 Block Diagram...
Страница 115: ...Rabbit 6000 User s Manual digi com 115 11 1 1 Block Diagram...
Страница 127: ...Rabbit 6000 User s Manual digi com 127 12 1 1 Block Diagram...
Страница 138: ...Rabbit 6000 User s Manual digi com 138 13 1 1 Block Diagram...
Страница 154: ...Rabbit 6000 User s Manual digi com 154 15 1 1 Block Diagram...
Страница 163: ...Rabbit 6000 User s Manual digi com 163 16 1 1 Block Diagram...
Страница 170: ...Rabbit 6000 User s Manual digi com 170 17 1 1 Block Diagram...
Страница 177: ...Rabbit 6000 User s Manual digi com 177 18 1 1 Block Diagram...
Страница 186: ...Rabbit 6000 User s Manual digi com 186 19 1 1 Block Diagram...
Страница 230: ...Rabbit 6000 User s Manual digi com 230 22 2 Block Diagram...
Страница 234: ...Rabbit 6000 User s Manual digi com 234 Figure 22 3 Sample Slow A D Converter Circuit...
Страница 287: ...Rabbit 6000 User s Manual digi com 287 25 1 1 Block Diagram...
Страница 310: ...Rabbit 6000 User s Manual digi com 310 26 1 1 Block Diagram...
Страница 323: ...Rabbit 6000 User s Manual digi com 323 28 1 1 Block Diagram...
Страница 351: ...Rabbit 6000 User s Manual digi com 351 31 1 4 Block Diagram...
Страница 361: ...Rabbit 6000 User s Manual digi com 361 32 1 1 Block Diagram...
Страница 369: ...Rabbit 6000 User s Manual digi com 369 33 2 Block Diagram...
Страница 390: ...Rabbit 6000 User s Manual digi com 390 35 1 1 Block Diagram...
Страница 408: ...Rabbit 6000 User s Manual digi com 408...
Страница 410: ...Rabbit 6000 User s Manual digi com 410...
Страница 411: ...Rabbit 6000 User s Manual digi com 411...
Страница 420: ...Rabbit 6000 User s Manual digi com 420 Figure 37 1 Memory Read and Write Cycles...