MC68HC912BD32CFU10 FREESCALE [Freescale Semiconductor, Inc], MC68HC912BD32CFU10 Datasheet - Page 241

no-image

MC68HC912BD32CFU10

Manufacturer Part Number
MC68HC912BD32CFU10
Description
Advance Information
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
BDM Commands
7-dev
WRITE_BD_WORD
1. Use these commands only for reading/writing to BDM locations
READ_BD_WORD
WRITE_BD_BYTE
READ_BD_BYTE
in the HC12 MCU memory map
map, there needs to be a way to decide which physical locations are being accessed by the hardware BDM commands
gives rise to needing separate memory access commands for the BDM locations as opposed to the normal application loca-
tions
READ_BD and WRITE_BD commands
even if the application program is running out of the same memory area in the normal application memory map
BACKGROUND
WRITE_WORD
READ_WORD
WRITE_BYTE
READ_BYTE
Command
.
In logic, this is accomplished by momentarily enabling the BDM memory resources, just for the access cycles of the
(1)
(1)
(1)
(1)
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 B-clock cycles, the CPU12 is
momentarily frozen so the control logic can steal a cycle.Commands
implemented in BDM control logic are listed in
Freescale Semiconductor, Inc.
.
EC
CC
C4
C0
C8
E4
E0
E8
Since these locations have the same addresses as some of the normal application memory
90
For More Information On This Product,
Table 56 Hardware Commands
.
This logic allows the debugging system to unobtrusively access the BDM locations
Go to: www.freescale.com
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
Development Support
None
Data
.
The BDM firmware ROM and BDM registers are not normally
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.
(1)
Description
Table
MC68HC912BD32 Rev 1.0
Background Debug Mode
56.
Development Support
.
.
This

Related parts for MC68HC912BD32CFU10