Motorola M68HC11EVBU User Manual page 110

Universal evaluation board
Hide thumbs Also See for M68HC11EVBU:
Table of Contents

Advertisement

S-RECORD INFORMATION
The next 16 character pairs are the ASCII bytes of the actual program code/data. In this assembly
language example, the hexadecimal opcodes of the program are written in sequence in the
code/data fields of the S1 records:
Opcode
28 5F
24 5F
22 12
22 6A
00 04 24
29 00
08 23 7C
2A
The second and third S1 code/data records each also contain $13 (19) character pairs and are
ended with checksums 13 and 52, respectively. The fourth S1 code/data record contains 07
character pairs and has a checksum of 92.
The S9 termination record is explained as follows:
S9
S-record type S9, indicating a termination record.
03
Hexadecimal 03, indicating three character pairs (3 bytes) follow.
00
Four-character 2-byte address field, zeroes.
00
FC
Checksum of S9 record.
Each printable character in an S-record is encoded in hexadecimal (ASCII in this example)
representation of the binary bits which are actually transmitted. For example, the first S1 record
above is sent as shown below.
TYPE
LENGTH
S
1
1
5
3
3
1
3
1
3
0101 0011 0011 0001 0011 0001
0011 0011 0011 0000 0011 0000 0011 0000 0011 0000 0011 0010 0011 1000 0011 0101 0100 0110 ••• 0011 0010 0100 0001
A-4
Instruction
BHCC
$0161
BCC
$0163
BHI
$0118
BHI
$0172
BRSET
0,$04,$012F
BHCS
$010D
BRSET
4,$23,$018C
.
(Balance of this code is continued in the code/data fields of
.
the remaining S1 records, and stored in memory location
.
0010, etc.)
Checksum of the first S1 record.
ADDRESS
3
0
0
0
3
3
0
3
0
3
0
CODE/DATA
0
2
8
5
3
0
3
2
3
8
3
CHECKSUM
F
•••
2
A
5
4
6
•••
3
2
4
M68HC11EVBU/D
1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

M68hc11evbdM68hc11evbu/d

Table of Contents