Chapter 18. On-chip Debugger ........................................ 161
18.1 Address Match Interrupt .......................................................................................... 161
18.2 Single Step Interrupt ................................................................................................ 161
18.3 UART1 ........................................................................................................................ 161
18.4 BRK Instrucstion ...................................................................................................... 161
Chapter 19. Usage Notes .................................................. 162
19.1 Stop Mode and Wait Mode ....................................................................................... 162
19.1.1 Stop Mode .......................................................................................................................................... 162
19.1.2 Wait Mode .......................................................................................................................................... 162
19.2 Interrupts ................................................................................................................... 163
19.2.1 Reading Address 00000
16 ............................................................................................................................................
163
19.2.2 SP Setting .......................................................................................................................................... 163
19.2.3 External Interrupt and Key Input Interrupt ..................................................................................... 163
19.2.4 Watchdog Timer Interrupt ................................................................................................................ 163
19.2.5 Changing Interrupt Factor ................................................................................................................ 164
19.2.6 Changing Interrupt Control Register .............................................................................................. 165
19.3 Clock Generation Circuit ......................................................................................... 166
19.3.1 Oscillation Stop Detection Function ............................................................................................... 166
19.3.2 Oscillation Circuit Constants ........................................................................................................... 166
19.4 Timers ........................................................................................................................ 167
19.3.1 Timers X, Y and Z .............................................................................................................................. 167
19.3.2 Timer X ............................................................................................................................................... 167
19.3.3 Timer Y ............................................................................................................................................... 167
19.3.4 Timer Z ............................................................................................................................................... 167
19.3.5 Timer C ............................................................................................................................................... 167
19.5 Serial Interface .......................................................................................................... 168
19.6 A/D Converter............................................................................................................ 169
19.7 Flash Memory Version ............................................................................................. 170
19.7.1 CPU Rewrite Mode ............................................................................................................................ 170
19.8 Noise .......................................................................................................................... 173
Chapter 20. Usage Notes for On-chip Debugger ............ 174
Appendix 1 Package Dimensions .................................... 175
Appendix 2 Connecting Examples for Serial Writer and
On-chip Debugging Emulator .......................................... 176
Appendix 3 Example of Oscillation Evaluation Circuit .. 178
Register Index ................................................................... 179
A-4