![Freescale Semiconductor ColdFire MCF5211 Скачать руководство пользователя страница 506](http://html1.mh-extra.com/html/freescale-semiconductor/coldfire-mcf5211/coldfire-mcf5211_reference-manual_2330619506.webp)
Debug Module
MCF5213 ColdFire® Integrated Microcontroller Reference Manual, Rev. 3
26-38
Freescale Semiconductor
26.5.3.3.13
Read Debug Module Register (
RDMREG
)
Read the selected debug module register and return the 32-bit result. The only valid register selection for
the
RDMREG
command is CSR (DRc equal 0x00). This read of the CSR clears CSR[FOF, TRG, HALT,
BKPT]; as well as the trigger status bits (CSR[BSTAT]) if a level-2 breakpoint is triggered or a level-1
breakpoint is triggered and no level-2 breakpoint has been enabled.
Command/Result Formats:
shows the definition of DRc encoding.
Command Sequence:
Figure 26-41.
RDMREG
Command Sequence
Operand Data:
None
Result Data:
The contents of the selected debug register are returned as a longword value. The
data is returned most-significant word first.
26.5.3.3.14
Write Debug Module Register (
WDMREG
)
The operand (longword) data is written to the specified debug module register. All 32 bits of the register
are altered by the write. DSCLK must be inactive while the debug module register writes from the CPU
accesses are performed using the WDEBUG instruction.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Command
0x2
0xD
100
DRc
Result
D[31:16]
D[15:0]
Figure 26-40.
RDMREG
Command/Result Formats
Table 26-23. Definition of DRc Encoding—Read
DRc[4:0]
Debug Register Definition
Mnemonic
Initial State
Page
0x00
Configuration/Status
CSR
0x0090_0000
0x01–0x1F
Reserved
—
—
—
RDMREG
???
XXX
MS RESULT
NEXT CMD
LS RESULT
XXX
’ILLEGAL’
NEXT CMD
’NOT READY’
Содержание ColdFire MCF5211
Страница 48: ...Overview MCF5213 ColdFire Integrated Microcontroller Reference Manual Rev 3 1 14 Freescale Semiconductor...
Страница 158: ...Reset Controller Module MCF5213 ColdFire Integrated Microcontroller Reference Manual Rev 3 9 10 Freescale Semiconductor...
Страница 218: ...Edge Port Module EPORT MCF5213 ColdFire Integrated Microcontroller Reference Manual Rev 3 13 8 Freescale Semiconductor...
Страница 234: ...DMA Controller Module MCF5213 ColdFire Integrated Microcontroller Reference Manual Rev 3 14 16 Freescale Semiconductor...
Страница 378: ...I2 C Interface MCF5213 ColdFire Integrated Microcontroller Reference Manual Rev 3 22 16 Freescale Semiconductor...
Страница 468: ...FlexCAN MCF5213 ColdFire Integrated Microcontroller Reference Manual Rev 3 25 30 Freescale Semiconductor...