DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

AN2104 View Datasheet(PDF) - Freescale Semiconductor

Part Name
Description
Manufacturer
AN2104 Datasheet PDF : 20 Pages
1 2 3 4 5 6 7 8 9 10 Next Last
Application Note
Freescale Semiconductor, Inc.
Table 1. BDM Hardware Commands
Command
Opcode
(Hex)
Data
Description
BACKGROUND
90
None
Enter background mode (if firmware enabled).
READ_BD_BYTE
E4
16-bit address
16-bit data out
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.
FF01,
READ_BD_BYTE $FF01. Running user code. (BGND
0000 0000 (out) instruction is not allowed.)
STATUS(1)
E4
FF01,
1000 0000 (out)
READ_BD_BYTE $FF01. BGND instruction is allowed.
FF01,
READ_BD_BYTE $FF01. Background mode active
1100 0000 (out) (waiting for single wire serial command).
READ_BD_WORD
EC
16-bit address Read from memory with BDM in map (may steal cycles if
16-bit data out external access) must be aligned access.
READ_BYTE
E0
16-bit address
16-bit data out
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_WORD
E8
16-bit address Read from memory with BDM out of map (may steal
16-bit data out cycles if external access) must be aligned access.
WRITE_BD_BYTE
C4
16-bit address
16-bit data in
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.
ENABLE_
FIRMWARE(2)
Write byte $FF01, set the ENBDM bit. This allows
C4
FF01,
1xxx xxxx (in)
execution of commands which are implemented in
firmware. Typically, read STATUS, OR in the MSB,
write the result back to STATUS.
WRITE_BD_WORD
CC
16-bit address Write to memory with BDM in map (may steal cycles if
16-bit data in external access) must be aligned access.
WRITE_BYTE
C0
16-bit address
16-bit data in
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_WORD
C8
16-bit address Write to memory with BDM out of map (may steal cycles
16-bit data in if external access) must be aligned access.
1. STATUS command is a specific case of the READ_BD_BYTE command.
2. ENABLE_FIRMARE is a specific case of the WRITE_BD_BYTE command.
AN2104
4
For More Information On This Product,
Go to: www.freescale.com

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]