Cautions On Debugging - Renesas QB-MINI2 User Manual

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

Advertisement

CHAPTER
6.2.6

Cautions on debugging

This section describes cautions on performing on-chip debugging for a 78K0R microcontroller.
Be sure to read the following to use MINICUBE2 properly.
(1) Handling of device that was used for debugging
Do not mount a device that was used for debugging on a mass-produced product, because the flash memory
was rewritten during debugging and the number of rewrites of the flash memory cannot be guaranteed.
Moreover, do not embed the debug monitor program into mass-produced products.
(2) Flash self programming
If a space where the debug monitor program is allocated is rewritten by flash self programming, the debugger
can no longer operate normally. This caution also applies to boot swapping for such an area.
(3) Operation after reset
After an external pin reset or internal reset, the monitor program performs debug initialization processing.
Consequently, the time from reset occurrence until user program execution differs from that in the actual
device operation. If Not Permit is selected in the Flash Programming area in the Configuration dialog box of
the debugger, the time until the user program is executed compared with the time when Permit is selected is
delayed several 100 ms.
(4) Debugging with real machine running without using MINICUBE2
If debugging is performed with a real machine running, without using MINICUBE2, write the user program
using the QB-Programmer. Programs downloaded by the debugger include the monitor program, and such a
program malfunctions if it includes processing to make the TOOL0 pin low level.
(5) Operation when debugger starts
When the debugger is started, if the Target Device Connection setting in the Configuration dialog box of the
debugger is different from the setting for the previous debugging, the internal flash memory is erased.
(6) Debugging after program is written by flash programming
If a program is written to the internal flash memory using the QB-Programmer or PG-FP4, on-chip debugging
is disabled even if it is enabled in the on-chip debugging option byte setting. To perform debugging of the
target device after that, erase the internal flash memory using the QB-Programmer or PG-FP4 and then
download the program using the debugger.
(7) LVI default start function setting (address C1H)
During debugging, the debug monitor program stops the LVI default start function at address C1H.
Consequently, the LVI default start function is kept stopped even after debugging is completed, unless the
setting to address C1H is changed through flash programming.
(8) On-chip debugging option byte setting (address C3H)
The on-chip debugging option byte setting is rewritten arbitrarily by the debugger.
6
HOW TO USE MINICUBE2 WITH 78K0R MICROCONTROLLER
User's Manual
U18371EJ5V0UM
157

Advertisement

Table of Contents
loading

Table of Contents