
Preliminary User’s Manual U17473EJ1V0UD
15
23.2
Configuration of Power-on-Clear Circuit............................................................................. 507
23.3
Operation of Power-on-Clear Circuit ................................................................................... 507
23.4
Cautions for Power-on-Clear Circuit.................................................................................... 508
CHAPTER 24 LOW-VOLTAGE DETECTOR ....................................................................................... 510
24.1
Functions of Low-Voltage Detector ..................................................................................... 510
24.2
Configuration of Low-Voltage Detector............................................................................... 510
24.3
Registers Controlling Low-Voltage Detector ...................................................................... 511
24.4
Operation of Low-Voltage Detector ..................................................................................... 514
24.4.1
When used as reset .................................................................................................................515
24.4.2
When used as interrupt ............................................................................................................519
24.5
Cautions for Low-Voltage Detector...................................................................................... 523
CHAPTER 25 OPTION BYTE............................................................................................................... 526
CHAPTER 26 FLASH MEMORY.......................................................................................................... 528
26.1
Internal Memory Size Switching Register ........................................................................... 528
26.2
Bank Select Register (
PD78F0397 and 78F0397D Only).................................................. 529
26.3
Internal Expansion RAM Size Switching Register.............................................................. 530
26.4
Writing with Flash Programmer ........................................................................................... 530
26.5
Programming Environment................................................................................................... 536
26.6
Communication Mode ........................................................................................................... 536
26.7
Handling of Pins on Board.................................................................................................... 538
26.7.1
FLMD0 pin ...............................................................................................................................538
26.7.2
Serial interface pins..................................................................................................................538
26.7.3
RESET pin ...............................................................................................................................540
26.7.4
Port pins...................................................................................................................................540
26.7.5
REGC pin.................................................................................................................................540
26.7.6
Other signal pins ......................................................................................................................540
26.7.7
Power supply ...........................................................................................................................540
26.8
Programming Method............................................................................................................ 541
26.8.1
Controlling flash memory .........................................................................................................541
26.8.2
Flash memory programming mode ..........................................................................................541
26.8.3
Selecting communication mode ...............................................................................................542
26.8.4
Communication commands......................................................................................................543
26.9
Flash Memory Programming by Self-Writing...................................................................... 544
26.10 Boot Swap Function .............................................................................................................. 547
26.10.1
Outline of boot swap function...................................................................................................547
CHAPTER 27 ON-CHIP DEBUG FUNCTION (
PD78F0397D ONLY) ............................................ 548
27.1
Security ID Control Flag and Security ID............................................................................. 548
CHAPTER 28 INSTRUCTION SET ...................................................................................................... 550
28.1
Conventions Used in Operation List.................................................................................... 550
28.1.1
Operand identifiers and specification methods ........................................................................550
28.1.2
Description of operation column...............................................................................................551