MC912DG128A Motorola, MC912DG128A Datasheet - Page 333

no-image

MC912DG128A

Manufacturer Part Number
MC912DG128A
Description
Microcontrollers
Manufacturer
Motorola
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC912DG128ACPV
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC912DG128ACPV
Manufacturer:
FREE
Quantity:
20 000
Part Number:
MC912DG128ACPV 5K91D
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
MC912DG128ACPVE
Manufacturer:
MICREL
Quantity:
9 982
Part Number:
MC912DG128ACPVE
Manufacturer:
FREESCALE
Quantity:
1 200
Part Number:
MC912DG128ACPVE
Manufacturer:
FREESCALE
Quantity:
1 970
Part Number:
MC912DG128ACPVE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC912DG128ACPVE
Manufacturer:
FREESCALE
Quantity:
1 970
Part Number:
MC912DG128ACPVER
Manufacturer:
STM
Quantity:
1 244
Part Number:
MC912DG128ACPVER
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC912DG128AMPV
Manufacturer:
AD
Quantity:
16
Part Number:
MC912DG128AMPVE
Manufacturer:
FREESCALE
Quantity:
2 902
Part Number:
MC912DG128AVPVE
Quantity:
36
BDM Commands
7-dev
MOTOROLA
WRITE_BD_WORD
READ_BD_WORD
WRITE_BD_BYTE
1. Use these commands only for reading/writing to BDM locations
READ_BD_BYTE
BACKGROUND
WRITE_WORD
mally in the HC12 MCU memory map
memory map, there needs to be a way to decide which physical locations are being accessed by the hardware BDM com-
mands
application locations
cess cycles of the READ_BD and WRITE_BD commands
the BDM locations even if the application program is running out of the same memory area in the normal application mem-
ory map
READ_WORD
WRITE_BYTE
READ_BYTE
Command
.
This gives rise to needing separate memory access commands for the BDM locations as opposed to the normal
.
(1)
(1)
(1)
(1)
.
In logic, this is accomplished by momentarily enabling the BDM memory resources, just for the ac-
Opcode (Hex)
The BDM command set consists of two types: hardware and firmware.
Hardware commands allow target system memory to be read or
written.Target system memory includes all memory that is accessible by
the CPU12 including EEPROM, on-chip I/O and control registers, and
external memory that is connected to the target HC12 MCU.Hardware
commands are implemented in hardware logic and do not require the
HC12 MCU to be in BDM mode for execution.The control logic watches
the CPU12 buses to find a free bus cycle to execute the command so the
background access does not disturb the running application programs. If
a free cycle is not found within 128 BCLK cycles, the CPU12 is
momentarily frozen so the control logic can steal a cycle.Commands
implemented in BDM control logic are listed in
EC
CC
E4
E0
E8
C4
C0
C8
90
Table 56 Hardware Commands
.
Since these locations have the same addresses as some of the normal application
16-bit data out
16-bit data out
16-bit data out
16-bit address
16-bit address
16-bit address
16-bit address
16-bit address
16-bit address
16-bit address
16-bit address
16-bit data out
16-bit data in
16-bit data in
16-bit data in
16-bit data in
None
Development Support
Data
.
This logic allows the debugging system to unobtrusively access
Enter background mode if firmware enabled.
Read from memory with BDM in map (may steal cycles
if external access) data for odd address on low byte,
data for even address on high byte.
Read from memory with BDM in map (may steal cycles
if external access). Must be aligned access.
Read from memory with BDM out of map (may steal
cycles if external access) data for odd address on low
byte, data for even address on high byte.
Read from memory with BDM out of map (may steal
cycles if external access). Must be aligned access.
Write to memory with BDM in map (may steal cycles if
external access) data for odd address on low byte, data
for even address on high byte.
Write to memory with BDM in map (may steal cycles if
external access). Must be aligned access.
Write to memory with BDM out of map (may steal
cycles if external access) data for odd address on low
byte, data for even address on high byte.
Write to memory with BDM out of map (may steal
cycles if external access). Must be aligned access.
.
The BDM firmware ROM and BDM registers are not nor-
(1)
Description
Table
MC68HC912DT128A Rev 2.0
Background Debug Mode
56.
Development Support
333

Related parts for MC912DG128A