![background image](http://html2.mh-extra.com/html/rabbit/6000/6000_user-manual_3115352363.webp)
Rabbit 6000 User’s Manual
digi.com
363
32.2 Dependencies
32.2.1 I/O Pins
There are no I/O pins associated with breakpoints.
32.2.2 Clocks
There are no clocks associated with breakpoints.
32.2.3 Other Registers
There are no other registers associated with breakpoints.
32.2.4 Interrupts
When an enabled address match occurs for a given breakpoint, a breakpoint interrupt occurs. The break-
point that caused the interrupt must be determined by reading BDCR, which also clears the interrupt. Any
of the breakpoint interrupts can be enabled by writing to BDCR.
The breakpoint interrupt vector is in the EIR at offset 0x140; note that this is a different vector address
than in previous Rabbit processors. It is always set to Interrupt Priority 3, and is the highest priority inter-
rupt; if two Interrupt Priority 3 vectors are pending, the breakpoint interrupt will always be handled first.
32.3 Operation
The following steps must be taken to enable breakpoints:
1. Write the vector to the interrupt service routine to the external interrupt table.
2. Write the desired breakpoint addresses to the appropriate breakpoint address registers (BxAyR,
where x is the breakpoint and y is the byte of the address, 0-2).
3. Write an address mask for the given breakpoints (BxMyR).
4. Select the breakpoint address match type (execute, data read, data write) by writing to the appropri-
ate BxCR.
5. Enable the desired breakpoints by writing to BDCR.
32.3.1 Handling Interrupts
The following actions occur within the interrupt service routine.
•
Which breakpoints are pending must be determined by reading BDCR. This also clears the pending
breakpoints.
•
The desired breakpoint action should be taken.
•
If single-step functionality is desired, the breakpoint interrupt should be re-enabled by writing the
appropriate bit to BDCR. If this is done, the interrupt handler needs to be exited in a particular manner
(see below).
Summary of Contents for 6000
Page 1: ...Rabbit 6000 Microprocessor User s Manual 90001108_J...
Page 11: ...Rabbit 6000 User s Manual digi com 11 1 3 Block Diagram Figure 1 1 Rabbit 6000 Block Diagram...
Page 43: ...Rabbit 6000 User s Manual digi com 43 4 1 1 Block Diagram...
Page 57: ...Rabbit 6000 User s Manual digi com 57 5 1 1 Block Diagram...
Page 88: ...Rabbit 6000 User s Manual digi com 88 7 2 Block Diagram...
Page 115: ...Rabbit 6000 User s Manual digi com 115 11 1 1 Block Diagram...
Page 127: ...Rabbit 6000 User s Manual digi com 127 12 1 1 Block Diagram...
Page 138: ...Rabbit 6000 User s Manual digi com 138 13 1 1 Block Diagram...
Page 154: ...Rabbit 6000 User s Manual digi com 154 15 1 1 Block Diagram...
Page 163: ...Rabbit 6000 User s Manual digi com 163 16 1 1 Block Diagram...
Page 170: ...Rabbit 6000 User s Manual digi com 170 17 1 1 Block Diagram...
Page 177: ...Rabbit 6000 User s Manual digi com 177 18 1 1 Block Diagram...
Page 186: ...Rabbit 6000 User s Manual digi com 186 19 1 1 Block Diagram...
Page 230: ...Rabbit 6000 User s Manual digi com 230 22 2 Block Diagram...
Page 234: ...Rabbit 6000 User s Manual digi com 234 Figure 22 3 Sample Slow A D Converter Circuit...
Page 287: ...Rabbit 6000 User s Manual digi com 287 25 1 1 Block Diagram...
Page 310: ...Rabbit 6000 User s Manual digi com 310 26 1 1 Block Diagram...
Page 323: ...Rabbit 6000 User s Manual digi com 323 28 1 1 Block Diagram...
Page 351: ...Rabbit 6000 User s Manual digi com 351 31 1 4 Block Diagram...
Page 361: ...Rabbit 6000 User s Manual digi com 361 32 1 1 Block Diagram...
Page 369: ...Rabbit 6000 User s Manual digi com 369 33 2 Block Diagram...
Page 390: ...Rabbit 6000 User s Manual digi com 390 35 1 1 Block Diagram...
Page 408: ...Rabbit 6000 User s Manual digi com 408...
Page 410: ...Rabbit 6000 User s Manual digi com 410...
Page 411: ...Rabbit 6000 User s Manual digi com 411...
Page 420: ...Rabbit 6000 User s Manual digi com 420 Figure 37 1 Memory Read and Write Cycles...