MC68HC912D60A MOTOROLA [Motorola, Inc], MC68HC912D60A Datasheet - Page 389

no-image

MC68HC912D60A

Manufacturer Part Number
MC68HC912D60A
Description
Microcontrollers
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
MC68HC912D60A — Rev 3.0
MOTOROLA
BDMACT — Background Mode Active Status
ENTAG — Tagging Enable
SDV — Shifter Data Valid
TRACE — Asserted by the TRACE1 command
BDMACT becomes set as active BDM mode is entered so that the
BDM firmware ROM is enabled and put into the map. BDMACT is
cleared by a carefully timed store instruction in the BDM firmware as
part of the exit sequence to return to user code and remove the BDM
memory from the map. This bit has 4 clock cycles write delay.
The user should be careful that the state of the BDMACT bit is not
unintentionally changed with the WRITE_NEXT firmware command.
If it is unintentionally changed from 1 to 0, it will cause a system
runaway because it would disable the BDM firmware ROM while the
CPU12 was executing BDM firmware. The following two commands
show how BDMACT may unintentionally get changed from 1 to 0.
WRITE_X with data $FEFE
WRITE_NEXT with data $C400
The first command writes the data $FEFE to the X index register. The
second command writes the data $C4 to the $FF00 INSTRUCTION
register and also writes the data $00 to the $FF01 STATUS register.
Set by the TAGGO command and cleared when BDM mode is
entered. The serial system is disabled and the tag function enabled
16 cycles after this bit is written.
Shows that valid data is in the serial interface shift register. Used by
the BDM firmware.
Freescale Semiconductor, Inc.
For More Information On This Product,
0 = BDM is not active. BDM ROM and registers are not in map.
1 = BDM is active and waiting for serial commands. BDM ROM and
0 = Tagging not enabled, or BDM active.
1 = Tagging active. BDM cannot process serial commands while
0 = No valid data. Shift operation is not complete.
1 = Valid Data. Shift operation is complete.
registers are in map
tagging is active.
Go to: www.freescale.com
Development Support
Background Debug Mode
Development Support
Technical Data
389

Related parts for MC68HC912D60A