beautypg.com

3 user download buffer, 4 standard error codes and devices, Standard error codes and devices – Artesyn MOTLoad Firmware Package User's Manual (February 2015) User Manual

Page 31

background image

Using MOTLoad

MOTLoad Firmware Package User’s Manual (6806800C24D)

31

2.3

User Download Buffer

In order to accommodate for the storage of data generated by one or more MOTLoad
commands that are not given a specific memory path or location, MOTLoad employs a
temporary memory buffer, known as the User Download Buffer.

2.4

Standard Error Codes and Devices

This section describes error message formats and a generalized listing of error number (errno)
values. As with any code application, MOTLoad is continually being revised and new error
messages may appear.

The size of the User Download Buffer is 2 MB. Commands will fail if the user attempts to load
more than 2 MB into the buffer. In cases where more than 2 MB are needed, the user should
use the malloc command (malloc <size>) to create a buffer of suitable size.
Typing malloc <size> on the command line where size is the number of bytes requested
causes MOTLoad to allocate an area of RAM that can be used by the user. The address of the
start of the RAM buffer area is returned to the user. An address of "0" indicates that the
request failed.