P89C660 Philips Semiconductors, P89C660 Datasheet - Page 72

no-image

P89C660

Manufacturer Part Number
P89C660
Description
80C51 8-bit Flash microcontroller family
Manufacturer
Philips Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
P89C660HBA
Manufacturer:
PHI
Quantity:
5 030
Part Number:
P89C660HBA
Manufacturer:
PHILIPS/飞利浦
Quantity:
20 000
Part Number:
P89C660HBA/00,512
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
P89C660HBBD
Manufacturer:
PHILIPS
Quantity:
586
Part Number:
P89C660HFA
Manufacturer:
NXP
Quantity:
1 832
Part Number:
P89C660HFA/00,512
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Philips Semiconductors
2002 Oct 28
80C51 8-bit Flash microcontroller family
16KB/32KB/64KB ISP/IAP Flash with 512B/1KB/2KB/8KB RAM
READ MANUFACTURER ID
READ DEVICE ID # 1
READ DEVICE ID # 2
IAP CALL
Input Parameters:
Return Parameter
Sample routine:
Input Parameters:
Return Parameter
Sample routine:
Input Parameters:
Return Parameter
Sample routine:
R0 = osc freq (integer)
R1 = 00h
R1 = 80h (WDT feed, Rx2 & 66x only)
DPH = 00h
DPL = 00h (manufacturer ID)
ACC = value of byte read
;*****reads the Manufacturer ID (MID) *****
;***** MID returned in ACC (should be 15h for Philips)
RDMID:
R0 = osc freq (integer)
R1 = 00h
R1 = 80h (WDT feed, Rx2 & 66x only)
DPH = 00h
DPL = 01h (device ID # 1)
ACC = value of byte read
;*****reads the Device ID 1 (DID1) *****
;***** DID1 returned in ACC
RDDID1:
R0 = osc freq (integer)
R1 = 00h
R1 = 80h (WDT feed, Rx2 & 66x only)
DPH = 00h
DPL = 02h (device ID # 2)
ACC = value of byte read
;*****reads the Device ID 2 (DID2) *****
;***** DID2 returned in ACC
RDDID2:
MOV
MOV
MOV
MOV
CALL
RET
MOV
MOV
MOV
MOV
CALL
RET
MOV
MOV
MOV
MOV
CALL
RET
AUXR1,#20H
R0,#11
R1,#00H
DPTR,#0000H
PGM_MTP
AUXR1,#20H
R0,#11
R1,#00H
DPTR,#0001H
PGM_MTP
AUXR1,#20H
R0,#11
R1,#00H
DPTR,#0002H
PGM_MTP
72
PARAMETER
;set the ENBOOT bit
;FOSC
;read misc function
;specify MID
;execute the function
;set the ENBOOT bit
;FOSC
;read misc function
;specify device id 1
;execute the function
;set the ENBOOT bit
;FOSC
;read misc function
;specify device id 2
;execute the function
P89C660/P89C662/P89C664/
P89C668
Product data

Related parts for P89C660