參數(shù)資料
型號(hào): W78E365P-40
元件分類(lèi): 微控制器
英文描述: Microcontroller
中文描述: 微控制器
文件頁(yè)數(shù): 30/35頁(yè)
文件大?。?/td> 186K
代理商: W78E365P-40
Preliminary W78E365
- 30 -
Application Note: In-system Programming Software Examples
This application note illustrates the in-system programmability of the Winbond W78E365 FLASH
EPROM microcontroller. In this example, microcontroller will boot from 64KB APROM bank and waiting
for a key to enter in-system programming mode for re-programming the contents of 64KB APROM.
While entering in-system programming mode, microcontroller excutes the loader program in 4KB
LDROM bank. The loader program erases the 64KB APROM then reads the new code data from
external SRAM buffer (or through other interfaces) to update the 64KB APROM.
EXAMPLE 1:
;*******************************************************************************************************************
;* Example of 64K APROM program: Program will scan the P1.0. if P1.0 = 0, enters in-system
;* programming mode for updating thecontents of APROM code else excutes the current ROM code.
;* XTAL = 40 MHz
;*******************************************************************************************************************
.chip 8052
.RAMCHK OFF
.symbols
CHPCON
EQU
BFH
CHPENR
EQU
F6H
SFRAL
EQU
C4H
SFRAH
EQU
C5H
SFRFD
EQU
C6H
SFRCN
EQU
C7H
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 APROM 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
相關(guān)PDF資料
PDF描述
W78E374 Monitor Controller
W78E51P-16 8-BIT MICROCONTROLLER
W78E51P-24 8-BIT MICROCONTROLLER
W78E51P-33 8-BIT MICROCONTROLLER
W78E51P-40 8-BIT MICROCONTROLLER
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
W78E374 制造商:未知廠家 制造商全稱(chēng):未知廠家 功能描述:Monitor Controller
W78E378 制造商:WINBOND 制造商全稱(chēng):Winbond 功能描述:MONITOR MICROCONTROLLER
W78E378A10PL 功能描述:IC MCU 8-BIT 32K FLASH 44-PLCC RoHS:是 類(lèi)別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:W78 標(biāo)準(zhǔn)包裝:300 系列:78K0R/Ix3 核心處理器:78K/0R 芯體尺寸:16-位 速度:40MHz 連通性:3 線(xiàn) SIO,I²C,LIN,UART/USART 外圍設(shè)備:DMA,LVD,POR,PWM,WDT 輸入/輸出數(shù):27 程序存儲(chǔ)器容量:16KB(16K x 8) 程序存儲(chǔ)器類(lèi)型:閃存 EEPROM 大小:- RAM 容量:1K x 8 電壓 - 電源 (Vcc/Vdd):2.7 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:38-SSOP 包裝:托盤(pán)
W78E378P 制造商:WINBOND 制造商全稱(chēng):Winbond 功能描述:MONITOR MICROCONTROLLER
W78E51-16 制造商:未知廠家 制造商全稱(chēng):未知廠家 功能描述:8-Bit Microcontroller