
Fast Background Debug Module (FBDM)
MC9S12T64Revision 1.1.1
532
Fast Background Debug Module (FBDM)
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
The BDM hardware commands are listed in
Table 98
.
The READ_BD and WRITE_BD commands are used for reading the on
standard BDM firmware lookup table locations and for reading and
writing to the BDM register locations. These locations are not normally
in the system memory map but share addresses with the application in
memory.
To distinguish between physical memory locations that share the same
address, BDM memory resources are enabled just for the READ_BD
and WRITE_BD access cycle. This allows the BDM system to access
Table 98 Hardware Commands
Command
Opcode
(hex)
Data
Description
BACKGROUND
90
None
Enter background debug mode if firmware is enabled.
READ_BD_BYTE
E4
16-bit address
16-bit data out
Read from memory with standard BDM firmware lookup table
in map. Odd address data on low byte; even address data on
high byte
READ_BD_WORD
EC
16-bit address
16-bit data out
Read from memory with standard BDM firmware lookup table
in map
.
Must be aligned access.
READ_BYTE
E0
16-bit address
16-bit data out
Read from memory with standard BDM firmware lookup table
out of map. Odd address data on low byte; even address data
on high byte
READ_WORD
(single wire mode)
E8
16-bit address
16-bit data out
Read from memory with standard BDM firmware lookup table
out of map
.
Must be aligned access.
READ_WORD
(SPI mode)
E8
16-bit address
16-bit data out
/ next address
Read from memory with standard BDM firmware lookup table
out of map
.
Must be aligned access. SPI interface only: next
address must be sent in with data out, use address = $FFFF
to end read word operation.
WRITE_BD_BYTE
C4
16-bit address
16-bit data in
Write to memory with standard BDM firmware lookup table in
map. Odd address data on low byte; even address data on
high byte
WRITE_BD_WORD
CC
16-bit address
16-bit data in
Write to memory with standard BDM firmware lookup table in
map
.
Must be aligned access
WRITE_BYTE
C0
16-bit address
16-bit data in
Write to memory with standard BDM firmware lookup table out
of map. Odd address data on low byte; even address data on
high byte
WRITE_WORD
C8
16-bit address
16-bit data in
Write to memory with standard BDM firmware lookup table out
of map. Must be aligned access.
F
Freescale Semiconductor, Inc.
n
.