2 normal program – Samsung S3F401F User Manual

Page 64

Advertising
background image

INTERNAL FLASH ROM

S3F401F_UM_REV1.00

5-4

4.2 NORMAL PROGRAM

+

START

; Address set
; Data set

; Key value set whenenver starts

; Program command select & start
Command: FMUCON.2-UPGMR

; Check command bit to know
if operation is completed or not

; Next address/data set

FINISH

Yes

No

Yes

No

; Enable flash osc

; Compare End address

FMKEY

0x5A5A5A5A

FMUCON

+ UOSCEN Bit

FMUCON

+ CommandBit + CPUStatus Bit + Start Bit

Can be executed another
instruction in SRAM/SDRAM

COUNT=END?

FMADDR New 32-bit Address
FMDATA New 32-bit Data

32-bit Data Writing

Command Bit Clear

CPUHOLD?

FMADDR 32-bit Address
FMDATA 32-bit Data

Figure 5-2. Normal Program Flowchart

Advertising