![](http://datasheet.mmic.net.cn/Renesas-Electronics-America/UPD78F0394GC-8EA-A_datasheet_99854/UPD78F0394GC-8EA-A_18.png)
User’s Manual U17473EJ2V0UD
16
27.7 Programming Method .............................................................................................................. 603
27.7.1 Controlling flash memory .............................................................................................................603
27.7.2 Flash memory programming mode ..............................................................................................603
27.7.3 Selecting communication mode ...................................................................................................604
27.7.4 Communication commands..........................................................................................................605
27.8 Security Settings ...................................................................................................................... 606
27.9 Processing Time for Each Command When PG-FP4 Is Used (Reference)......................... 608
27.10 Flash Memory Programming by Self-Writing ...................................................................... 609
27.10.1 Boot swap function.....................................................................................................................616
CHAPTER 28 ON-CHIP DEBUG FUNCTION (
μPD78F0397D ONLY)............................................................................618
28.1 Connecting QB-78K0MINI to
μPD78F0397D .......................................................................... 618
28.2 On-Chip Debug Security ID ..................................................................................................... 620
CHAPTER 29 INSTRUCTION SET ............................................................................................................................................ 621
29.1 Conventions Used in Operation List ...................................................................................... 621
29.1.1 Operand identifiers and specification methods.............................................................................621
29.1.2 Description of operation column...................................................................................................622
29.1.3 Description of flag operation column ............................................................................................622
29.2 Operation List ........................................................................................................................... 623
29.3 Instructions Listed by Addressing Type................................................................................ 631
CHAPTER 30 ELECTRICAL SPECIFICATIONS.................................................................................................................... 634
CHAPTER 31 PACKAGE DRAWINGS .................................................................................................................................... 655
CHAPTER 32 RECOMMENDED SOLDERING CONDITIONS.......................................................................................... 657
CHAPTER 33 CAUTIONS FOR WAIT...................................................................................................................................... 658
33.1 Cautions for Wait...................................................................................................................... 658
33.2 Peripheral Hardware That Generates Wait ............................................................................ 659
APPENDIX A DEVELOPMENT TOOLS................................................................................................................................... 660
A.1 Software Package ...................................................................................................................... 663
A.2 Language Processing Software ............................................................................................... 663
A.3 Control Software ........................................................................................................................ 664
A.4 Flash Memory Writing Tools..................................................................................................... 664
A.5 Debugging Tools (Hardware).................................................................................................... 665
A.5.1 When using in-circuit emulator QB-78K0LX2.................................................................................665
A.5.2 When using on-chip debug emulator QB-78K0MINI ......................................................................666
A.6 Debugging Tools (Software)..................................................................................................... 666
APPENDIX B REGISTER INDEX ............................................................................................................................................... 667
B.1 Register Index (In Alphabetical Order with Respect to Register Names) ............................ 667
B.2 Register Index (In Alphabetical Order with Respect to Register Symbol)........................... 671
APPENDIX C REVISION HISTORY........................................................................................................................................... 675
C.1 Major Revisions in This Edition ............................................................................................... 675