Tbufctl Register - Analog Devices ADSP-BF53x Blackfin Reference

Table of Contents

Advertisement

Trace Unit
The number of valid entries in
register. On every second read,
TBUFSTAT
each entry corresponds to two pieces of data, a total of
empties the
TBUF
Discontinuities that are the same as either of the last two entries in
the trace buffer are not recorded.
Because reading the trace buffer is a destructive operation, it is rec-
ommended that
code.
Note, if single-level compression has occurred, the least significant bit
(LSB) of the branch target address is set. If two-level compression has
occurred, the LSB of the branch source address is set.

TBUFCTL Register

The Trace Unit is enabled by two control bits in the Trace Buffer Control
register (
TBUFCTL
ting the
TBUFPWR
Trace Unit.
Figure 21-9
describes the Trace Buffer Control register (
, then the Trace Unit does not record discontinuities in the
TBUFOVF = 1
exception, NMI, and reset routines.
21-16
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
TBUF
register.
be read in a non-interruptible section of
TBUF
) register. First, the Trace Unit must be activated by set-
bit. If
TBUFPWR = 1
is held in the
TBUFCNT
is decremented. Because
TBUFCNT
, then setting
TBUFEN
field of the
reads
2 x TBUFCNT
to 1 enables the
). If
TBUFCTL

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adsp-bf56x blackfin

Table of Contents