Samsung S3F84B8 User Manual page 294

8-bit cmos
Hide thumbs Also See for S3F84B8:
Table of Contents

Advertisement

S3F84B8_UM_REV 1.00
LD
FMSECH,#06H
LD
FMSECL,#00H
LD
R9,#0A3H
LD
R10,#06H
LD
R11,#40H
WR_BYTE1:
LDC
@RR10,R9
INC
R11
DEC
R1
JP
NZ, WR_BYTE1
LD
FMUSR,#00H
WR_BYTE:
LDC
@RR10,R9
INC
R11
DEC
R0
JP
NZ, WR_BYTE
RET
; Sets the base address of sector located in target address to write data
; Sector 12's base address is 0600H
; Loads data "A3H" to write
; Loads flash memory upper address into upper register of pair working
; register
; Loads flash memory lower address into lower register of pair working
; register
; Writes data "A3H" to flash memory location
; Disables User Program mode
; Writes data written by R9 to flash memory location
19-13
19 EMBEDDED FLASH MEMORY INTERFACE

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents