User Manual
flint – Firmware Burning ToolsRev 1.50
Mellanox Technologies
36
3.2.3.6 Writing a Dword to Flash
To write one dword to Flash memory, use the following command line:
where:
device is the device the dword is written to.
addr is the address of the word to write.
data is the value of the word.
Example:
3.2.3.7 Writing a dword to Flash Without Sector Erase
To write one dword to Flash memory without sector erase , use the following command line:
where:
device – the device the dword is written to.
addr – the address of the word to write.
data – the value of the word.
Example:
Note that the result may be dependent on the Flash type. Usually, bitwise and between the speci-
fied word and the previous Flash contents will be written to the specified address.
3.2.3.8
Erasing a Sector
To erase a sector that contains a specified address, use the following command line:
where:
device is the device the sector is erased from, and
addr is the address of a word in the sector that you want to erase.
Example:
flint -d <device> ww addr data
flint -d /dev/mst/mt23108_pci_conf01 ww 0x10008 0x5a445a44
flint -d <device> wwne addr data
flint -d /dev/mst/mt23108_pci_cr0 wwne 0x10008 0x5a445a44
flint -d <device> e addr
flint -d /dev/mst/mtusb-1 e 0x1000