User`s manual
LO - Load S-Records from Host
3-108
3
LO - Load S-Records from Host
Command Input
LO [PORT] [ADDR] [;[X] [C] [T]] [=text]
Arguments
Options
More than one option may be used.
PORT Port to be used for the downloading.
The default is port 1.
ADDR Offset address which is to be added to the address contained
in the address Þeld of each record. This causes the records to
be stored to memory at different locations than would
normally occur. The contents of the automatic offset register
are not added to the S-record addresses.
X Echo the S-records to your terminal as they are read in at the
host port.
C Ignore checksum. A checksum for the data contained within
an S-record is calculated as the S-record is read in at the port.
Normally, this calculated checksum is compared to the
checksum contained within the S-record and if the compare
fails, an error message is sent to the screen on completion of
the download. If this option is selected, then the comparison
is not made.
T System Call code. This option causes LO to set the target
register R04 to ÔLO$01Õ ($4C4F2001).
The ASCII string LO indicates the LO command. The code
$01 indicates system call support with stack
parameter/result passing and system call disk support.
This code can be used by the downloaded program to select
the appropriate calling convention when invoking debugger
functions (necessary because some Motorola debuggers use
conventions different from PPCBug, and they set a different
code in R05).