Trace Unit
20-14
ADSP-BF535 Blackfin Processor Hardware Reference
Watchpoint Status Register (WPSTAT)
The
WPSTAT
register monitors the status of the watchpoints. It may be read
and written in Supervisor or Emulator modes only. When a watchpoint or
watchpoint range matches, this register reflects the source of the watch-
point. The status bits in the
WPSTAT
register are sticky, and all of them are
cleared when any write, regardless of the value, is performed to the
register.
Figure 20-8
shows the Watchpoint Status register.
Trace Unit
The Trace Unit stores a history of the last sixteen changes in program flow
taken by the program sequencer. The history allows the user to recreate
the program sequencer’s recent path.
The trace buffer can be enabled to cause an exception when full. The
exception service routine associated with the exception saves trace buffer
entries to memory. Thus, the complete path of the program sequencer
since the trace buffer was enabled can be recreated.
Changes in program flow because of zero-overhead loops are not stored in
the trace buffer. For debugging code that is halted within a zero-overhead
loop, the iteration count is available in the loop count registers,
LC0
and
LC1
.
The trace buffer can be configured to omit recording of changes in pro-
gram flow that match either the last entry or one of the last two entries.
Omitting one of these entries from the record prevents the trace buffer
from overflowing because of loops in the program. Because zero-overhead
loops are not recorded in the trace buffer, this feature can be used to pre-
vent trace overflow from loops that are nested four deep.
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...