Digilent Serial Flash Utility User Manual

Page 2

Advertising
background image

Serial Flash Utility Reference Manual

www.digilentinc.com

page 2 of 3

Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners.

M25P32

Micron/ST Microelectronics/Numonyx 32 Mbit part

M25P64

Micron/ST Microelectronics/Numonyx 64 Mbit part

M25P128

Micron/ST Microelectronics/Numonyx 128 Mbit part

N25Q128

Micron 128 Mbit part

AT45DB08

Atmel 8Mbit part

-id

Read and print the manufacturer id code from the device.

-w <filename>

Write the contents of the specified file to the memory device. When writing, sector erase
commands will be used to erase sectors in the flash memory device that written. This erase
can be suppressed by using the –NE option.

-r <filename>

Read the contents of the memory device and write it to specified file.

-e

Erase the range of sectors specified by the –a and –l parameters. This is done using sector
erase commands.

-E

Bulk erase the entire flash memory device before programming. This is done by default when
writing to the memory device.

-NE

Don’t erase the device before programming.

-a <address>

Specify the device memory address at which to start reading or writing. The default starting
address is 0 if this is not specified. The value can be given as either a decimal number of a
hexadecimal number (using the ‘C language’ 0xABCD syntax for specifying a hexadecimal
value).

-l <length>

Specify the number of bytes to read or write. The value can be given in either decimal or
hexadecimal. If this option is not specified when writing the contents of a file to the memory
device the entire contents of the file will be programmed. If this option is given but is greater
than the length of the file, only the number of bytes specified by the source file will be written.
If this option is not specified when reading, the entire contents of memory (starting at the
address specified by the -a option) will be read from the memory device and written to the file.

-fb, -fi, -fh

Specify the file data format:

-fb

, raw binary;

-fi

, Intel hex file format;

-fh

generic hex file

format. For the raw binary format, the file data is written to memory unmodified, or the memory
data is written to the file unmodified. The generic hex file format assumes each line in the
source file contains a series of bytes as two digit hexadecimal numbers separated by spaces.

Advertising