p89c668hbbd NXP Semiconductors, p89c668hbbd Datasheet - Page 73

no-image

p89c668hbbd

Manufacturer Part Number
p89c668hbbd
Description
80c51 8-bit Flash Microcontroller Family
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
P89C668HBBD
Manufacturer:
TI
Quantity:
25 600
Part Number:
P89C668HBBD
Manufacturer:
PHILPS
Quantity:
500
Company:
Part Number:
P89C668HBBD
Quantity:
271
Part Number:
p89c668hbbd/00,557
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 SECURITY BITS
READ STATUS BYTE
READ BOOT VECTOR
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 = 07h
R1 = 87h (WDT feed, Rx2 & 66x only)
DPH = 00h
DPL = 00h (security bits)
ACC = value of byte read
;*****reads the Security Bits (SBits) *****
;***** SBits returned in ACC (2:0)
RDSBits:
R0 = osc freq (integer)
R1 = 07h
R1 = 87h (WDT feed, Rx2 & 66x only)
DPH = 00h
DPL = 01h (status byte)
ACC = value of byte read
;*****reads the Status Byte (SB) *****
;***** SB returned in ACC
RDSB:
R0 = osc freq (integer)
R1 = 07h
R1 = 87h (WDT feed, Rx2 & 66x only)
DPH = 00h
DPL = 02h (boot vector)
ACC = value of byte read
;*****reads the Boot Vector (BV) *****
;***** BV returned in ACC
RDBV:
MOV
MOV
MOV
MOV
CALL
RET
MOV
MOV
MOV
MOV
CALL
RET
MOV
MOV
MOV
MOV
CALL
RET
AUXR1,#20H
R0,#11
R1,#07H
DPTR,#0000H
PGM_MTP
AUXR1,#20H
R0,#11
R1,#07H
DPTR,#0001H
PGM_MTP
AUXR1,#20H
R0,#11
R1,#07H
DPTR,#0002H
PGM_MTP
73
PARAMETER
;set the ENBOOT bit
;FOSC
;read misc function
;specify security bits
;execute the function
;set the ENBOOT bit
;FOSC
;read misc function
;specify status byte
;execute the function
;set the ENBOOT bit
;FOSC
;read misc function
;specify boot vector
;execute the function
P89C660/P89C662/P89C664/
P89C668
Product data

Related parts for p89c668hbbd