User`s guide

Table Of Contents
User Commands 4–55
User Commands
flash
flash
The flash command programs data into flash memory.
Format
flash [source_address [destination_offset [bytes_to_write]]]
Parameters
source_address
Specifies the address in memory of the data to be programmed into the flash. The
default is the default boot address (see bootadr).
destination_offset
Specifies the offset, in bytes, into the flash where the first byte of source data will
be programmed. If not provided, you are prompted with a default
destination_offset value. The destination_offset combined with the size the data to
be written must fit within the remaining space in the flash. Also note that ROM
images containing the standard Makerom header must be longword aligned. See
the MAKEROM chapter of the Alpha Microprocessors Motherboard Software
Design Tools User Guide.
bytes_to_write
Specifies how many bytes to write beginning at the source_address. This parameter
causes the flash command to ignore any standard header that might be included in
the source data. This value defaults to the value in the image size field of the
standard header. If not specified and if there is no standard image at the beginning of
the source data, this value is assumed to be the remaining space in the flash.
Description
The flash command programs the flash memory on the motherboards containing this
type of memory. It reads data from memory at the specified source address and
programs it into the flash at the specified offset. The amount of data written can be
specified by the user or determined by the flash command.