Renesas QB-MINI2 User Manual page 126

On-chip debug emulator with programming function
Hide thumbs Also See for QB-MINI2:
Table of Contents

Advertisement

CHAPTER
(3) Securement of communication serial interface
The INTP pin is used for communication between MINICUBE2 and the target system. The settings related to
the INTP pin are performed by the debug monitor program, but if the setting is changed by the user program, a
communication error may occur.
To prevent such a problem from occurring, communication serial interface must be secured in the user
program.
[How to secure communication serial interface]
Create the user program observing the following points.
• Interrupt mask flag register
Do not disable interrupts using the interrupt mask flag register corresponding to the INTP pin used.
Example
Setting other than below is prohibited when the target device is the 78K0S/KB1+ and INTP3 is
used.
MK1
• Port mode registers of alternate-function ports
Do not set to the output mode the alternate-function port corresponding to the INTP pin used.
Example
Setting other than below is prohibited when the target device is the 78K0S/KB1+ and INTP3 is
used.
PM4
• External interrupt mode registers
Do not set to other than the rising edge the external interrupt mode register corresponding to the INTP
pin used.
Example
Setting other than below is prohibited when the target device is the 78K0S/KB1+ and INTP3 is
used.
INTM1
124
5
HOW TO USE MINICUBE2 WITH 78K0S MICROCONTROLLER
7
6
5
4
1
x
x
x
x: Any
7
6
5
4
x
x
x
x
x: Any
7
6
5
4
x
x
x
x
x: Any
User's Manual
U18371EJ5V0UM
3
2
1
0
x
0
x
1
3
2
1
0
x
x
1
x
3
2
1
0
x
x
0
1

Advertisement

Table of Contents
loading

Table of Contents