XC912BC32CFU8 Motorola Semiconductor Products, XC912BC32CFU8 Datasheet - Page 333

no-image

XC912BC32CFU8

Manufacturer Part Number
XC912BC32CFU8
Description
M68HC12B Family Data Sheet
Manufacturer
Motorola Semiconductor Products
Datasheet
18.4.2.6 Breakpoint Data Register Low Byte
18.5 Instruction Tagging
M68HC12B Family — Rev. 8.0
MOTOROLA
NOTE:
Power on reset:
These bits are compared to the least significant byte of the data bus in full
breakpoint mode or the least significant byte of the address bus in dual address
modes. BKEN1, BKEN0, BKDBE, BK1ALE, and BKMBL control how this byte is
used in the breakpoint comparison.
After a power-on reset, registers BRKAH, BRKAL, BRKDH, and BRKDL are
cleared but these registers are not affected by normal resets.
The instruction queue and cycle-by-cycle CPU activity can be reconstructed in real
time or from trace history that was captured by a logic analyzer. However, the
reconstructed queue cannot be used to stop the CPU at a specific instruction,
because execution has already begun by the time an operation is visible outside
the MCU. A separate instruction tagging mechanism is provided for this purpose.
Executing the BDM TAGGO command configures two MCU pins for tagging.
Tagging information is latched on the falling edge of ECLK along with program
information as it is fetched. Tagging is allowed in all modes. Tagging is disabled
when BDM becomes active and BDM serial commands cannot be processed while
tagging is active.
TAGHI is a shared function of the BKGD pin.
TAGLO is a shared function of the PE3/LSTRB pin, a multiplexed I/O pin. For 1/4
cycle before and after the rising edge of the E clock, this pin is the LSTRB driven
output.
TAGLO and TAGHI inputs are captured at the falling edge of the E clock. A logic 0
on TAGHI and/or TAGLO marks (tags) the instruction on the high and/or low byte
of the program word that was on the data bus at the same falling edge of the E
clock.
Table 18-10
independently; the state of one pin does not affect the function of the other. The
presence of logic level 0 on either pin at the fall of ECLK performs the indicated
function. Tagging is allowed in all modes. Tagging is disabled when BDM becomes
active and BDM serial commands are not processed while tagging is active.
Address: $0025
Read:
Write:
Figure 18-15. Breakpoint Data Register Low (BRKDL)
shows the functions of the two tagging pins. The pins operate
Bit 7
Bit 7
0
Development Support
6
6
0
5
5
0
4
4
0
3
3
0
2
2
0
Development Support
Instruction Tagging
1
1
0
Data Sheet
Bit 0
Bit 0
0
333

Related parts for XC912BC32CFU8