Download MCF52235 ColdFire Integrated Microcontroller Reference Manual

Transcript
Debug Module
15
14
13
12
11
10
0x2
9
8
7
6
0x0
5
4
0x8
3
2
A/D
1
0
Register
D[31:16]
D[15:0]
Figure 31-19. WAREG/WDREG Command Format
Command Sequence:
WAREG/WDREG
???
MS DATA
’NOT READY’
LS DATA
’NOT READY’
XXX
BERR
NEXT CMD
’NOT READY’
NEXT CMD
’CMD COMPLETE’
Figure 31-20. WAREG/WDREG Command Sequence
Operand Data:
Longword data is written into the specified address or data register. The data is
supplied most-significant word first.
Command complete status is indicated by returning 0xFFFF (with S cleared)
when the register write is complete.
Result Data:
31.4.1.5.3
Read Memory Location (READ)
Read data at the longword address. Address space is defined by BAAR[TT,TM]. Hardware forces
low-order address bits to 0s for word and longword accesses to ensure that word addresses are
word-aligned and longword addresses are longword-aligned.
Command/Result Formats:
15
14
Byte
13
12
11
10
0x1
9
8
7
0x9
6
5
4
3
0x0
Command
2
1
0
0x0
A[31:16]
A[15:0]
Result
Word
Command
X
X
X
0x1
X
X
X
X
X
0x9
D[7:0]
0x4
0x0
0x8
0x0
A[31:16]
A[15:0]
Result
Longword Command
D[15:0]
0x1
0x9
A[31:16]
A[15:0]
Result
D[31:16]
D[15:0]
Figure 31-21. READ Command/Result Formats
MCF52235 ColdFire® Integrated Microcontroller Reference Manual, Rev. 7
Freescale Semiconductor
31-26