beautypg.com

Rainbow Electronics T89C51RD2 User Manual

Page 59

background image

59

Rev. F - 15 February, 2001

T89C51RD2

Table 32. 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 (program address 80h to 85h with data AF ... 60)

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