![](http://datasheet.mmic.net.cn/Renesas-Electronics-America/UPD78F1168AGF-GAS-AX_datasheet_99857/UPD78F1168AGF-GAS-AX_18.png)
User’s Manual U17894EJ9V0UD
16
25.5
Registers that Control Flash Memory ..................................................................................724
25.6
Programming Method ............................................................................................................725
25.6.1
Controlling flash memory ..........................................................................................................725
25.6.2
Flash memory programming mode...........................................................................................725
25.6.3
Selecting communication mode................................................................................................726
25.6.4
Communication commands ......................................................................................................726
25.7
Security Settings ....................................................................................................................728
25.8
Processing Time of Each Command When Using PG-FP4 or PG-FP5 (Reference
Values).....................................................................................................................................730
25.9
Flash Memory Programming by Self-Programming ...........................................................731
25.9.1
Boot swap function ...................................................................................................................733
25.9.2
Flash shield window function ....................................................................................................735
CHAPTER 26 ON-CHIP DEBUG FUNCTION ....................................................................................736
26.1
Connecting QB-MINI2 to 78K0R/KG3 ...................................................................................736
26.2
On-Chip Debug Security ID ...................................................................................................737
26.3
Securing of User Resources .................................................................................................737
CHAPTER 27 BCD CORRECTION CIRCUIT ....................................................................................739
27.1
BCD Correction Circuit Function..........................................................................................739
27.2
Registers Used by BCD Correction Circuit .........................................................................739
27.3
BCD Correction Circuit Operation........................................................................................740
CHAPTER 28 INSTRUCTION SET.......................................................................................................742
28.1
Conventions Used in Operation List....................................................................................743
28.1.1
Operand identifiers and specification methods .........................................................................743
28.1.2
Description of operation column ...............................................................................................744
28.1.3
Description of flag operation column ........................................................................................745
28.1.4
PREFIX instruction ...................................................................................................................745
28.2
Operation List .........................................................................................................................746
CHAPTER 29 ELECTRICAL SPECIFICATIONS (STANDARD PRODUCTS) .................................763
CHAPTER 30 ELECTRICAL SPECIFICATIONS ((A) GRADE PRODUCTS) ..................................827
CHAPTER 31 PACKAGE DRAWINGS ...............................................................................................889
CHAPTER 32 RECOMMENDED SOLDERING CONDITIONS..........................................................891
APPENDIX A DEVELOPMENT TOOLS..............................................................................................893
A.1
Software Package ..................................................................................................................896
A.2
Language Processing Software............................................................................................896
A.3
Control Software ....................................................................................................................897
A.4
Flash Memory Programming Tools ......................................................................................897