80 sromwrite, Sromwrite, Motload commands – Artesyn MOTLoad Firmware Package User's Manual (February 2015) User Manual

Page 160

Advertising
background image

MOTLoad Commands

MOTLoad Firmware Package User’s Manual (6806800C24D)

160

3.1.80 sromWrite

Name

sromWrite—writes the contents of a memory buffer to an SROM device, as specified by the
command line arguments.

Synopsis

sromWrite [-a] -d [-n] [-o]

Parameter

-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 sromWrite command.

MOTLoad> mmb -a00560000

00560000 FF? 12

00560000 FF? 34

00560000 FF? 56

00560003 FF? .

MOTLoad> sromWrite -d/dev/i2c0/srom/AA -n4

Device ID = /dev/i2c0/srom/AA

Source Starting Address = 0x00560000

Destination Offset = 0x00000000

Number of Effective Bytes = 0x00000020

Program SROM Memory (Y/N)? y

Writing SROM contents... Write Complete

Advertising