EasyManua.ls Logo

Samsung S3F84B8 - Page 294

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

Table of Contents

Other manuals for Samsung S3F84B8

Related product manuals