tm1300 NXP Semiconductors, tm1300 Datasheet - Page 64

no-image

tm1300

Manufacturer Part Number
tm1300
Description
Tm-1300 Media Processor
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
tm1300-1.2
Quantity:
380
TM1300 Data Book
Figure 3-12. Instruction-breakpoint address-range registers.
Figure 3-13. Data-breakpoint address-range and value-compare registers.
3.9.2
The data-breakpoint address-range and compare-value
registers are shown in
ue of the data breakpoint registers is undefined. (MMIO-
register addresses shown are offset with respect to
MMIO_BASE.)
The data-breakpoint control register is shown in
Figure
(The register address shown is offset with respect to
MMIO_BASE.)
When the DC bits in the data breakpoint control register
are not set to ‘0’, data breakpoints are activated. When
the value of the DC bits is ‘1’ or ‘3’, any data address from
load operations (if the BL bit is set) and/or store opera-
tions (if the BS bit is set) issued by the DSPCPU is com-
pared against the low and high address-range values.
The DAC bit in the breakpoint control register determines
whether data addresses need to be inside or outside of
the range defined by the low and high address-range
registers. A successful comparison occurs when either:
Figure 3-14. Data-breakpoint control register.
3-14
MMIO_BASE
MMIO_BASE
MMIO_BASE
0x10 103C
0x10 1030
0x10 1034
0x10 1038
0x10 1004
0x10 1008
0x10 1020
3-14. On RESET, the BDCTL register is cleared.
offset:
offset:
offset:
Data Breakpoints
BDATAALOW (r/w)
BDATAAHIGH (r/w)
BDATAVAL (r/w)
BDATAMASK (r/w)
BDCTL (r/w)
BINSTLOW (r/w)
BINSTHIGH (r/w)
Figure
‘DVC’ Data Value Control:
‘BS’ Break on Store:
‘DC’ Data Control:
0
1
0
1
0
1
2
3
PRODUCT SPECIFICATION
3-13. After RESET, the val-
Breakpoint if data equal
Breakpoint if data not equal
Don’t check data stores
Do check data stores
No checking
Check data addresses
Check data values
Check data value and addresses
31
31
31
27
27
27
‘DAC’ Data Address Control:
‘BL’ Break on Load:
0
1
0
1
23
23
23
Breakpoint if address inside range
Breakpoint if address outside range
Don’t check data loads
Do check data loads
• DAC = ‘0’ and low
• DAC = ‘1’ and daddr < low or daddr > high.
Note that this comparison works for all addresses re-
gardless of the aperture to which they belong. When the
value of the DC bits is ‘2’ or ‘3’, any data value from load
operations (if the BL bit is set) and/or store operations (if
the BS bit is set) issued by the TM1300 CPU is compared
against the value in the BDATAVAL register. Only the
bits for which the corresponding BDATAMASK register
bits are set to ‘1’ will be used in the comparison. The
DVC bit in the breakpoint control register determines
whether the data value needs to be equal or not equal to
the comparison value. A successful comparison occurs
when either of the following are true:
• DVC = ‘0’ and (data & BDATAMASK) = (BDATAVAL &
• DVC = ‘1’ and (data & BDATAMASK) != (BDATAVAL &
BDATAMASK).
BDATAMASK).
Data Breakpoint Value Mask
Data Breakpoint Value
19
Address Range Start
19
Address Range End
19
Address Range Start
Address Range End
15
15
15
daddr
11
11
11
Philips Semiconductors
high, or
7
7
7
BS BL
3
3
3
DC
0
0
0

Related parts for tm1300