ML610Q111/ML610Q112 User’s Manual
Chapter 23 Data Flash Memory
FEUL610Q111
23-3
23.2.2 Flash Address Register (FLASHAL,H)
Address: 0F0E0H
Access: R/W
Access size: 8/16 bits
Initial value: 00H
7
6
5
4
3
2
1
0
FLASHAL
FA7
FA6
FA5
FA4
FA3
FA2
FA1
FA0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R
Initial value
0
0
0
0
0
0
0
0
Address: 0F0E1H
Access: R/W
Access size: 8 bits
Initial value: 00H
7
6
5
4
3
2
1
0
FLASHAH
FA15
FA14
FA13
FA12
FA11
FA10
FA9
FA8
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value
0
0
0
0
0
0
0
0
FLASHAL and FLASHAH are special function registers (SFRs) that set the flash memory rewrite addresses.
[Description of Bits]
•
FA7-FA0
(bits 7-0)
The FA7 to FA0 bits are used to set the lower address for 1-word write.
Note that the bit 0 is fixed to 0 and cannot be written.
•
FA15-FA8
(bits 7-0)
The FA15 to FA8 bits are used to set the upper address for sector erase, block erase, or 1-word write.
The upper address is specified by the flash segment registers FSEG0, FSEG1, and FA15 to FA8.
Table 23-1 shows the address setting values for sector erase, and table 23-2 shows the address values for block erase.
Table 23-1 Address Setting Values for Sector Erase
Area for sector erase
FLASHSEG
FLASHAH
Segment
Address
FSEG1
FSEG0
FA
15
FA
14
FA
13
FA
12
FA
11
FA
10
FA
9
FA
8
Segment 2
0000H
to
03FFH
1
0
0
0
0
0
0
0
0
0
0400H
to
07FFH
1
0
0
0
0
0
0
1
0
0
0800H
to
0BFFH
1
0
0
0
0
0
1
0
0
0
0C00H to
0FFFH
1
0
0
0
0
0
1
1
0
0
Table 23-2 Address Setting Values for Block Erase
Area for block erase
FLASHSEG
FLASHAH
Segment
Address
FSEG1
FSEG0
FA
15
FA
14
FA
13
FA
12
FA
11
FA
10
FA
9
FA
8
Segment 2
0000H
to
0FFFH
1
0
0
0
0
0
0
0
0
0
Summary of Contents for ML610Q111
Page 1: ...ML610Q111 ML610Q112 User s Manual Issue Date Nov 16 2016 FEUL610Q111 05 ...
Page 14: ...Chapter 1 Overview ...
Page 26: ...Chapter 2 CPU and Memory Space ...
Page 34: ...Chapter 3 Reset Function ...
Page 38: ...Chapter 4 MCU Control Function ...
Page 53: ...Chapter 5 Interrupts INTs ...
Page 81: ...Chapter 6 Clock Generation Circuit ...
Page 95: ...Chapter 7 Time Base Counter ...
Page 103: ...Chapter 8 Timers ...
Page 145: ...Chapter 9 Watchdog Timer ...
Page 153: ...Chapter 10 PWM ...
Page 199: ...Chapter 11 Synchronous Serial Port ...
Page 212: ...Chapter 12 UART ...
Page 240: ...Chapter 13 I2 C Bus Interface Master ...
Page 254: ...Chapter 14 I2 C Bus Interface Slave ...
Page 269: ...Chapter 15 Port A ...
Page 279: ...Chapter 16 Port B ...
Page 291: ...Chapter 17 Port C ...
Page 303: ...Chapter 18 Port D ...
Page 312: ...Chapter 19 Port AB Interrupts ...
Page 317: ...Chapter 20 Successive Approximation Type A D Converter ...
Page 335: ...Chapter 21 Voltage Level Supervisor ...
Page 342: ...Chapter 22 Analog Comparator ...
Page 353: ...Chapter 23 Data Flash Memory ...
Page 373: ...Chapter 24 On chip Debug ...
Page 375: ...Appendixes ...
Page 393: ...Appendix E ...
Page 398: ...Revision History ...