Ls - list user program, Simpliq – ElmoMC SimplIQ Command Reference User Manual

Page 99

Advertising
background image

LS - List User Program

Purpose:
Uploads data from the serial flash to the host, according to the parameters of LP[N]. The
most common use of LS is to retrieve the user program and to retrieve the personality
(firmware partition) data of the drive.

LS begins to send data from the byte address of LP[1] in the serial flash memory. The
length of the transmitted data is LP[2] bytes.

The format of the LS message is:
[data payload][esc][checksum]
where:
ƒ

The data payload is in the hex-binary format.

ƒ

esc is the 0x1b (27 decimal) character.

ƒ

The checksum is calculated for 16 bits in 2’s complements.

Use the LS command with care because it is not entirely “safe”: while the program

listing uploads to the communication lines, no program instructions are executed,
and no communicated commands are interpreted.

Attributes:

Type:

Command, No value

Source: RS-232
Restrictions: None
Unit modes: All
Activation: Immediate

See also:

CC

,

DL

,

LP[N]

Reference chapter in the

SimplIQ

Software Manual:

Chapter 6, “Program Development and Execution”

SimplIQ

Command Reference Manual

Alphabetical Listing

MAN-SIMCR (Ver. 4.5)

3-86

Advertising