T89C51RD2-3CBC-L ATMEL [ATMEL Corporation], T89C51RD2-3CBC-L Datasheet - Page 60

no-image

T89C51RD2-3CBC-L

Manufacturer Part Number
T89C51RD2-3CBC-L
Description
0 to 40MHz Flash Programmable 8-bit Microcontroller
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
Rev. F - 15 February, 2001
03
04
Table 32. Intel-Hex Records Used by In-System Programming
Miscellaneous Write Functions
:nnxxxx03ffssddcc
Where:
nn = number of bytes (hex) in record
xxxx = required field, but value is a “don’t care”
03 = Write Function
ff = subfunction code
ss = selection code
dd = data input (as needed)
cc = checksum
Subfunction Code = 04 (Reset Boot Vector and Status Byte)
ff = 04
ss = don’t care
dd = don’t care
Example:
:020000030400F8 Reset boot vector (FCh) and status byte (FFh)
Subfunction Code = 05 (Program Software Security Bits)
ff = 05
ss = 00 program software security bit 1 (Level 2 inhibit writing to FLASH)
ss = 01 program software security bit 2 (Level 3 inhibit FLASH verify)
ss = 02 program security bit 3 (No effect, left for Philips compatibity; disable external memory is already set
in the default hardware security byte)
Example:
:020000030501F6 program security bit 2
Subfunction Code = 06 (Program Status Byte or Boot Vector)
ff = 06
ss = 00 program BSB
ss = 01 program boot vector
Example:
:03000003060100F5 program boot vector with 00
Subfunction Code = 07 (Full chip erase)
ff = 07
Example:
:0100000307F5 full chip erase (include boot vector / status byte and software security bit erase)
Display Device Data or Blank Check
Record type 04 causes the contents of the entire FLASH array to be sent out the serial port in a formatted
display. This display consists of an address and the contents of 16 bytes starting with that address. No display
of the device contents will occur if security bit 2 has been programmed. The dumping of the device data to
the serial port is terminated by the reception of any character.
General Format of Function 04
:05xxxx04sssseeeeffcc
Where:
05 = number of bytes (hex) in record
xxxx = required field, but value is a “don’t care”
04 = “Display Device Data or Blank Check” function code
ssss = starting address
eeee = ending address
ff = subfunction
00 = display data
01 = blank check
cc = checksum
Example:
:0500000440004FFF0069 (display 4000–4FFF)
T89C51RD2
60

Related parts for T89C51RD2-3CBC-L