beautypg.com

Rainbow Electronics AT89C5131 User Manual

Page 43

background image

43

AT89C5131

4136A–USB–03/03

Table 40. Intel-Hex Records Used by In-System Programming

Record Type

Command/Data Function

00

Data Record

:nnaaaa00dd....ddcc

Where:

Nn = number of bytes (hex) in record

aaaa = memory address of first byte in record

dd....dd = data bytes

cc = checksum

Example:

:05008000AF5F67F060B6

01

End of File (EOF), no operation

:xxxxxx01cc

Where:

xxxxxx = required field, but value is a “don’t care”

cc = checksum

Example:

:00000001FF

02

Specify Oscillator Frequency (Not required, left for Philips compatibility)

:01xxxx02ddcc

Where:

xxxx = required field, but value is a “don’t care”

dd = required field, but value is a “don’t care”

cc = checksum

Example:

:0100000210ED