EMBEDDED FLASH MEMORY INTERFACE

S3F80JB

 

 

 

 

 

Start

 

 

 

 

SB1

 

 

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

 

 

FMUSR

 

#0A5H

 

FMCON

 

#01010000B

 

LDC

 

@RR(n),R(data)

 

YES

Write again?

 

 

 

 

NO Same Sector?

 

 

NO

 

FMUSR

#00H

 

YES

 

 

SB0

; Select Bank0

NO

 

 

 

 

Continuous address?

Finish Writing

 

 

 

 

YES

INC R(n+1)

;Select Bank1

;Set Secotr Base Address

;Set Address and Data

;User Program Mode Enable

;Mode Select

;Write data at flash

;User Program Mode Disable

;User Program Mode Disable ;; Check Sector

;; Check Address

;; Increse Address

Different Data?

YES

R(data) New 8-bit Data

NO

;; Update Data to Write

Figure 15-10. Program Flowchart in a User Program Mode

15-14

Page 293
Image 293
Samsung S3F80JB manual Program Flowchart in a User Program Mode