26 docread, Docread, Motload commands – Artesyn MOTLoad Firmware Package User's Manual (February 2015) User Manual

Page 77

Advertising
background image

MOTLoad Commands

MOTLoad Firmware Package User’s Manual (6806800C24D)

77

3.1.26 docRead

Name

docRead—reads the contents of the specified binary partition into the RAM.

Note The Disk On Chip (DoC) binary partitions can be read or programmed only in multiples
of their block size. Hence, the size specified should be a multiple of the block size. The block size
can be obtained by using the -v option. For example, in case of M-System H1 DoC, the block size
is 512 KB.

Synopsis

docRead [-a] [-d] [-p] [-s] [-x] [-v]

Parameters

-a Ph: Load Address (Default=User Buffer)

-d Ps: DoC Device Name (Default=/dev/doc0)

-p Ph: Binary Partition Number (Default=0)

-s Ph: Size (Default=12 MB)

-x Ph: Start Block (Default=0)

-v 0: Verbose Mode

Example

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

MOTLoad> docRead -d/dev/doc0 -a0x8000000 -s0x500000 -x0 -v1

Found a 1024 MB DiskOnChip on address 0xA0000000

Found a Binary partition with:

- Partition Size is 41943040

- Unit size is 524288

Read successful

MOTLoad>

See Also

docProgram

Advertising