B.2.3 opcode 0x02: initialize memory, B.2.4 opcode 0x03: write/read memory – Artesyn MOTLoad Firmware Package User's Manual (February 2015) User Manual
Page 251

Remote Start
MOTLoad Firmware Package User’s Manual (6806800C24D)
251
Command option bits affect the operation as follows:
Bit 15 indicates read (0) or write (1) operation
Bit 14 indicates whether to access either the lower half (0) or upper half (1) of the virtual
register.
Bits 11 & 12 specify which virtual register is to be accessed
(0b00 = VR0, 0b01 = VR1, 0b10 = VR2, 0b11 = VR3).
B.2.3
Opcode 0x02: Initialize Memory
This command allows the host to initialize, with a single byte pattern, areas of target RAM
without incurring the overhead of writing each location via the Remote Start write memory
command.
The command options field is unused and must contain 0.
The lower 8 bits of the data field need to contain the byte pattern to be written.
Memory starting at the address contained in VR0 and the byte count contained in VR1 is
initialized with the value contained in the lower 8 bits of the data field.
Note: This command does not guarantee that the memory is initialized using any particular
ordering or alignment. Do not use it to initialize any area of memory that has alignment or
ordering requirements (for example, device registers).
B.2.4
Opcode 0x03: Write/Read Memory
This command allows the host to Read or Write individual address locations on the target's
address bus. Data sizes of 8, 16, and 32 bits are supported. The specific operation and size are
determined by the command options field.