Datasheet
V850ES/JG3-H, V850ES/JH3-H CHAPTER 32 ON-CHIP DEBUG FUNCTION
R01UH0042EJ0500 Rev.5.00 Page 1402 of 1513
Aug 12, 2011
(5) Securement of communication serial interface
UARTC0, CSIF0, or CSIF3 is used for communication between MINICUBE2 and the target system. The settings
related to the serial interface modes 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]
• On-chip debug mode register (OCDM)
For the on-chip debug function using the UARTC0, CSIF0, or CSIF3, set the OCDM register functions to normal
mode. Be sure to set as follows.
• Input low level to the P56/INTP05/DRST pin.
• Set the OCDM0 bit as shown below.
<1> Clear the OCDM0 bit to 0.
<2> Fix the P56/INTP05/DRST pin input to low level until the processing of <1> is complete.
• Serial interface registers
Do not set the registers related to CSIF0, CSIF3, or UARTC0 in the user program.
• Interrupt mask register
When CSIF0 is used, do not mask the transfer end interrupt (INTCF0R). When CSIF3 is used, do not mask the
transfer end interrupt (INTCF3R). When UARTC0 is used, do not mask the reception completion interrupt
(INTUC0R).
(a) When CSIF0 is used
×
CF0RIC
0 ×× ××
××
6543210
7
(b) When CSIF3 is used
×
CF3RIC
0 ××××
××
6543210
7
(C) When UARTC0 is used
×
UC0RIC
0 ××××
××
6543210
7
Remark ×: don’t care