전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

P89C668HBA 데이터시트(PDF) 49 Page - NXP Semiconductors

부품명 P89C668HBA
상세설명  80C51 8-bit Flash microcontroller family 64KB ISP FLASH with 8KB RAM
PDF  54 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  PHILIPS [NXP Semiconductors]
홈페이지  http://www.nxp.com
Logo PHILIPS - NXP Semiconductors

P89C668HBA 데이터시트(HTML) 49 Page - NXP Semiconductors

Back Button P89C668HBA Datasheet HTML 45Page - NXP Semiconductors P89C668HBA Datasheet HTML 46Page - NXP Semiconductors P89C668HBA Datasheet HTML 47Page - NXP Semiconductors P89C668HBA Datasheet HTML 48Page - NXP Semiconductors P89C668HBA Datasheet HTML 49Page - NXP Semiconductors P89C668HBA Datasheet HTML 50Page - NXP Semiconductors P89C668HBA Datasheet HTML 51Page - NXP Semiconductors P89C668HBA Datasheet HTML 52Page - NXP Semiconductors P89C668HBA Datasheet HTML 53Page - NXP Semiconductors Next Button
Zoom Inzoom in Zoom Outzoom out
 49 / 54 page
background image
Philips Semiconductors
Preliminary data
P89C668
80C51 8-bit Flash microcontroller family
64KB ISP Flash with 8KB RAM
2001 Jul 27
49
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 API calls
are shown in Table 10.
Using the Watchdog Timer (WDT)
The P89C668 supports 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 passed in R1 prior to calling PCM_MTP. The WDT
function is only supported for Block Erase when using the 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 DATA BYTE
Input Parameters:
R0 = osc freq (integer)
R1 = 02h
R1 = 82h (WDT feed)
DPTR = address of byte to program
ACC = byte to program
Return Parameter
ACC = 00 if pass, !00 if fail
ERASE BLOCK
Input Parameters:
R0 = osc freq (integer)
R0 = 0 (Quick Erase)
R1 = 01h
R1 = 81h (WDT feed)
DPH = block code as shown below:
block 0,
0k to
8k, 00H
block 1,
8k to 16k, 20H
block 2, 16k to 32k, 40H
block 3, 32k to 48k, 80H
block 4, 48k to 64k, C0H
DPL = 00h
Return Parameter
none
ERASE BOOT VECTOR
Input Parameters:
R0 = osc freq (integer)
R1 = 04h
R1 = 84h (WDT feed)
DPH = 00h
DPL = don’t care
Return Parameter
none
PROGRAM SECURITY BIT
Input Parameters:
R0 = osc freq (integer)
R1 = 05h
R1 = 85h (WDT feed)
DPH = 00h
DPL = 00h – security bit # 1 (inhibit writing to Flash)
01h – security bit # 2 (inhibit Flash verify)
02h – security bit # 3 (disable external memory)
Return Parameter
none
PROGRAM STATUS BYTE
Input Parameters:
R0 = osc freq (integer)
R1 = 06h
R1 = 86h (WDT feed)
DPH = 00h
DPL = 00h – program status byte
ACC = status byte
Return Parameter
ACC = status byte



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


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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