User`s manual

LO - Load S-Records from Host
3-110
3
The S-record format (refer to Appendix D) allows for an entry point
to be specified in the address field of the termination record of an S-
record block. The contents of the address field of the termination
record (plus the offset address, if any) are put into the target IP.
Thus, after a download, you need only enter GO instead of GO
ADDR to execute the code that was downloaded.
If a non-hexadecimal character is encountered within the data field
of a data record, then the part of the record which had been received
up to that time is printed to the screen and the PPCBug error
handler is invoked to point to the faulty character.
If the embedded checksum of a record does not agree with the
checksum calculated by PPCBug and if the checksum comparison
has not been disabled via the C option, then an error condition
exists. A message is output stating the address of the record (as
obtained from the address field of the record), the calculated
checksum, and the checksum read with the record. A copy of the
record is also output. This is a fatal error and causes the command
to abort.
When a load is in progress, each data byte is written to memory and
then the contents of this memory location are compared to the data
to determine if the data stored properly. If for some reason the
compare fails, then a message is output stating the address where
the data was to be stored, the data written, and the data read back
during the compare. This is also a fatal error and causes the
command to abort.
Because processing of the S-records is done character-by-character,
any data that was deemed good will have already been stored to
memory if the command aborts due to an error.