參數(shù)資料
型號(hào): SAB88C166
廠商: SIEMENS A G
元件分類: 微控制器/微處理器
英文描述: 16-Bit CMOS Single-Chip Microcontrollers with/without oscillator prescaler with 32 KByte Flash EPROM
中文描述: 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PQFP100
文件頁(yè)數(shù): 21/58頁(yè)
文件大?。?/td> 611K
代理商: SAB88C166
SAB 88C166(W)
Semiconductor Group
20
G
Load source values and initialize loop counter
(PCOUNT) with the maximum number of
programming trials (PNmax) to be performed before exiting the routine with a failure. Each trial
means applying a pulse of 100
μ
s to the selected words in the Flash memory. According to the
maximum cumulated programming time of 2.5 ms allowed per cell, PNmax must be ‘25’ here.
The doubleword at memory location [SRC_PTR] is loaded into two auxiliary registers DATAWR1
and DATAWR2.
G
Program one doubleword
stored in the auxiliary data registers to the Flash memory location
[FLASH_PTR]. FLASH_PTR is not incremented here, since in 32-bit programming mode the
hardware automatically arranges the two data words correctly. The execution of the second write
instruction automatically starts the programming of the entire double word.
This instruction sequence must not be interrupted.
MOV
MOV
[FLASH_PTR], DATAWR1
[FLASH_PTR], DATAWR2
; Write low word to Flash
; Write high word to Flash, starts programming
G
Wait until programming time elapsed
(100
μ
s in this example), which depends on bit field
CKCTL in the FCR register and on the CPU clock frequency. End of programming is detected by
polling the FBUSY flag in the FCR register. The Flash memory switches to PVM mode
automatically.
WAIT_PROG:
MOV
JB
; Polling Loop to check bit FBUSY
; Read FCR contents using 16-bit access
; Loop while bit FBUSY (FCR.2) is ‘1’
; Continue in PVM mode, when FBUSY is ‘0’
R15, DPP1: pof FCR
R15.2, WAIT_PROG
G
Verify V
PP
validity during programming
to make sure V
PP
did not exceed its valid margins
during the programming operation. Otherwise programming may have not been performed
properly. The FCVPP flag is set to ‘1’ in case of this error condition. If FCVPP reads ‘1’, the
programming routine can abort, when V
PP
still fails, or repeat the programming operation, when
V
PP
proves to be stable now.
相關(guān)PDF資料
PDF描述
SAB88C166-5M 16-Bit CMOS Single-Chip Microcontrollers with/without oscillator prescaler with 32 KByte Flash EPROM
SAE 81C90 16-Bit Microcontroller(16位微控制器)
SAE 81C91 16-bit microcontrollers(16位微控制器)
SAF-C167CR-16F 16-Bit CMOS Single-Chip Microcontroller with 128KByte Flash EPROM
SAFC167CR-16F 16-Bit CMOS Single-Chip Microcontroller with 128KByte Flash EPROM
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
SAB88C166-5M 制造商:INFINEON 制造商全稱:Infineon Technologies AG 功能描述:16-Bit CMOS Single-Chip Microcontrollers with/without oscillator prescaler with 32 KByte Flash EPROM
SAB88C166EVAL 制造商:Siemens 功能描述:
SAB88C166W-5M 制造商:INFINEON 制造商全稱:Infineon Technologies AG 功能描述:16-Bit CMOS Single-Chip Microcontrollers with/without oscillator prescaler with 32 KByte Flash EPROM
SAB9075H 制造商:PHILIPS 制造商全稱:NXP Semiconductors 功能描述:Picture-in-Picture PIP controller for NTSC
SAB9075HB-S 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Picture-in-Picture Circuit