6
6-6
Rev.1.0
■
Flash Status Register 2 (FSTAT2)
D8
9
10
11
12
13
14
D15
FBUSY
ERASE
WRERR1 WRERR2
<When reset: H'80>
D
Bit Name
Function
R
W
8
FBUSY
0: Being programmed or erased
–
(Flash busy)
1: Ready state
9
No functions assigned
0
–
10
ERASE
0: Erase normally operating or finished
–
(Auto erase operating status)
1: Erase error occurred
11
WRERR1
0: Programming normally operating or finished
–
(Program operating status 1)
1: Programming error occurred
12
WRERR2
0: Programming normally operating or finished
–
(Program operating status 2)
1: Over-programming occurred
13-15
No functions assigned
0
–
The Flash Status Register 2 (FSTAT2) consists of the following four read-only status bits that
indicate the operating status of the flash memory.
(1) FBUSY (flash busy) bit (D8)
The FBUSY bit is used to determine whether the operation is under way or finished when
programming or erasing the flash memory.
The programming/erase operation is under way when FBUSY = 0 or finished when FBUSY = 1.
(2) ERASE (auto erase operating status) bit (D10)
The ERASE bit is used to determine whether an error occurred after the CPU has finished
erasing the flash memory.
The erase operation terminated normally when ERASE = 0 or terminated in an error when
ERASE = 1.
(3) WRERR1 (program operating status 1) bit (D11)
The WRERR1 bit is used to determine whether an error occurred after the CPU has finished
programming the flash memory. The programming operation terminated normally when
WRERR1 = 0 or terminated in an error when WRERR1 = 1.
The condition under which WRERR1 is set to 1 is when any bit other than those that must be 0 is
found to be a 0 by comparison between the write data and the data in the flash memory.
INTERNAL MEMORY
6.4 Internal Flash Memory Related Registers
Содержание 32172
Страница 20: ... This is a blank page 16 ...
Страница 21: ...1 1 Overview 1 2 Block Diagram 1 3 Pin Functions 1 4 Pin Layout CHAPTER 1 CHAPTER 1 OVERVIEW ...
Страница 44: ...1 1 24 Rev 1 0 This is a blank page Overview 1 4 Pin Layout ...
Страница 58: ...2 2 14 Rev 1 0 This is a blank page CPU 2 6 Data Formats ...
Страница 122: ...4 4 26 Rev 1 0 This is a blank page EIT 4 13 Precautions on EIT ...
Страница 200: ...7 7 6 Rev 1 0 This is a blank page RESET 7 4 Precautions to Be Taken Immediately after Reset ...
Страница 240: ...8 8 40 Rev 1 0 This is a blank page INPUT OUTPUT PORTS AND PIN FUNCTIONS 8 5 Precautions on Input Output Ports ...
Страница 298: ...9 9 58 Rev 1 0 This is a blank page DMAC 9 4 Precautions on Using DMAC ...
Страница 416: ...10 10 118 Rev 1 0 This is a blank page INPUT OUTPUT TIMERS 10 6 TOM Output Related 16 bit Timers ...
Страница 658: ...14 14 16 Rev 1 0 REAL TIME DEBUGGER RTD 14 4 Typical Connection with the Host This is a blank page ...
Страница 718: ...16 16 16 Rev 1 0 This is a blank page D A CONVERTERS 16 3 Functional Description of the D A Converters ...
Страница 766: ...18 18 22 Rev 1 0 WAIT CONTROLLER 18 3 Typical Operation of the Wait Controller This is a blank page ...
Страница 776: ...19 19 10 Rev 1 0 RAM BACKUP MODE 19 4 Exiting RAM Backup Mode Wakeup This is a blank page ...
Страница 777: ...CHAPTER 20 CHAPTER 20 OSCILLATION CIRCUIT 20 1 Oscillator Circuit 20 2 Clock Generator Circuit ...
Страница 782: ...20 20 6 Rev 1 0 OSCILLATION CIRCUIT 20 2 Clock Generator Circuit This is a blank page ...
Страница 856: ...23 23 26 Rev 1 0 This is a blank page ELECTRICAL CHARACTERISTICS 23 6 AC Characteristics ...
Страница 857: ...24 1 A D Conversion Characteristics CHAPTER 24 CHAPTER 24 STANDARD CHARACTERISTICS ...
Страница 859: ...Appendix 1 1 Dimensional Outline Drawing APPENDIX 1 APPENDIX 1 MECHANICAL SPECIFICATIONS ...
Страница 861: ...Appendix 2 1 M32R E Instruction Processing Time APPENDIX 2 APPENDIX 2 INSTRUCTION PROCESSING TIME ...
Страница 865: ...Appendix 3 1 Precautions about Noise APPENDIX 3 APPENDIX 3 PRECAUTIONS ABOUT NOISE ...