English
Language : 

W79E217A Datasheet, PDF (187/207 Pages) Winbond – 8-bit Microcontroller
Preliminary W79E217A Data Sheet
23. IN-SYSTEM PROGRAMMING
23.1 The Loader Program Locates at LDFlash Memory
CPU is Free Run at APFlash memory. CHPCON register had been set #03H value before CPU has
entered idle state. CPU will switch to LDFlash memory and execute a reset action. H/W reboot mode
will switch to LDFlash memory, too. Set SFRCN register where it locates at user's loader program to
update APFlash bank 0 memory. Set a SWRESET (CHPCON=#83H) to switch back APFlash after
CPU has updated APFlash program. CPU will restart to run program from reset state.
23.2 The Loader Program Locates at APFlash Memory
CPU is Free Run at APFlash memory. CHPCON register had been set #01H value before CPU has
entered idle state. Set SFRCN register to update LDFlash or another bank of APFlash program. CPU
will continue to run user's APFlash program after CPU has updated program. Please refer
demonstrative code to understand other detail description.
- 187 -
Publication Release Date: December 14, 2007
Revision A3.0