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

4.2.7

Cautions on debugging

This section describes cautions on performing on-chip debugging for a 78K0 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.
<R>
(2) Overwriting flash memory during on-chip debugging
If the following debugger operations <1> to <7> are performed on-chip, the flash memory in the device is
overwritten.
If any of the following debugger operations <1> to <7>, which involve flash memory rewriting, is performed
while flash memory cannot be rewritten, the debugger automatically changes the register setting so as to
enable flash memory rewriting, and restores the register setting after the operation is completed. If any of the
following operations <1> to <7> is performed while flash memory rewriting is disabled or operation is
performed at a voltage at which flash memory cannot be rewritten, however, the debugger outputs an error
and the operation is ignored.
<1> Writing to internal flash memory
<2> Program execution after specifying or canceling software breakpoints
<3> Step-over execution, Return Out execution
<4> Come Here
<5> If Permit is selected in the Target Power off area in the Configuration dialog box, the following operations
cannot be performed:
<6> Adding, changing, or deleting the monitor address when using the pseudo real-time RAM monitor function
<7> Performing operations without using breakpoints when software breakpoints are specified
It takes a while from the completion of flash memory programming until control is passed to the GUI.
(3) Software break (1)
During program running, do not rewrite the data at the address where a software break is set. This includes
self programming and rewriting to RAM. If performed, the instruction placed at the address may be invalid.
(4) Boot swapping during self programming
The boot swapping function cannot be emulated. This is because boot swapping moves the memory spaces
used for debugging, and thus the debug communication can no longer be performed.
CHAPTER
4
HOW TO USE MINICUBE2 WITH 78K0 MICROCONTROLLER
a) Specifying, changing, or canceling hardware breakpoints
b) Masking/unmasking internal resets
c) Switching peripheral breakpoints
d) Program execution
e) Software reset (a reset performed by the debugger)
User's Manual
U18371EJ5V0UM
91

Advertisement

Table of Contents
loading

Table of Contents