Program - Samsung S3C8275X User Manual

8-bit cmos microcontrollers
Table of Contents

Advertisement

EMBEDDED FLASH MEMORY INTERFACE
PROGRAMMING TIP ⎯ Program
SB1
LD
LD
LD
LD
LD
LD
CP
JR
LD
LDC
NOP
LD
Not_ID_Code:
SB1
LD
16-10
FMUSR,#0A5H
FMSECH,#17H
FMSECL,#80H
R2,#17H
R3,#84H
R4,#78H
UserID_Code,#User_value ; Check user's ID code (written by user)
NE,Not_ID_Code
FMCON,#01010001B
@RR2,R4
FMUSR,#0
FMUSR,#0
; User Program mode enable
; Set sector address (1780H−17FFH)
; Set a ROM address in the same sector 1780H−17FFH
; Temporary data
; User_value is any value by user
; If not equal, jump to Not_ID_Code
; Start program
; Write the data to a address of same sector(1784H)
; Dummy Instruction, This instruction must be needed
; User Program mode disable
; User Program mode disable
S3F8275X

Advertisement

Table of Contents
loading

This manual is also suitable for:

F8275xF8274xC8278xC8274xF8278x

Table of Contents