MC68HC12 MOTOROLA [Motorola, Inc], MC68HC12 Datasheet - Page 404

no-image

MC68HC12

Manufacturer Part Number
MC68HC12
Description
The MC68HC912DT128A microcontroller unit (MCU) is a 16-bit device composed of standard on-chip peripherals including a 16-bit central processing unit
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
Development Support
20.4.4 BDM Lockout
20.4.4.1 Enabling the BDM lockout
Technical Data
404
complete the requested write operation before a new serial command
disturbs the BDM SHIFTER register.
The external host should delay about 64 target BDMCLK cycles after a
TRACE1 or GO command before starting any new serial command. This
delay is needed because the BDM SHIFTER register is used as a
temporary data holding register during the exit sequence to user code.
BDM logic retains control of the internal buses until a read or write is
completed.If an operation can be completed in a single cycle, it does not
intrude on normal CPU12 operation.However, if an operation requires
multiple cycles, CPU12 clocks are frozen until the operation is complete.
The access to the MCU resources by BDM may be prevented by
enabling the BDM lockout feature. When enabled, the BDM lockout
mechanism prevents the BDM from being active. In this case the BDM
ROM is disabled and does not appear in the MCU memory map.
The BDM lockout is enabled by clearing NOBDML bit of EEMCR
register. The NOBDML bit is loaded at reset from the SHADOW word of
EEPROM module. Modifying the state of the NOBDML and
corresponding EEPROM SHADOW bit is only possible in special modes.
Please refer to
Enabling the BDM lockout feature is only possible in special modes
(SMODN=0) and is accomplished by the following steps.
1. Remove the SHADOW word protection by clearing SHPROT bit in
2. Clear NOSHW bit in EEMCR register to make the SHADOW word
3. Program bit 7 of the high byte of the SHADOW word like a regular
EEPROT register.
visible at $0FC0-$0FC1.
EEPROM location at address $0FC0 (write $7F into address
$0FC0). Do not program other bits of the high byte of the
Development Support
EEPROM Memory
for NOBDML information.
MC68HC912DT128A — Rev 4.0
MOTOROLA

Related parts for MC68HC12