SN8F2250B Series
USB 2.0 Full-Speed 8-Bit Micro-Controller
11.4 PROGRAMMING/ERASE DATA REGISTER
0BDH
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
PERAML
Read/Write
After reset
PERAML7 PERAML6 PERAML5 PERAML4 PERAML3 PERAML2 PERAML1 PERAML0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
0BEH
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
PERAMCNT PERAMCNT4 PERAMCNT3 PERAMCNT2 PERAMCNT1 PERAMCNT0
-
-
-
-
-
-
PERAML8
Read/Write
After reset
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
{PERAMCNT [1:0], PERAML [7:0]}: Define the starting RAM address [9:0], which stores the data wanted to be
programmed. The valid RAM addresses are 00H ~ 07FH and 0100H ~ 01FFH.
PERAMCNT [7:3]: Defines the number of words wanted to be programmed. The maximum PERAMCNT [7:3] is 01FH,
which program 32 words (64 bytes RAM) to the Flash. The minimum PERAMCNT [7:3] is 00H, which program only 1
word to the Flash.
11.4.1 Flash In-system-programming mapping address
RAM (byte)
bit7 ~ bit0
DATA0
Flash ROM (word)
bit15 ~ bit8
bit7 ~ bit0
X
X+1
Y
Y+1
DATA1
DATA3
DATA0
DATA2
DATA1
X+2
DATA2
DATA3
Y+2
=>
X+3
…
Y+3
…
X+N
DATAN
Y+M
DATAN
DATAN-1
SONiX TECHNOLOGY CO., LTD
Page 117
Version 1.1