Specifications

ROM Monitor Commands
ROM Monitor B-7
reset or i—Resets and initializes the system, similar to power-on.
setDisplays all the monitor variables and their values.
stack [num]Produces a stack trace of the num frames. The default is 5. The command dumps
from the kernel stack and the process stack (if one is available) of a booted image.
For example:
rommon 5 > stack 8
Stack trace:
PC = 0x02004adc
Frame 00: FP = 0x02003938 RA = 0x02005f2a
Frame 01: FP = 0x02003948 RA = 0x02005df0
Frame 02: FP = 0x02003960 RA = 0x020050ee
Frame 03: FP = 0x02003994 RA = 0x02004034
Frame 04: FP = 0x02003b00 RA = 0x00012ca6
sync—Writes the working in-core copy of the environment variables and aliases to NVRAM so
that they are read on the next reset.
sysret—Displays the return information from the last booted system image. This includes the
reason for terminating the image, a stack dump of up to eight frames, and if an exception is
involved, the address where the exception occurred.
For example:
rommon 8 > sysret
System Return Info:
count: 19, reason: user break
pc:0x60043754, error address: 0x0
Stack Trace:
FP: 0x80007e78, PC: 0x60043754
FP: 0x80007ed8, PC: 0x6001540c
FP: 0x80007ef8, PC: 0x600087f0
FP: 0x80007f18, PC: 0x80008734
unalias name—Removes name and its associated value from the alias list.
unset varname—Removes the variable name from the variable list.
xmodem [- yc] destination_file_name—Downloads a system image to the boot Flash memory
over the console port. The -y option performs the download. The -c option performs the download
using 16-bit CRC error checking. The xmodem transfer protocol supports a 128-byte block size
and the transfer begins with a block number starting at 1, which contains file data. This is the
default transfer protocol.