
ML62Q1000 Series User's Manual
Chapter 25 Flash Memory
FEUL62Q1000
25-7
25.2.3 Flash Segment Register (FLASHSEG)
FLASHSEG is a special function register (SFR) used to set the segment for erasing and programming the flash memry.
Address:
0xF09A(FLASHSEG)
Access:
R/W
Access size: 8bit
Initial value:
0x10
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Word
-
Byte
-
FLASHSEG
Bit
-
-
-
-
-
-
-
-
-
-
-
FSEG4 FSEG3 FSEG2 FSEG1 FSEG0
R/W
R
R
R
R
R
R
R
R
R
R
R
R/W
R/W
R/W
R/W
R/W
Initial
value
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
Bit No.
Bit symbol
name
Description
15 to 5
-
Reserved bit
4 to 0
FSEG4 to FSEG0
These bits are used to set the flash memory segment address.
Table 25-1 shows the address setting value for block erase and Table 25-2 shows the address setting value for sector
erase.
Table 25-1 Address Setting Values for Block Erase
Group
Segment
Block
Address
Size
FLASHSEG
register
FLASHA
register
ML62Q1300
group
Segment 0
Block 0
0x0000 to 0x3FFF
16K byte
0x00
0x0000
Block 1
0x4000 to 0x7FFF
16K byte
0x4000
Block 2
0x8000 to 0xBFFF
16K byte
0x8000
Block 3
0xC000 to 0xFFFF
16K byte
0xC000
Segment 31
Block 0
0x0000 to 0x07FF
2K byte
0x1F
0x0000
ML62Q1500
group
or
ML62Q1700
group
Segment 0
Block 0
0x0000 to 0x3FFF
16K byte
0x00
0x0000
Block 1
0x4000 to 0x7FFF
16K byte
0x4000
Block 2
0x8000 to 0xBFFF
16K byte
0x8000
Block 3
0xC000 to 0xFFFF
16K byte
0xC000
Segment 1
Block 4
0x0000 to 0x3FFF
16K byte
0x01
0x0000
Block 5
0x4000 to 0x7FFF
16K byte
0x4000
Block 6
0x8000 to 0xBFFF
16K byte
0x8000
Block 7
0xC000 to 0xFFFF
16K byte
0xC000
Segment 2
Block 8
0x0000 to 0x3FFF
16K byte
0x02
0x0000
Block 9
0x4000 to 0x7FFF
16K byte
0x4000
Block 10
0x8000 to 0xBFFF
16K byte
0x8000
Block 11
0xC000 to 0xFFFF
16K byte
0xC000
Segment 3
Block 12
0x0000 to 0x3FFF
16K byte
0x03
0x0000
Block 13
0x4000 to 0x7FFF
16K byte
0x4000
Block 14
0x8000 to 0xBFFF
16K byte
0x8000
Block 15
0xC000 to 0xFFFF
16K byte
0xC000
Segment 31
Block 0
0x0000 to 0x0FFF
4K byte
0x1F
0x0000
Summary of Contents for ML62Q1000 Series
Page 17: ...Chapter 1 Overview...
Page 112: ...Chapter 2 CPU and Memory Space...
Page 154: ...Chapter 3 Reset Function...
Page 166: ...Chapter 4 Power Management...
Page 196: ...Chapter 5 Interrupts...
Page 248: ...Chapter 6 Clock generation Circuit...
Page 274: ...Chapter 7 Low Speed Time Base Counter...
Page 291: ...Chapter 8 16 Bit Timer...
Page 320: ...Chapter 9 Functional Timer FTM...
Page 382: ...Chapter 10 Watchdog Timer...
Page 402: ...Chapter 11 Serial Communication Unit...
Page 456: ...Chapter 12 I2 C Bus Unit...
Page 491: ...Chapter 13 I2 C Master...
Page 512: ...Chapter 14 DMA Controller...
Page 531: ...Chapter 15 Buzzer...
Page 550: ...Chapter 16 Simplified RTC...
Page 559: ...Chapter 17 GPIO...
Page 594: ...Chapter 18 External Interrupt Function...
Page 612: ...Chapter 19 CRC Generator...
Page 632: ...Chapter 20 Analog Comparator...
Page 644: ...Chapter 21 D A Converter...
Page 655: ...Chapter 22 Voltage Level Supervisor...
Page 676: ...Chapter 23 Successive Approximation Type A D Converter...
Page 709: ...Chapter 24 Regulator...
Page 714: ...Chapter 25 Flash Memory...
Page 743: ...Chapter 26 Code Option...
Page 750: ...Chapter 27 LCD Driver...
Page 788: ...Chapter 28 On Chip Debug Function...
Page 795: ...Chapter 29 Safety Function...
Page 813: ...Appendix A...
Page 881: ...Revision History...