37 flashlock, Flashlock, Motload commands – Artesyn MOTLoad Firmware Package User's Manual (February 2015) User Manual

Page 97

Advertising
background image

MOTLoad Commands

MOTLoad Firmware Package User’s Manual (6806800C24D)

97

3.1.37 flashLock

Name

flashLock—sets sector protection on specified flash device on a given Artesyn single-board

computer. Protection is set on a per-sector basis on the device’s flash ROM as specified by the -
d
, -n, and -o parameters.

Synopsis

flashLock [-d] [-i] [-n] [-o] [-v]

Parameters

-d Ps : Flash Memory Device Name (Default = /dev/flash0)

-i 0 : Disable Interactive Confirmation

-n Ph : Number of Bytes to Lock (i.e., protect)

-o Ph : Offset Address of Flash Memory (Default = $00000000)

-v Ph : Verbose Mode

Example

The following example indicates a typical display when using the flashLock command.

MOTLoad> flashLock -d/dev/flash0 -n80000 -o01000000 -v

Flash Memory Starting/Ending Addresses =F9000000/F907FFFF

Number of Effective Bytes =00080000 (&524288)

Lock/Protect Flash Memory Sector(s) (Y/N)? Y

Virtual-Device-Number

=0000

Manufacturer-Identifier =0001

Device-Identifier

=227E

Secondary-Identifier

=2223

Virtual-Device-Number

=0001

Manufacturer-Identifier =0001

Device-Identifier

=227E

Secondary-Identifier

=2223

Address-Mask

=F8000000

MOTLoad>

Advertising