国产精品成人VA在线观看-国产乱妇乱子视频在播放-国产日韩精品一区二区三区在线-国模精品一区二区三区

參數資料
型號: W79E648
廠商: WINBOND ELECTRONICS CORP
英文描述: Fast 8051 Compatible microcontroller with a redesigned Processor
中文描述: 快速8051兼容微控制器重新設計的處理器
文件頁數: 75/80頁
文件大小: 407K
代理商: W79E648
Preliminary W79E648
Publication Release Date: 05/31/2004
- 75 - Revision A1
20. APPLICATION NOTE
In-system Programming Software Examples
This application note illustrates the in-system programmability of the Winbond W79E648 Flash
EPROM microcontroller. In this example, microcontroller will boot from 64 KB
APFlash
bank and
waiting for a key to enter in-system programming mode for re-programming the contents of 64 KB
APFlash. While entering in-system programming mode, microcontroller executes the loader program
in 4KB LDFlash bank. The loader program erases the 64 KB APFlash then reads the new code data
from external SRAM buffer (or through other interfaces) to update the 64KB APFlash.
If the customer uses the reboot mode to update his program, please enable this b3 or b4 of security
bits from the writer. Please refer security bits for detail descrption
EXAMPLE 1:
;*******************************************************************************************************************
;* Example of 64K APFlash program: Program will scan the P1.0. if P1.0 = 0, enters in-system
;* programming mode for updating the content of APFlash code else executes the current ROM code.
;* XTAL = 24 MHz
;*******************************************************************************************************************
.chip 8052
.RAMCHK OFF
.symbols
CHPCON
EQU
9FH
TA
EQU
C7H
SFRAL
EQU
ACH
SFRAH
EQU
ADH
SFRFD
EQU
AEH
SFRCN
EQU
AFH
ORG 0H
LJMP 100H
; JUMP TO MAIN PROGRAM
;************************************************************************
;* TIMER0 SERVICE VECTOR ORG = 000BH
;************************************************************************
ORG 00BH
CLR TR0
; TR0 = 0, STOP TIMER0
MOV TL0,R6
MOV TH0,R7
RETI
;************************************************************************
;* 64K APFlash MAIN PROGRAM
;************************************************************************
ORG
100H
MAIN_64K:
MOV A,P1
; SCAN P1.0
ANL A,#01H
CJNE A,#01H,PROGRAM_64K
; IF P1.0 = 0, ENTER IN-SYSTEM PROGRAMMING MODE
JMP NORMAL_MODE
相關PDF資料
PDF描述
W79E802 8-BIT MICROCONTROLLER
W79E802A 8-BIT MICROCONTROLLER
W79E802ADG 8-BIT MICROCONTROLLER
W79E802ASG 8-BIT MICROCONTROLLER
W79E803 8-BIT MICROCONTROLLER
相關代理商/技術參數
參數描述
W79E658A40FL 制造商:Nuvoton Technology Corp 功能描述:IC MCU 8BIT 100QFP
W79E659A40FL 制造商:Nuvoton Technology Corp 功能描述:IC MCU 8BIT 100QFP
W79E802 制造商:WINBOND 制造商全稱:Winbond 功能描述:8-BIT MICROCONTROLLER
W79E802A 制造商:WINBOND 制造商全稱:Winbond 功能描述:8-BIT MICROCONTROLLER
W79E802ADG 制造商:WINBOND 制造商全稱:Winbond 功能描述:8-BIT MICROCONTROLLER