P89C668 Philips Semiconductors, P89C668 Datasheet - Page 47
![no-image](/images/manufacturer_photos/0/5/522/philips_semiconductors_sml.jpg)
P89C668
Manufacturer Part Number
P89C668
Description
80C51 8-bit Flash microcontroller family 64KB ISP FLASH with 8KB RAM
Manufacturer
Philips Semiconductors
Datasheet
1.P89C668.pdf
(54 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
P89C668HBA
Manufacturer:
PHILIPS
Quantity:
1 000
Company:
Part Number:
P89C668HBA
Manufacturer:
PHILIPS
Quantity:
1 000
Part Number:
P89C668HBA
Manufacturer:
PHILIPS/飞利浦
Quantity:
20 000
Company:
Part Number:
P89C668HBA/00,512
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Company:
Part Number:
P89C668HBBD
Manufacturer:
TI
Quantity:
25 600
Company:
Part Number:
P89C668HBBD
Manufacturer:
PHILPS
Quantity:
500
Company:
Part Number:
P89C668HBBD/00,557
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
P89C668HFA
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Philips Semiconductors
2001 Jul 27
RECORD TYPE
80C51 8-bit Flash microcontroller family
64KB ISP Flash with 8KB RAM
03
04
Miscellaneous Write Functions
Where:
Subfunction Code = 01 (Erase Blocks)
Subfunction Code = 04 (Erase Boot Vector and Status Byte)
Subfunction Code = 05 (Program Security Bits)
Subfunction Code = 06 (Program Status Byte or Boot Vector)
Subfunction Code = 07 (Full Chip 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
Where:
Example:
:nnxxxx03ffssddcc
nn
xxxx
03
ff
ss
dd
cc
ff = 01
ss = block code as shown below:
Example:
ff = 04
ss = don’t care
dd = don’t care
Example:
ff = 05
ss = 00 program security bit 1
Example:
ff = 06
ss = 00 program status byte
Example:
Erases all blocks, security bits, and sets status and boot vector to default values
ff = 07
ss = don’t care
dd = don’t care
Example:
:05xxxx04sssseeeeffcc
05
xxxx
04
ssss
eeee
ff
cc
:0500000440004FFF0069
:0200000301C03C
:020000030400F7
:020000030501F5
:020000030601F4
:0100000307F5 full chip erase
01 program security bit 2
02 program security bit 3
01 program boot vector
block 0,
block 1,
block 2, 16k to 32k, 40H
block 3, 32k to 48k, 80H
block 4, 48k to 64k, C0H
= number of bytes (hex) in record
= required field, but value is a “don’t care”
= Write Function
= subfunction code
= selection code
= data input (as needed)
= checksum
= number of bytes (hex) in record
= required field, but value is a “don’t care”
= “Display Device Data or Blank Check” function code
= starting address
= ending address
= subfunction
= checksum
00 = display data
01 = blank check
0k to
8k to 16k, 20H
erase block 4
erase boot vector and status byte
program security bit 2
program boot vector
display 4000–4FFF
8k, 00H
COMMAND/DATA FUNCTION
(inhibit writing to Flash)
(inhibit Flash verify)
(disable eternal memory)
47
P89C668
Preliminary data