B.2.14 reference c function: rscrc, Remote start – Artesyn MOTLoad Firmware Package User's Manual (February 2015) User Manual
Page 261
Remote Start
MOTLoad Firmware Package User’s Manual (6806800C24D)
261
MOTLoad> mmw -aIBCA
A267F348 00000981? 10000b01
A267F34C 00000000? .
TARGET – Because the Verbose bit was clear in the command, the target console will show:
"Remote Start: host wrote 0010 to upper half of vr1"
TARGET – View the memory that is going to be initialized:
MOTLoad> mdw -a01920000 -c4
MOTLoad> mdw -a01a1fff0
HOST – Send the Initialize Memory command:
MOTLoad> mmw -aIBCA
A267F348 10000B81? 5a000002
A267F34C 00000000? .
TARGET – Because the Verbose bit was clear in the command, the target console will show:
"Remote Start: initialize memory:
address=01920000, byte count=00100000, data=5A"
TARGET – View the memory that was initialized:
MOTLoad> mdw -a01920000 -c4
01920000 5A5A5A5A 5A5A5A5A 5A5A5A5A 5A5A5A5A
MOTLoad> mdw -a01a1fff0
01A1FFF0 5A5A5A5A 5A5A5A5A 5A5A5A5A 5A5A5A5A
B.2.14 Reference C Function: rsCrc
The following screen shot is an example of the command sequence necessary to produce the
CRC.
/*
* rsCrc - generate CRC data for the passed buffer
* description:
* This function's purpose is to generate the CRC for the passed
* buffer.
* call:
* argument #1 = buffer pointer
* argument #2 = number of elements