
Preliminary User’s Manual U17397EJ2V1UD
15
22.2.1
HALT mode..............................................................................................................................534
22.2.2
STOP mode .............................................................................................................................539
CHAPTER 23 RESET FUNCTION ....................................................................................................... 544
23.1
Register for Confirming Reset Source ................................................................................ 552
CHAPTER 24 POWER-ON-CLEAR CIRCUIT ..................................................................................... 553
24.1
Functions of Power-on-Clear Circuit ................................................................................... 553
24.2
Configuration of Power-on-Clear Circuit............................................................................. 554
24.3
Operation of Power-on-Clear Circuit ................................................................................... 554
24.4
Cautions for Power-on-Clear Circuit.................................................................................... 557
CHAPTER 25 LOW-VOLTAGE DETECTOR ....................................................................................... 559
25.1
Functions of Low-Voltage Detector ..................................................................................... 559
25.2
Configuration of Low-Voltage Detector............................................................................... 559
25.3
Registers Controlling Low-Voltage Detector ...................................................................... 560
25.4
Operation of Low-Voltage Detector ..................................................................................... 563
25.4.1
When used as reset .................................................................................................................564
25.4.2
When used as interrupt ............................................................................................................569
25.5
Cautions for Low-Voltage Detector...................................................................................... 574
CHAPTER 26 OPTION BYTE............................................................................................................... 577
26.1
Functions of Option Bytes .................................................................................................... 577
26.2
Format of Option Byte ........................................................................................................... 578
CHAPTER 27 FLASH MEMORY.......................................................................................................... 581
27.1
Internal Memory Size Switching Register ........................................................................... 581
27.2
Internal Expansion RAM Size Switching Register.............................................................. 582
27.3
Writing with Flash Programmer ........................................................................................... 583
27.4
Programming Environment................................................................................................... 586
27.5
Communication Mode ........................................................................................................... 586
27.6
Handling of Pins on Board.................................................................................................... 588
27.6.1
FLMD0 pin ...............................................................................................................................588
27.6.2
Serial interface pins..................................................................................................................588
27.6.3
RESET pin ...............................................................................................................................590
27.6.4
Port pins...................................................................................................................................590
27.6.5
REGC pin.................................................................................................................................590
27.6.6
Other signal pins ......................................................................................................................590
27.6.7
Power supply ...........................................................................................................................590
27.7
Programming Method............................................................................................................ 591
27.7.1
Controlling flash memory .........................................................................................................591
27.7.2
Flash memory programming mode ..........................................................................................591
27.7.3
Selecting communication mode ...............................................................................................592
27.7.4
Communication commands......................................................................................................593
27.8
Security Settings.................................................................................................................... 594
27.9
Flash Memory Programming by Self-Programming........................................................... 596