Part Name
         Description
W77E532_07

 8-BIT MICROCONTROLLER ( 86 Page)


WINBOND
100% 
Zoom Out Zoom In
 80 page
background image
W77E532/W77E532A
Publication Release Date: November 19, 2007
- 80 -
Revision A9
21. APPLICATION NOTE
In-system Programming Software Examples
This application note illustrates the in-system programmability of the Winbond W77E532A 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



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  55  56  57  58  59  60  61  62  63  64  65  66  67  68  69  70  71  72  73  74  75  76  77  78  79  80  81  82  83  84  85  86 


Datasheet Download



Related Electronics Part Number

Part NumberComponents DescriptionHtml ViewManufacturer
TMP87PM29UCMOS 8-Bit Microcontroller 1 2 3 4 5 MoreToshiba Semiconductor
ATTINY11_068-bit Microcontroller with 1K Byte Flash 1 2 3 4 5 MoreATMEL Corporation
ATMEGA325_068-bit Microcontroller with In-System Programmable Flash 1 2 3 4 5 MoreATMEL Corporation
AT89LV55_068-bit Microcontroller with 20K Bytes Flash 1 2 3 4 5 MoreATMEL Corporation
AT89S51_058-bit Microcontroller with 4K Bytes In-System Programmable Flash 1 2 3 4 5 MoreATMEL Corporation
AT89LS51_068-bit Low-Voltage Microcontroller with 4K Bytes In-System Programmable Flash 1 2 3 4 5 MoreATMEL Corporation
ATMEGA165P_06118-bit Microcontroller with 16K Bytes In-System Programmable Flash 1 2 3 4 5 MoreATMEL Corporation
CP80S54EPROM/ROM-Based 8-Bit Microcontroller Series 1 2 3 4 5 MoreList of Unclassifed Manufacturers
PIC16F872_0628-Pin 8-Bit CMOS Flash Microcontroller with 10-Bit A/D 1 2 3 4 5 MoreMicrochip Technology
MB89670R8-bit Proprietary Microcontroller 1 2 3 4 5 MoreFujitsu Component Limited.

Link URL

Sponsor of Alldatasheet


Alldistributor will be your best source to find out the prices for your daily purchasing of Electronic Components.
Alldistributor.com

World wide Buy/Sell Semiconductor & Electronic components on-line marketplace for Brokers and Distributors.
IC2IC.com

Korean Buy/Sell Semiconductor & Electronic components on-line marketplace for Brokers and Distributors.
ICpart.com

Chinese Marketplace to Buy/Sell Semiconductor Electronic components on-line for Brokers and Distributors.
IC5858.com

Japanese Buy/Sell Semiconductor & Electronic components on-line marketplace for Brokers and Distributors.
ICBAIBAI.com

Does ALLDATASHEET help your business so far?  [ DONATE ]  

About Alldatasheet   |   Advertisement   |   Partner program   |   Contact us   |   Privacy Policy   |   Bookmark   |   Link Exchange   |   Manufacturer List
All Rights Reserved© Alldatasheet.com 2003 - 2013    


Mirror Sites
English : Alldatasheet.com  , 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