S-Record Format
An S-record is a standard format used for transmitting and receiving programs and data.
The whole transfer is performed in ASCII characters.
There are ten possible standard S-record types, but only five are used within the
PME68/Monitor environment:
S0
Header record
S1
16-bit address Data record
S2
24-bit address Data record
S8
24-bit address End of File/Execution Address record
S9
16-bit address End of File/Execution Address record.
The standard S-record is defined as follows:
Frame
Value
Description
$0D
Carriage Return
$0A
Line Feed
$00
Null
1
$53 (S)
Start of Record
2
$30-$39 (0-9)
Record Type
3,4
Byte Count
5-8
Address (for 16 bit)
5-10
Address (for 24 bit)
5-12
Address (for 32 bit)
:
: Data
:
N-1,N
Checksum
Byte Count - is the sum of bytes including address, data and checksum.
The byte count, address, data and checksum are represented in ASCII encoded hexadeci-
mal; i.e. two frames per data byte, with the most significant digit in the leading frame.
Checksum - is built from byte count, address and data.
The checksum is the 1’s complement of the sum of all 8-bit data/address bytes (not
frames) from byte count to the last data byte, inclusive.
PME68-1B Manual
Page 124 Issue 5
Содержание PME 68-1B
Страница 8: ...Figure 1 The PME 68 1B Board Photograph not available in PDF PME 68 1B Manual Page 2 Issue 5...
Страница 12: ...Figure 4 Component Layout Diagram P5 P4 P3 BAT PME 68 1B Manual Page 6 Issue 5...
Страница 56: ...Figure 14 Link Areas BAT PME68 1B Manual Page 50 Issue 5...
Страница 57: ...Blank Page PME68 1B Manual Page 51 Issue 5...
Страница 59: ...Figure 15 Location of System EPROM Area 1 2 3 4 1 2 3 4 WC1 WC2 PME68 1B Manual Page 53 Issue 5...
Страница 80: ...Figure 41 Location of BERR Jumpers 1 2 3 4 WK1 WK2 BR26 2 3 1 BAT PME68 1B Manual Page 74 Issue 5...
Страница 132: ...Blank Page PME68 1B Manual Page 126 Issue 5...