User`s guide

Table Of Contents
4–58 User Commands
User Commands
flasherase
flasherase
The flasherase command erases data from flash memory.
Format
flasherase [starting_offset [bytes_to_erase]]
Parameters
starting_offest
Specifies the offset, in bytes, into the flash where data will be erased. If not provided,
the entire flash will be erased.
bytes_to_erase
Specifies how many bytes to erase. If not specified, all bytes from the starting_offset
through the rest of the flash will be erased.
Description
The flasherase command clears flash memory on boards equipped with flash. The
area to be erased, that is, filled with zeros, can be specified or calculated by the
flasherase command.
Example
AlphaPC164> romlist
ROM image header found at offset: 0x000000
Header Size......... 0x38 (56) bytes
Image Checksum...... 0x45b0 (17840)
Memory Image Size... 0xBA40 (47680 = 46 KB)
Compression Type.... 0
Image Destination... 0x0000000000300000
Header Version...... 2
Firmware ID......... 6 - Alpha Evaluation Board Fail-Safe Booter
ROM Image Size...... 0xBA40 (47680 = 46 KB)
Firmware ID (Opt.).. 0202009702121228 (.......
ROM offset.......... 0x00000000
Header Checksum..... 0xfad4
ROM image header found at offset: 0x010000
Header Size......... 0x38 (56) bytes
Image Checksum...... 0xc63c (50748)
Memory Image Size... 0x280B4 (164020 = 160 KB)