Philips Semiconductors Product data
P89C60X2/61X2
80C51 8-bit Flash microcontroller family
64KB Flash, 512B/1024B RAM
2003 Sep 11
16
RECORD TYPE COMMAND/DATA FUNCTION
03 (cont.) Subfunction Code = 07 (Full Chip Erase)
Erases all blocks, security bits, and sets status byte to default values
ff = 07
ss = don’t care
dd = don’t care
Example:
:0100000307F5 full chip erase
Subfunction Code = 0C (Erase 4k blocks)
ff = 0C
ss = block code as shown below:
block 0, 0k ~ 4k, 00H
block 1, 4k ~ 8k, 10H
block 2, 8k ~ 12k, 20H
block 3, 12k ~ 16k, 30H
block 4, 16k ~ 20k, 40H
block 5, 20k ~ 24k, 50H
block 6, 24k ~ 28k, 60H
block 7, 28k ~ 32k, 70H
block 8, 32k ~ 36k, 80H
block 9, 36k ~ 40k, 90H
block 10, 40k ~ 44k, A0H
block 11, 44k ~ 48k, B0H
block 12, 48k ~ 52k, C0H
block 13, 52k ~ 56k, D0H
block 14, 56k ~ 60k, E0H
block 15, 60k ~ 64k, F0H
Example:
:020000030C20CF erase 4k block 2
04 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. Data to the serial port is
initiated by the reception of any character and 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
02 = display data in data block (valid addresses: 0001 ~ 0FFFH)
cc = checksum
Example 1:
:0500000440004FFF0069 display 4000–4FFF
Example 2:
:0500000400000FFF02E7 display data in data block (the data at address 0000 is
invalid)
Philips Semiconductors Product data
P89C60X2/61X2
80C51 8-bit Flash microcontroller family
64KB Flash, 512B/1024B RAM
2003 Sep 11
17
RECORD TYPE COMMAND/DATA FUNCTION
05 Miscellaneous Read Functions
General Format of Function 05
:02xxxx05ffsscc
Where:
02 = number of bytes (hex) in record
xxxx = required field, but value is a “don’t care”
05 = “Miscellaneous Read” function code
ffss = subfunction and selection code
0000 = read signature byte – manufacturer id (15H)
0001 = read signature byte – device id # 1 (C2H)
0002 = read signature byte – device id # 2
P89C60X2 = EFh
P89C61X2 = F0h
0003 = read FX2 bit
0080 = read ROM code revision
0700 = read security bits
0701 = read status byte
cc = checksum
Example 1:
:020000050001F8 read signature byte – device id # 1
Example 2:
:020000050003F6 read FX2 bit (bit 7 = 0 represents 12-clk mode, bit 7 = 1
represents 6-clk mode)
Example 3:
:02000005008079 read ROM code revision (0A: Rev. A; 0B: Rev. B, etc.)
06 Direct Load of Baud Rate
General Format of Function 06
:02xxxx06hhllcc
Where:
02 = number of bytes (hex) in record
xxxx = required field, but value is a “don’t care”
06 = ”Direct Load of Baud Rate” function code
hh = high byte of Timer 2
ll = low byte of Timer 2
cc = checksum
Example:
:02000006F500F3
Philips Semiconductors Product data
P89C60X2/61X2
80C51 8-bit Flash microcontroller family
64KB Flash, 512B/1024B RAM
2003 Sep 11
18
Security
The security feature protects against software piracy and prevents the contents of the FLASH from being read. The Security Lock bits are
located in FLASH. The P89C60X2/61X2 has 3 programmable security lock bits that will provide different levels of protection for the on-chip code
and data (see Table 3). Unlike the ROM and OTP versions, the security lock bits are independent. LB3 includes the security protection of LB1.
Table 3.
SECURITY LOCK BITS
1
PROTECTION DESCRIPTION
Level
PROTECTION
DESCRIPTION
LB1
MOVC instructions executed from external program memory are disabled from fetching code bytes from
internal memory.
LB2 Program verification is disabled
LB3 External execution is disabled.
NOTE:
1. The security lock bits are independent.

P89C60X2BA/00,512

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
IC MCU 8BIT 64KB FLASH 44PLCC
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union