Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

P89C51RC2BA/01 Datasheet(PDF) 51 Page - NXP Semiconductors

Part # P89C51RC2BA/01
Description  80C51 8-bit Flash microcontroller family
PDF  68 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  PHILIPS [NXP Semiconductors]
Direct Link  http://www.nxp.com
Logo PHILIPS - NXP Semiconductors

P89C51RC2BA/01 Datasheet(HTML) 51 Page - NXP Semiconductors

Back Button P89C51RC2BA/01 Datasheet HTML 47Page - NXP Semiconductors P89C51RC2BA/01 Datasheet HTML 48Page - NXP Semiconductors P89C51RC2BA/01 Datasheet HTML 49Page - NXP Semiconductors P89C51RC2BA/01 Datasheet HTML 50Page - NXP Semiconductors P89C51RC2BA/01 Datasheet HTML 51Page - NXP Semiconductors P89C51RC2BA/01 Datasheet HTML 52Page - NXP Semiconductors P89C51RC2BA/01 Datasheet HTML 53Page - NXP Semiconductors P89C51RC2BA/01 Datasheet HTML 54Page - NXP Semiconductors P89C51RC2BA/01 Datasheet HTML 55Page - NXP Semiconductors Next Button
Zoom Inzoom in Zoom Outzoom out
 51 / 68 page
background image
Philips Semiconductors
Preliminary data
P89C51RA2/RB2/RC2/RD2xx
80C51 8-bit Flash microcontroller family
8KB/16KB/32KB/64KB ISP/IAP Flash with 512B/512B/512B/1KB RAM
2002 Jul 18
51
In Application Programming Method
Several In Application Programming (IAP) calls are available for use by
an application program to permit selective erasing and programming of
Flash sectors. All calls are made through a common interface,
PGM_MTP. The programming functions are selected by setting up
the microcontroller’s registers before making a call to PGM_MTP at
FFF0H. The oscillator frequency is an integer number rounded down
to the nearest megahertz. For example, set R0 to 11 for 11.0592 MHz.
Results are returned in the registers. The IAP calls are shown in
Table 10.
Using the Watchdog Timer (WDT)
The P89C51Rx2 devices support the use of the WDT in IAP. The
user specifies that the WDT is to be fed by setting the most
significant bit of the function parameter passed in R1 prior to calling
PGM_MTP. The WDT function is only supported for Block Erase
when using Quick Block Erase. The Quick Block Erase is specified
by performing a Block Erase with register R0 = 0. Requesting a
WDT feed during IAP should only be performed in applications that
use the WDT since the process of feeding the WDT will start the
WDT if the WDT was not running.
Table 10.
IAP calls
IAP CALL
PARAMETER
PROGRAM BYTE
Input Parameter:
R0 = osc freq (integer)
R1 = 02h or R1= 82h (WDT feed)
DPTR = address of byte to program
ACC = byte to program
Return Parameter:
ACC = 00 if pass, !=00 if fail
ERASE 4K CODE BLOCK
(New function)
Input Parameter:
R0 = osc freq (integer)
R1 = 0Ch or R1 = 8Ch (WDT feed)
DPH = address of 4k code block
DPH = 00H , 4k block 0,
0k~4k
DPH = 10H , 4k block 1,
4k~8k
DPH = 20H , 4k block 2,
8k~12k
DPH = 30H , 4k block 3,
12k~16k
DPH = 40H , 4k block 4,
16k~20k
DPH = 50H , 4k block 5,
20k~24k
DPH = 60H , 4k block 6,
24k~28k
DPH = 70H , 4k block 7,
28k~32k
DPH = 80H , 4k block 8,
32k~36k
DPH = 90H , 4k block 9,
36k~40k
DPH = A0H , 4k block 10, 40k~44k
DPH = B0H , 4k block 11, 44k~48k
DPH = C0H , 4k block 12, 48k~52k
DPH = D0H , 4k block 13, 52k~56k
DPH = E0H , 4k block 14, 56k~60k
DPH = F0H , 4k block 15, 60k~64k
DPL = 00h
Return Parameter:
ACC = 00 if pass, !=00 if fail
ERASE 8K / 16K CODE
BLOCK
Input Parameter:
R0 = osc freq (integer)
R1 = 01h or R1 = 81h (WDT feed)
DPH = address of code block
DPH = 00H , block 0 , 0k~8k
DPH = 20H , block 1 , 8k~16k
DPH = 40H , block 2 , 16~32k
DPH = 80H , block 3 , 32k~48k
DPH = C0H , block 4 , 48k~64k
DPL = 00h
Return Parameter:
ACC = 00 if pass , !=0 if fail
ERASE STATUS BYTE &
BOOT VECTOR
Input Parameter:
R0 = osc freq (integer)
R1 = 04h or R1 = 84h (WDT feed)
DPH = 00h
DPL = don’t care
Return Parameter:
ACC = 00 if pass , !=0 if fail



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com