Background Debug Mode (BDM) Interface
MCF5253 Reference Manual, Rev. 1
20-14
Freescale Semiconductor
Result Data:
The contents of the selected register are returned as a longword value. The data is returned most significant
word first.
20.3.4.1.2
Write Address/Data Register (WAREG and WDREG)
WAREG and WDREG write the operand longword data to the specified address or data register. All 32
register bits are altered by the write. A bus error response is returned if the CPU core is not halted.
Command Format:
Command Sequence:
Figure 20-10. Write A/D Register Command Sequence
Operand Data:
Longword data is written into the specified address or data register. The data is supplied most significant
word first.
Result Data:
Command complete status is indicated by returning the data $FFFF (with the status bit cleared) when the
register write is complete.
20.3.4.1.3
Read Memory Location (READ)
The READ command reads the operand data from the memory location specified by the longword address.
The address space is defined by the contents of the low-order 5 bits {TT, TM} of the BDM Address
Attribute Register (BAAR). The hardware forces the low-order bits of the address to zeros for word and
longword accesses to ensure that operands are always accessed on natural boundaries: words on
0-modulo-2 addresses, longwords on 0-modulo-4 addresses.
Table 20-8. WAREG/WDREG Command
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
$2
$0
$8
A/D
REGISTER
DATA [31:16]
DATA [15:0]
Next CMD
“Not Ready”
LS Data
BERR
WDREG/WAREG
???
MS Data
XXX
“Not Ready”
“Not Ready”
Next CMD
“Cmd Complete”
Summary of Contents for MCF5253
Page 1: ...Document Number MCF5253RM Rev 1 08 2008 MCF5253 Reference Manual...
Page 26: ...MCF5253 Reference Manual Rev 1 xxvi Freescale Semiconductor...
Page 32: ...MCF5253 Reference Manual Rev 1 xxxii Freescale Semiconductor...
Page 46: ...MCF5253 Introduction MCF5253 Reference Manual Rev 1 1 14 Freescale Semiconductor...
Page 62: ...Signal Description MCF5253 Reference Manual Rev 1 2 16 Freescale Semiconductor...
Page 98: ...Instruction Cache MCF5253 Reference Manual Rev 1 5 10 Freescale Semiconductor...
Page 104: ...Static RAM SRAM MCF5253 Reference Manual Rev 1 6 6 Freescale Semiconductor...
Page 128: ...Synchronous DRAM Controller Module MCF5253 Reference Manual Rev 1 7 24 Freescale Semiconductor...
Page 144: ...Bus Operation MCF5253 Reference Manual Rev 1 8 16 Freescale Semiconductor...
Page 176: ...System Integration Module SIM MCF5253 Reference Manual Rev 1 9 32 Freescale Semiconductor...
Page 198: ...Analog to Digital Converter ADC MCF5253 Reference Manual Rev 1 12 6 Freescale Semiconductor...
Page 246: ...DMA Controller MCF5253 Reference Manual Rev 1 14 18 Freescale Semiconductor...
Page 282: ...UART Modules MCF5253 Reference Manual Rev 1 15 36 Freescale Semiconductor...
Page 344: ...Audio Interface Module AIM MCF5253 Reference Manual Rev 1 17 46 Freescale Semiconductor...
Page 362: ...I2 C Modules MCF5253 Reference Manual Rev 1 18 18 Freescale Semiconductor...
Page 370: ...Boot ROM MCF5253 Reference Manual Rev 1 19 8 Freescale Semiconductor...