User’s Manual U18371EJ1V0UM
8
4.2.5 Clock setting
.................................................................................................................................. 77
4.2.6 Securing of user resources and setting of security ID
.............................................................. 80
4.2.7 Cautions on debugging
................................................................................................................ 86
4.3 Flash Programming...................................................................................................................... 90
4.3.1 Specifications of programming function
.................................................................................... 90
4.3.2 System configuration
................................................................................................................... 90
4.3.3 System startup procedure
............................................................................................................ 91
4.3.4 Usage examples
............................................................................................................................ 93
4.3.5 System shutdown procedure
....................................................................................................... 99
4.3.6 Cautions on flash programming
.................................................................................................. 99
CHAPTER 5 HOW TO USE MINICUBE2 WITH 78K0S MICROCONTROLLER.................................... 100
5.1 Target System Design................................................................................................................ 101
5.1.1 Pin assignment
.............................................................................................................................102
5.1.2 Circuit connection example
........................................................................................................103
5.1.3 Connection of reset pin
...............................................................................................................104
5.1.4 Connection of INTP pin
...............................................................................................................107
5.1.5 Connection of X1 and X2 pins
.....................................................................................................109
5.1.6 Mounting connector onto target system
....................................................................................110
5.2 On-Chip Debugging.................................................................................................................... 111
5.2.1 Debug functions
...........................................................................................................................111
5.2.2 System configuration
..................................................................................................................112
5.2.3 System startup procedure
...........................................................................................................113
5.2.4 System shutdown procedure
......................................................................................................115
5.2.5 Securing of user resources
.........................................................................................................116
5.2.6 Debugging of alternate-functions of X1 and X2 pins
................................................................120
5.2.7 Cautions on debugging
...............................................................................................................121
5.3 Flash Programming.................................................................................................................... 123
5.3.1 Specifications of programming function
...................................................................................123
5.3.2 System configuration
..................................................................................................................123
5.3.3 System startup procedure
...........................................................................................................124
5.3.4 Usage examples
...........................................................................................................................126
5.3.5 System shutdown procedure
......................................................................................................132
5.3.6 Cautions on flash programming
.................................................................................................132
CHAPTER 6 HOW TO USE MINICUBE2 WITH 78K0R MICROCONTROLLER ................................... 133
6.1 Target System Design................................................................................................................ 134
6.1.1 Pin assignment
.............................................................................................................................135
6.1.2 Circuit connection example
........................................................................................................136
6.1.3 Connection of reset pin
...............................................................................................................137
6.1.4 Mounting connector onto target system
....................................................................................140
6.2 On-Chip Debugging.................................................................................................................... 141
6.2.1 Debug functions
...........................................................................................................................141
6.2.2 System configuration
..................................................................................................................142
6.2.3 System startup procedure
...........................................................................................................143
6.2.4 System shutdown procedure
......................................................................................................145
6.2.5 Securing of user resources and setting of security ID and on-chip debug option byte
........146
6.2.6 Cautions on debugging
...............................................................................................................152