Maxim-integrated MAXQ622 Manual do Utilizador Página 199

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 255
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 198
MAXQ612/MAXQ622 Users Guide
Maxim Integrated 14-5
14.2 Breakpoint Registers
The MAXQ612/MAXQ622 microcontrollers incorporate six breakpoint registers (BP0 to BP5) that are configurable by
the host for establishing different types of breakpoint mechanisms. The first four breakpoint registers (BP0 to BP3)
are 16-bit registers that are configurable as program memory address breakpoints. When enabled, the debug engine
forces a break when a match between the breakpoint register and the program memory execution address occurs. The
final two 16-bit breakpoint registers (BP4, BP5) are configurable in one of two possible capacities. They can be config-
ured as data memory address breakpoints or can be configured to support register access breakpoints. In either case,
if breakpoints are enabled and the defined breakpoint match occurs, the debug engine generates a break condition.
14.2.1 Breakpoint n Register (BPn, n = 0 to 3)
These registers are accessible only through background mode read/write commands. These four registers serve as
program memory address breakpoints. When DME bit is set in background mode, the debug engine monitors the
program address bus activity while the CPU is executing the user program. If an address match is detected, a break
occurs, allowing the debug engine to take control of the CPU and enter debug mode.
14.2.2 Breakpoint 4 Register (BP4)
This register is accessible only through background mode read/write commands.
When (REGE = 0): This register serves as one of the two data memory address breakpoints. When DME is set in
background mode, the debug engine monitors the data memory address bus activity while the CPU is executing the
Table 14-1. Background Mode Commands (continued)
**Module Specifier 3:0 {0 to 15}
*Register Index within Module {0 to 31}
OP CODE COMMAND OPERATION
0001–1000 Write BP3
Write data to the BP3. The contents of ICDB are loaded into the BP3 register by the debug
engine at the end of data transfer cycles. Data is transferred with the least significant byte first.
0001–1001 Write BP4
Write data to the BP4. The contents of ICDB are loaded into the BP4 register by the debug
engine at the end of data transfer cycles. Data is transferred with the least significant byte first.
0001–1010 Write BP5
Write data to the BP5. The contents of ICDB are loaded into the BP5 register by the debug
engine at the end of data transfer cycles. Data is transferred with the least significant byte first.
0001–1111 Debug
Debug command. This command forces the debug engine into debug mode and halts the
CPU operation at the completion of the current instruction after the debug command is recog-
nized by the debug engine.
15 0
Breakpoint 0 Register (BP0)
Breakpoint 1 Register (BP1)
Breakpoint 2 Register (BP2)
Breakpoint 3 Register (BP3)
1
s
1
s
1
s
1
s
1
s
1
s
1
s
1
s
1
s
1
s
1
s
1
s
1
s
1
s
1
s
1
s
Power-On Reset and Test-Logic-Reset
Read (r), Write (w), or Special (s) access
15 0
Breakpoint 4 Register (BP4) (REGE = 0)
x x x x x x x
Breakpoint 4 Register (BP4) (REGE = 1)
1
s
1
s
1
s
1
s
1
s
1
s
1
s
1*
s
1*
s
1*
s
1*
s
1*
s
1**
s
1**
s
1**
s
1**
s
Power-On Reset and Test-Logic-Reset
Read (r), Write (w), or Special (s) access
Vista de página 198
1 2 ... 194 195 196 197 198 199 200 201 202 203 204 ... 254 255

Comentários a estes Manuais

Sem comentários