Siemens
Product Manual R0002
Semiconductor Group
29
3.1
8
Programming mask format
The data format to deliver the mask data for the R0002 from the provider to the manufacturer is the
“Intel Hex Object File Format”.
This format is built of ASCII characters. Valid characters are ‘:’,”0-9” and “A-F”.
An object file contains an unlimited number of records.
Each object file ends with an end of file record.
Each record has the following format (spaces are skipped in real records):
m ll oooo tt dd dd dd dd dd dd ... dd dd cc
‘m’ is always a colon ‘:’.
‘ll’ is the hexadecimal coded two digit (= 8 bit) record length. Only “real” data bits are counted.
‘oooo’ is the hexadecimal coded four digit load offset for the record.
‘tt’ is the hexadecimal coded two digit record type:
00-Data record
01-End of file record
04-Extended linear address record
‘dd’ are the hexadecimal coded two digit data bytes. The maximum number of bytes is given by
the eight bit length coded in ‘ll’ which leads up to 256 data bytes per record.
Each record is closed by a hexadecimal coded two digit check sum. The sum over all data bits
(modulo 256) of the entire record (including length, offset, type and data) and the check sum is
equal to ‘00’.
8.1
Data record
The type field of a data record contains the value “00”. A typical data record which contains the val-
ues from 0 to 9 looks like this:
8.2
End of file record
The end of file record is always the last record of a file. The type field of a data record contains the
value “01”:
8.3
Extended linear address record
The type field of an extended segment address (ESA) record contains the value “04”:
The number of data bytes is always two. The data field contains the bits 16 to 31 of the data
address. The start address of record storage locations is calculated as the sum of the linear
address record multiplied with 65536 and the 16 bit record offset (RO) coded in the data record (see
"Chapter 8.1: Data record"): The result is a 32 bit address (ADDR):
Length
Offset
Type
Data
Checksum
:
0A
0000
00
00010203040506070809
C9
Length
Offset
Type
Data
Checksum
:
00
0000
01
--
FF
Length
Offset Type
Data
Checksum
:
02
0000
04
0001
F9