Watchpoint Unit
20-4
ADSP-BF535 Blackfin Processor Hardware Reference
To enable the Watchpoint Unit, the
WPPWR
bit in the
WPIACTL
register
must be set. If
WPPWR=1
, then the individual watchpoints and watchpoint
ranges may be enabled using the specific enable bits in the
WPIACTL
and
WPDACTL
MMRs. If
WPPWR=0
, then all watchpoint activity is disabled.
Instruction Watchpoints
Each instruction watchpoint is controlled by three bits in the
WPIACTL
reg-
ister, as shown in
Table 20-2
.
When two watchpoints are associated to form a range, two additional bits
are used, as shown in
Table 20-3
.
Code patching allows software to replace sections of existing code with
new code. The watchpoint registers are used to trigger an exception at the
start addresses of the earlier code. The exception routine then vectors to
the location in memory that contains the new code.
Table 20-2. WPIACTL Control Bits
Bit Names
Description
EMUSWx
Determines whether an instruction-address match causes either an
emulation event or an exception event.
WPICNTENx Enables
the
16-bit counter that counts the number of address
matches. If the counter is disabled, then every match causes an
event.
WPIAENx Enables
the
address watchpoint activity.
Table 20-3. WPIACTL Watchpoint Range Control Bits
Bit Names
Description
WPIRENxy
Indicates the two watchpoints that are to be associated to form a
range.
WPIRINVxy
Determines whether an event is caused by an address within the
range identified or outside of the range identified.
Summary of Contents for ADSP-BF535 Blackfin
Page 80: ...Development Tools 1 26 ADSP BF535 Blackfin Processor Hardware Reference...
Page 312: ...Working With Memory 6 86 ADSP BF535 Blackfin Processor Hardware Reference...
Page 332: ...System Interfaces 7 20 ADSP BF535 Blackfin Processor Hardware Reference...
Page 360: ...Dynamic Power Management Controller 8 28 ADSP BF535 Blackfin Processor Hardware Reference...
Page 446: ...Beginning and Ending an SPI Transfer 10 40 ADSP BF535 Blackfin Processor Hardware Reference...
Page 522: ...Timing Examples 11 76 ADSP BF535 Blackfin Processor Hardware Reference...
Page 562: ...IrDA Support 12 40 ADSP BF535 Blackfin Processor Hardware Reference...
Page 608: ...PCI I O Issues 13 46 ADSP BF535 Blackfin Processor Hardware Reference...
Page 672: ...References 14 64 ADSP BF535 Blackfin Processor Hardware Reference...
Page 810: ...SDRAM Controller SDC 18 86 ADSP BF535 Blackfin Processor Hardware Reference...
Page 811: ...ADSP BF535 Blackfin Processor Hardware Reference 18 87 External Bus Interface Unit...
Page 812: ...SDRAM Controller SDC 18 88 ADSP BF535 Blackfin Processor Hardware Reference...
Page 860: ...DMA Bus Debug Registers 20 30 ADSP BF535 Blackfin Processor Hardware Reference...