User’s Manual U18172EJ3V0UD
12
16.6.3 RESET pin..................................................................................................................................... 231
16.6.4 Port pins ........................................................................................................................................ 231
16.6.5 Power supply ................................................................................................................................. 231
16.7 On-Board and Off-Board Flash Memory Programming ........................................................232
16.7.1 Flash memory programming mode................................................................................................ 232
16.7.2 Communication commands ........................................................................................................... 232
16.7.3 Security settings ............................................................................................................................ 233
16.8 Flash Memory Programming by Self Programming..............................................................234
16.8.1 Outline of self programming .......................................................................................................... 234
16.8.2 Cautions on self programming function ......................................................................................... 237
16.8.3 Registers used for self-programming function ............................................................................... 237
16.8.4 Example of shifting normal mode to self programming mode ........................................................ 244
16.8.5 Example of shifting self programming mode to normal mode ........................................................ 247
16.8.6 Example of block erase operation in self programming mode ....................................................... 250
16.8.7 Example of block blank check operation in self programming mode ............................................. 253
16.8.8 Example of byte write operation in self programming mode .......................................................... 256
16.8.9 Example of internal verify operation in self programming mode .................................................... 259
16.8.10 Examples of operation when command execution time should be minimized in self programming
mode ........................................................................................................................................... 263
16.8.11 Examples of operation when interrupt-disabled time should be minimized in self programming
mode ........................................................................................................................................... 269
CHAPTER 17 ON-CHIP DEBUG FUNCTION .......................................................................................280
17.1 Connecting QB-MINI2 to 78K0S/KU1+....................................................................................280
17.1.1 Connection of INTP1 pin ............................................................................................................... 281
17.1.2 Connection of X1 and X2 pins ....................................................................................................... 282
17.2 Securing of user resources .....................................................................................................283
CHAPTER 18 INSTRUCTION SET OVERVIEW .................................................................................284
18.1 Operation ...................................................................................................................................284
18.1.1 Operand identifiers and description methods ................................................................................ 284
18.1.2 Description of “Operation” column ................................................................................................. 285
18.1.3 Description of “Flag” column.......................................................................................................... 285
18.2 Operation List ...........................................................................................................................286
18.3 Instructions Listed by Addressing Type ................................................................................291
CHAPTER 19 ELECTRICAL SPECIFICATIONS .................................................................................294
CHAPTER 20 PACKAGE DRAWING ..................................................................................................308
CHAPTER 21 RECOMMENDED SOLDERING CONDITIONS...........................................................309