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.
Содержание ADSP-BF535 Blackfin
Страница 80: ...Development Tools 1 26 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 312: ...Working With Memory 6 86 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 332: ...System Interfaces 7 20 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 360: ...Dynamic Power Management Controller 8 28 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 446: ...Beginning and Ending an SPI Transfer 10 40 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 522: ...Timing Examples 11 76 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 562: ...IrDA Support 12 40 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 608: ...PCI I O Issues 13 46 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 672: ...References 14 64 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 810: ...SDRAM Controller SDC 18 86 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 811: ...ADSP BF535 Blackfin Processor Hardware Reference 18 87 External Bus Interface Unit...
Страница 812: ...SDRAM Controller SDC 18 88 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 860: ...DMA Bus Debug Registers 20 30 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 908: ...SDRAM Controller External Bus Interface Unit B 36 ADSP BF535 Blackfin Processor Hardware Reference...