Renesas QB-MINI2 User Manual page 155

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

Advertisement

CHAPTER
6
(b) On-chip debug option byte area
This is the area for the security setting to prevent the flash memory from being read by an unauthorized
person. The debugger manipulates the target device in accordance with the set value, as shown
below.
Table 6-6.
Set Value
0x04
0x85
0x84
Other than above
Caution
Values can be set only to bits 7 and 0 (OCDENSET and OCDERSD). Be sure to write
000010B to bits 6 to 1.
Remark
Values set to bits 3 to 1 are changed during on-chip debugging, so values of these bits are
undefined after setting. However, be sure to set these bits to initial values (0, 1, 0).
[How to set]
The following shows a setting example when using NEC Electronics assembler RA78K0R or compiler
Set a value for the Control Value text box under the "On-Chip Debug Option Bytes [-go]"
CC78K0R.
check box as shown in the figure below.
Example Setting 0x85 for control value
HOW TO USE MINICUBE2 WITH 78K0R MICROCONTROLLER
On-Chip Debug Option Byte Setting and Operation
Description
Debugging is disabled even if an on-chip debug
emulator (such as MINICUBE2) is connected.
The on-chip flash memory is not erased no matter
how many times the security ID code authentication
fails.
All on-chip flash memory areas are erased if the
security ID code authentication fails.
Setting prohibited
User's Manual
U18371EJ5V0UM
Remark
This setting is available only
for flash programming and self
programming.
-
-
-
153

Advertisement

Table of Contents
loading

Table of Contents