User Manual

Rev 1.50
Mellanox Technologies
35
3.2.3.4 Disabling/enabling Access to the Hardware
The secure host feature enables ConnectX® family devices to block access to its internal hardware
registers. The hardware access in this mode is allowed only if a correct 64 bits key is provided
Examples:
1. Set the key:
2. Access the FW while it's disable:
3. Enable the FW:
4. Disable the FW:
3.2.3.5 Reading a Word from Flash
To read one dword from Flash memory, use the following command line:
where:
device is the device the dword is read from.
addr is the address of the word to read.
Example:
VSD: VSD
PSID: MT_04C0110002
flint -d /dev/mst/mt26428_pci_cr0 set_key 22062011
Setting the HW Key - OK
Restoring signature - OK
A driver restart is required to activate the new key
flint -d /dev/mst/mt26428_pci_cr0 -qq q
E- Cannot open /dev/mst/mt26428_pci_cr0: HW access is disabled on the device.
E- Run "flint -d /dev/mst/mt26428_pci_cr0 hw_access enable" in order to enable HW access.
flint -d /dev/mst/mt26428_pci_cr0 hw_access enable
Enter Key: ********
flint -d /dev/mst/mt26428_pci_cr0 hw_access disable
flint -d <device> rw addr
flint -d /dev/mst/mt23108_pci_cr0 rw 0x20