Flat Panel Television User Manual
Table Of Contents
- TOC
- 01-Overview
- 02-Address Space
- 03-Addressing Modes
- 04-Control Registers
- 05-Interrupt Structure
- 06-Instruction Set
- 07-Clock and Power Circuits
- 08-RESET
- 09-IO PORTS
- 10-BASIC TIMER and TIMER 0
- 11-Timer1
- 12-CounterA
- 13-Timer2
- 14-EMBEDDED Flash Memory Interface
- 15-Low Voltagge Detector
- 16-Electrical Data
- 17-Mechanical Data
- 18-Flash MCU
- 19-Development Tool
- TOC.pdf

S3F80P5_UM_ REV1.00 EMBEDDED FLASH MEMORY INTERFACE
SB1
Start
; Select Bank1
; User Program Mode Enable
; Set Secotr Base Address
; Write data at flash
; User Program Mode Disable
FMSECH High Address of Sector
FMSECL Low Address of Sector
R(n) High Address to Write
R(n+1) Low Address to Write
R(data) 8-bit Data
LDC @RR(n),R(data)
; Mode Select
FMCON #01010000B
FMUSR #0A5H
; Select Bank0
; Set Address and Data
INC R(n+1)
Same Sector?
R(data) New 8-bit Data
FMUSR #00H
SB0
Finish Writing
NO
YES
NO
YES
NO
YES
NO
YES
; User Program Mode Disable
;; Update Data to Write
;; Check Sector
;; Check Address
;; Increse Address
Different Data?
Continuous address?
Write again?
Figure 14-10. Program Flowchart in a User Program Mode
14-13










