Motorola M68CPU32BUG User Manual page 99

Debug monitor
Table of Contents

Advertisement

VE
host system does not echo characters that the first record transferred by the host system be a
header record. The header record is not used, but the LF after the header record serves to break
VE out of the loop so that data records are processed.
Other VE options are:
-C option
X option
During a verify operation S-record data is compared to memory. Verification begins with the
address contained in the S-record address field (plus the offset address). If the verification fails,
then the non-comparing record is set aside until the verify is complete and then it is displayed on
the screen. If three non-comparing records are encountered in the course of a verify operation,
then the command is aborted.
If a non-hex character is encountered within the data field, then the received portion of the record
is printed to the screen and CPU32Bug's error handler points to the faulty character.
An error condition exists if the embedded checksum of a record does not agree with the
checksum calculated by CPU32Bug. A message is displayed showing 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.
EXAMPLES
This short program was developed on a host system.
1
2
3
65004000
4
5
65004000 7001
6
65004002 D088
7
65004004 4A00
8
65004006 4E75
9
END
****** TOTAL ERRORS
****** TOTAL WARNINGS
M68CPU32BUG/D REV 1
Verify S-Records Against Memory
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. If this option is
selected, the comparison is not made.
Echo. This option echoes the S-records to the user's terminal as they are
read in at the host port. Do not use this option when port 0 is specified.
* Test Program
*
0--
0--
ORG
$65004000
MOVEQ.L
#1,D0
ADD.L
A0,D0
TST.B
D0
RTS
3-69
DEBUG MONITOR COMMANDS
VE

Advertisement

Table of Contents
loading

Table of Contents