B.2.2 opcode 0x01: write/read virtual register – Artesyn MOTLoad Firmware Package User's Manual (February 2015) User Manual

Page 250

Advertising
background image

Remote Start

MOTLoad Firmware Package User’s Manual (6806800C24D)

250

Bit 8

Global error status flag (ERR). If the command completed successfully, then this bit is
written by the firmware with the value 0 at command completion. If the command fails, it
will be written with the value 1. Additional command specific error status may be returned
in other fields of the IBCA.

Bits 9–15

7 bit command option field. Each command specifies the particular meaning of each of the
command option bits. Option bits that are unused are considered reserved and should be
written to 0 to ensure compatibility with future implementations of this interface.

Note: For most commands, bit 9 is used to specify verbose/non verbose mode target
command processing. In verbose mode, command related information is printed on the target
console as the host command is processed. Verbose mode is selected when bit 9=0, non-
verbose mode is set when bit 9=1.

Bits 16–31

16 bit data/result field. When a command is sent to the target, these bits may contain
command-specific data for the target. The target will use the same field for returning
command results to the host. The meaning of this field is specific to each command
opcode. Error codes have the same meaning across all commands. Refer to

Table B-1 on

page 256

for Remote Start error code definitions.

B.2.2

Opcode 0x01: Write/Read Virtual Register

This command allows the host to read and write the contents of any of the four virtual registers.
The specific operation (write or read) and the "register" to be accessed are determined by the
command options field.

Write data is contained in the command data field. Read data is returned in the result field.

Note: It takes two writes to completely modify all 32 bits of a Virtual Register, as well as two
reads to completely read one.

Advertising