M5251C3 Evaluation Board Users Guide, Rev. 0
2-14
Freescale Semiconductor
UART0, and UART1. Refer to the
MCF5407 Reference 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
2.4.15
HELP (Help)
Usage: HELP <command>
The HELP command displays a brief syntax of the commands available within dBUG. In addition, the
address of where user code may start is given. If command is provided, then a brief listing of the syntax of
the specified command is displayed.
Examples:
To obtain a listing of all the commands available within dBUG, the command is:
help
To obtain help on the breakpoint command, the command is:
help br
2.4.16
LR (Loop Read)
Usage: LR <width> addr
The LR command continually reads the data at addr until a key is pressed. The optional <width> specifies
the size of the data to be read. If no <width> is specified, the command defaults to reading word sized data.
Example:
To continually read the longword data from address 0x20000, the command is:
lr.l 20000
2.4.17
LW (Loop Write)
Usage: LW <width> addr data
The LW command continually writes data to addr. The optional width specifies the size of the access to
memory. The default access size is a word.
Examples:
To continually write the longword data 0x12345678 to address 0x20000, the command is:
lw.l 20000 12345678
Note that the following command writes 0x78 into memory:
lw.b 20000 12345678
Summary of Contents for freescale M5251C3
Page 1: ...Document Number M5251C3UG Rev 0 05 2006 M5251C3 Evaluation Board Users Guide ...
Page 6: ...M5251C3 Evaluation Board Users Guide Rev 0 vi Freescale Semiconductor ...
Page 18: ...M5251C3 Evaluation Board Users Guide Rev 0 1 12 Freescale Semiconductor ...
Page 42: ...M5251C3 Evaluation Board Users Guide Rev 0 2 24 Freescale Semiconductor ...
Page 68: ...M5251C3 Evaluation Board Users Guide Rev 0 B 6 Freescale Semiconductor ...