參數(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ù): 20/58頁(yè)
文件大?。?/td> 611K
代理商: SAB88C166
SAB 88C166(W)
Semiconductor Group
19
G
Enter writing mode via unlock sequence
(prerequisite for any programming or erase
operation).
MOV
MOV
CALL
FCR, Rw
n
[Rw
n
], Rw
n
cc_UC, WAIT_10
; Dummy write to the FCR
; Both operands use the same GPR
; Delay for 10
μ
s
G
Program the FCR register
with a value that selects the desired operating mode. Note that this
does not yet start the programming operation itself.
MOV
R15, #1000 0000 1010 0001B
; #xxxx xxxx xxxx xxx1: FWE=’1’:
; #xxxx xxxx xxxx xx0x: FEE=’0’:
; #xxxx xxxx x01x xxxx: CKCTL=’01’:
; #xxxx xxxx 1xxx xxxx: WDWW=’1’:
; #1xxx xxxx xxxx xxxx: FWMSET=’1’:
Enable Flash write operations
Select programming mode
100
μ
s programming pulse (fCPU = 20 MHz)
Select 32-bit programming mode
Stay in writing mode
MOV
DPP1:pof FCR, R15
; Write Value to the FCR using 16-bit access
G
Initialize pointers and counter
for the first transfer of the programming algorithm.
The source data block is accessed via the pointer SRC_PTR, initialized with SRC_START. All
read operations via SRC_PTR use DPP2, which selects data page 1 in this example.
The Flash memory must be accessed indirectly and uses the pointer FLASH_PTR, initialized
with FLASH_START.
The counter DWCOUNT defines the number of doublewords to be programmed.
G
Test for correct V
PP
margin at pin V
PP
/EBC1
before a programming operation is started. If bit
VPPREV reads ‘1’, the programming voltage is correct and the algorithm can be continued.
Otherwise, the programming routine could wait in Flash writing mode until V
PP
reaches its correct
value and resume programming then, or it could exit writing mode.
MOV
JB
Vpp_OK1:
R15, DPP1:pof FCR
R15.4, Vpp_OK1
; Read FCR contents using 16-bit access
; Test V
PP
via bit VPPREV (= FCR.4)
; VPPREV=’0’: Exit programming procedure
; VPPREV=’1’: Test Okay! Continue
相關(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