21 DEBUG
The Blackfin processor's debug functionality is used for software debug-
ging. It also complements some services often found in an operating
system (OS) kernel. The functionality is implemented in the processor
hardware and is grouped into multiple levels.
A summary of available debug features is shown in
Table 21-1. Blackfin Debug Features
Debug Feature
Watchpoints
Trace History
Cycle Count
Performance
Monitoring
Watchpoint Unit
By monitoring the addresses on both the instruction bus and the data bus,
the Watchpoint Unit provides several mechanisms for examining program
behavior. After counting the number of times a particular address is
matched, the unit schedules an event based on this count.
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
Description
Specify address ranges and conditions that halt the processor
when satisfied.
Stores the last 16 discontinuous values of the Program Counter in
an on-chip trace buffer.
Provides functionality for all code profiling functions.
Allows internal resources to be monitored and measured
non-intrusively.
Table
21-1.
21-1