M5251C3 Evaluation Board Users Guide, Rev. 0
Freescale Semiconductor
2-17
Here is an example of the output from this command:
PC: 00000000 SR: 2000 [t.Sm.000...xnzvc]
An: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 01000000
Dn: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
2.4.22
RM (Register Modify)
Usage: RM reg data
The RM command modifies the contents of the register reg to data. The value for reg is the name of the
register, and the value for data may be a symbol name, or it is converted according to the user-defined
radix, normally hexadecimal.
dBUG preserves the registers by storing a copy of the register set in a buffer. The RM command updates
the copy of the register in the buffer. The actual value will not be written to the register until target code is
executed.
Examples:
To change register D0 on MC68000 and ColdFire to contain the value 0x1234, the command is:
rm D0 1234
2.4.23
RESET (Reset the Board and dBUG)
Usage: RESET
The RESET command resets the board and dBUG to their initial power-on states.
The RESET command executes the same sequence of code that occurs at power-on. If the RESET
command fails to reset the board adequately, cycle the power or press the reset button.
Examples:
To reset the board and clear the dBUG data structures, the command is:
reset
2.4.24
SET (Set Configurations)
Usage: SET <option value>
The SET command allows the setting of user-configurable options within dBUG. With no arguments, SET
displays the options and values available. The SHOW command displays the settings in the appropriate
format. The standard set of options is listed below.
•
baud—This is the baud rate for the first serial port on the board. All communications between
dBUG and the user occur using either 9600 or 19200 bps, eight data bits, no parity, and one stop
bit, 8N1, with no flow control.
•
base—This is the default radix for use in converting a number from its ASCII text representation
to the internal quantity used by dBUG. The default is hexadecimal (base 16), and other choices are
binary (base 2), octal (base 8), and decimal (base 10).
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 ...