Chapter 2. Using the Monitor/Debug Firmware
2-21
Commands
IRM
Internal Register Modify
Usage:
IRM module.register data
This command modifies the contents of the internal registers of different modules inside the
MCF5407. In the command line, module refers to the module name where the register is
located and register refers to the specific register to modify. The data parameter specifies
the new value to be written into the register.
The registers are organized according to the module to which they belong. The available
modules on the MCF5407 are CS, DMA0, DMA1, DMA2, DMA3, DRAMC, PP, MBUS,
SIM, TIMER1, TIMER2, UART0 and UART1. Refer to the MCF5407 user’s manual for
more information on these modules and the registers they contain.
Example:
To modify the TMR register of the first Timer module to the value 0x0021, the command is:
irm
timer1.tmr 0021
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
n
c
.
..