6
6-10
Ver.0.10
INTERNAL MEMORY
6.4 Registers Associated with the Internal Flash Memory
■
Flash Controle Register 2 (FCNT2)
<Address: H'0080 07E3>
D8
9
10
11
12
13
14
D15
FPROT
<When reset : H'00>
D
Bit Name
Function
R
W
8 - 14
No functions assigned
0
—
15
FPROT
0 : Protection by lock bit effective
(Unlock)
1 : Protection by lock bit not effective
The Flash Control Register 2 (FCNT2) controls invalidation of the internal flash memory protection
by a lock bit (to disable erasing or programming of the flash memory). The flash memory protection
becomes invalid (unlocked) by setting the FPROT bit to 1, so that any blocks protected by the lock
bit can be erased or programmed.
To set the FPROT bit to 1, write a 0 and then a 1 to the FPROT bit in succession while the FENTRY
bit = 1.
The FPROT bit is cleared to 0 by writing a 0 to the FPROT bit and setting the FP pin low or the
FENTRY bit to 0 immediately after reset.
Figure 6.4.2 Protection Unlocking Flow
FPROT=0
YES
NO
FENTRY=1
FPROT=1
FPROT is not set to 1 if write
cycle to any other area occurs
during this time
FPROT=0
FPROT=1
FENTRY=1
Summary of Contents for M32170F3VFP
Page 42: ...1 1 24 Ver 0 10 OVERVIEW 1 4 Pin Layout This is a blank page ...
Page 56: ...2 2 14 Ver 0 10 This is a blank page ...
Page 88: ...3 3 32 Ver 0 10 ADDRESS SPACE 3 7 Notes on Address Space This is a blank page ...
Page 270: ...9 9 40 Ver 0 10 DMAC 9 4 Precautions about the DMAC This is a blank page ...
Page 614: ...12 12 64 Ver 0 10 This is a blank page SERIAL I O 12 9 Precautions on Using UART Mode ...
Page 756: ...17 17 10 Ver 0 10 RAM BACKUP MODE 17 4 Exiting RAM Backup Mode Wakeup This is a blank page ...
Page 762: ...18 18 6 Ver 0 10 OSCILLATION CIRCUIT 18 2 Clock Generator Circuit This is a blank page ...
Page 831: ...CHAPTER 22 CHAPTER 22 TYPICAL CHARACTERISTICS 22 1 A D Conversion Characteristics ...
Page 833: ...Appendix 1 1 Dimensional Outline Drawing APPENDIX 1 APPENDIX 1 MECHANICAL SPECIFICATIONS ...
Page 841: ...Appendix 3 1 Precautions about Noise APPENDIX 3 APPENDIX 3 PRECAUTIONS ABOUT NOISE ...