35 fatget, Fatget, Motload commands – Artesyn MOTLoad Firmware Package User's Manual (February 2015) User Manual

Page 93

Advertising
background image

MOTLoad Commands

MOTLoad Firmware Package User’s Manual (6806800C24D)

93

3.1.35 fatGet

Name

fatGet—copies (GETs) the specified file from a device that is formated with a FAT file system.

Synopsis

fatGet [-d] -f [-l] [-p]

Parameters

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

-f Ps: File Name

-l Ph: Load Address (Default = User Download Buffer)

-p Pd: Partition Number (Default = 0)

Example

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

MOTLoad> fatGet

Error Messages

fatGet(): partition number out of range

Partition number not between 1 and 4.

fatGet(): fatFsOpen(64) failed

Unable to open FAT file system.

fatGet(): malloc() failed

Insufficient free memory for file load cache.

fatGet(): open(<device>) failed, errno = <value>

Unable to open device/node.

Advertising