12 intel hex file format, 12 i, Ntel – Maxim Integrated Secure Microcontroller User Manual
Page 149: Ormat

Secure Microcontroller User’s Guide
149 of 187
E:ILLOPT
The optional parameters given were in error. If the start address is greater than the given address, either
implicitly or explicitly, then an error is printed. The range bit implicitly determines the maximum range.
E:LOCKED
The requested operation cannot be performed because the device is locked.
E:MEMVER
An error was encountered while programming or verifying a byte in RAM. Reload the record or file.
Repeated error messages can indicate a bad device.
E:NOCRCB
The CRC bit (bit 0) of the CRC SFR must be set when using the include command. The include
command is not supported on the DS5002FP/DS2252T.
E:NOTCOD
The include command was selected while the MSL bit was cleared. The MSL bit must be set (via loader)
when using the include command.
E:NOTHEX
A nonhexadecimal character was found when expected.
E:VERIFY
The byte that was sent did not verify with the corresponding one in RAM.
16.12 Intel Hex File Format
8051-compatible assemblers produce an absolute output file in Intel hex format. These files are composed
of a series of records. Records in an Intel hex file have the following format:
The specific record elements are detailed as follows:
: II aaaa tt dddddd ... dd xx
Where:
:
Indicates a record beginning
II
Indicates the record length
aaaa Indicates the 16-bit load address
tt
Indicates the record type
dd
Indicates hex data
xx
Indicates the checksum = (2’s complement (II + aa + a + tt + dd + dd + ...dd)
Record type 00 indicates a data record and type 01 indicates an end record. An end record appears as :00
00000 01 FF. These are the only valid record types for a NIL hex file. Spaces are provided for clarity.
The following is a short Intel hex file. The data bytes begin at 01 and count up to 2F. Notice the record’s
length, beginning address, and record type at the start of each line and the checksum at the end.