79 sromread, Sromread, Motload commands – Artesyn MOTLoad Firmware Package User's Manual (February 2015) User Manual
Page 158
MOTLoad Commands
MOTLoad Firmware Package User’s Manual (6806800C24D)
158
3.1.79 sromRead
Name
sromRead—reads the contents of a SROM device into a memory buffer, as specified by the
command line arguments.
Synopsis
sromRead [-a] -d [-n] [-o]
Parameters
-a Ph: Address of Data Buffer (Default = User Download Buffer)
-d Ps: Device Name
-n Ph: Number of Bytes (Default = Entire Device)
-o Ph: Starting Byte Offset (Default = 0)
Example
The following example indicates a typical display when using the sromRead commands.
MOTLoad> sromRead -d/dev/i2c0/srom/AA -n20
Reading SROM contents...
Read Complete
SROM contents located at memory address 0x00560000
MOTLoad> mdb -a00560000 -c20
00560000 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF .....
00560010 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ....2
Error Messages
sromRead(): open(<device>) failed, errno = <value>
Unable to open SROM device.