Renesas QB-MINI2 User Manual page 42

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

Advertisement

CHAPTER
• V850E/MA3
Note the following two points when debugging the V850E/MA3 as the target microcontroller.
<1> If the "Multiply rate" is set to 1.25 or 2.5 in the Configuration dialog box when using the ID850QB, these
values will be an integer 1 or 2 when the Configuration dialog box is opened the next time. This is only
a problem of the debugger's display, so the actual CPU clock is not affected.
<2> When the CKSEL pin is low level (PLL mode) and the target interface is CSI, set the "Multiply rate" in
the Configuration dialog box to 10, and then start the debugger. This process is required because the
clock is fixed to one multiplied by 10 in the device specifications for the instance of writing the debug
monitor program in the programming mode. Once the debugger starts, restoring the original multiply
rate will not affect the debugging operation.
• V850ES/IE2, V850ES/IK1, V850E/IA3, V850E/IA4, V850E/IF3 and V850E/IG3
Note the following point when debugging the V850ES/IE2, V850ES/IK1, V850E/IA3 or V850E/IA4 as the
target microcontroller.
<1> When the target interface is CSI, set the "Multiply rate" in the Configuration dialog box to 8 and then
start the debugger. This process is required because the clock is fixed to one multiplied by 8 in the
device specifications for the instance of writing the debug monitor program in the programming mode.
Once the debugger starts, restoring the original multiply rate will not affect the debugging operation.
(13) Processing of monitoring program for debugging
An overview of the processing of the monitoring program for debugging when MINICUBE2 has been
connected and the debugger has been started (including after the debugger has been used to perform a CPU
reset), and related cautions are described below.
<1> Stopping watchdog timer that starts operating immediately after reset
Caution
When an operation has been started in a user program for a watchdog timer whose
operation is not started immediately after reset, the debugger may hang up. In this
case, use the debugger to perform a CPU reset and restore the CPU.
<2> Clock operations
The V850ES/Fx3, V850ES/Fx3-L, and V850ES/Hx3 can use an internal oscillator as the CPU clock. For
such devices, an internal clock is switched to an external clock during UART communication. (The PLL
and frequency division are the same as during operation of a program created by the user.)
Caution
With MINICUBE2, an internal clock is not supported during UART communication.
(The internal low-speed clock when the clock has been stopped is also not supported
during UART communication.) Both clocks can be used in CSI.
<3> Changing settings to enable serial communication, according to debugger communication pin settings
For example, in the case of UART, the settings of UART control, the data format, and the baud rate are
changed, and the alternate-function ports are changed to control mode. Also, masking of UART receive
interrupts is released.
Caution
When the values of the registers related to the communication pins are changed from
those set by the monitoring program, the debugger may hang up, because a
communication failure will occur. In this case, use the debugger to perform a CPU
reset and restore the CPU.
40
3
HOW TO USE MINICUBE2 WITH V850 MICROCONTROLLER
User's Manual
U18371EJ5V0UM

Advertisement

Table of Contents
loading

Table of Contents