Renesas QB-78K0KX1H-DA User Manual page 48

On-chip debug emulator
Table of Contents

Advertisement

(9) Overwriting flash memory during on-chip debugging
If the following operations are performed during on-chip debugging, the flash memory in the device is
overwritten.
<1> Manipulation in Download dialog box
<2> Manipulation in Memory Fill dialog box
<3> Manipulation in Memory Copy dialog box
<4> Manipulation to change memory in Memory window
<5> Online assembly in Assemble window
<6> Program execution when using software breaks
<7> Program execution that uses hardware breaks or software reset operation, while "Permit" has been
selected for the Target Power Off setting in the Configuration dialog box
<8> Operation that uses pseudo real-time RAM monitor function
(10) 8-bit timer (TM50)
With a device such as the 78K0/Kx1+
It is used in the operations shown in (9) Overwriting flash memory during on-chip debugging. Therefore, use
the 8-bit timer (TM50) under the following conditions.
[Conditions for execution]
Select "Not Permit" for the Target Power Off setting in the Configuration dialog box.
Use hardware
[Conditions at a break]
Do not perform operations <1> to <8> shown in (9)
Note Devices in which "OCD Control Code V1.xx" is displayed by selecting [About...] form the [Help] menu in
the ID78K0-QB.
(11) GUI operability
The flash memory is overwritten when an operation described in (9) Overwriting flash memory during on-
chip debugging is performed, but it takes time for returning the control to GUI form completion of flash memory
writing.
(12) Boot swap during self programming
When using the boot swap function during self programming, it is performed in cluster units. The cluster varies
depending on the device used; cluster 0 (0000H to 0FFFH) and cluster 1(1000H to 1FFFH) are used in the
µ
PD78F0148HD. In this case, cluster 0 (0000H to 0FFFH) includes the area described in (1) Reserved area
used by QB-78K0MINI (a) Flash memory area, so data in these areas must be copied to cluster 1 (1000H to
1FFFH), that is, the area in which 1000H is added to the address.
(13) Software break during self programming
When a software break is set, the debugger temporarily substitutes the debug instruction for the instruction to
which the break is set, and restores the original instruction. Therefore, do not set a software break to the
program area that is targeted to be overwritten by self programming; otherwise the debugger writes back the
original instruction to the instruction overwritten by self programming.
(14) Emulation in self programming mode A1
When using the functions of each firmware by self programming, the mode is switched from normal mode to self
programming mode A1.
46
CHAPTER 6 CAUTIONS
Note
, the 8-bit timer (TM50) is used by firmware during self programming.
User's Manual U17029EJ3V0UM

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qb-78k0miniQb-78k0mini-kf2Qb78k0miniee

Table of Contents