Renesas QB-MINI2 User Manual page 89

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

Advertisement

(b) Option byte area (essential)
This is the area for the security setting to prevent the flash memory from being read by an unauthorized person.
The target device operates in accordance with the set value, as shown below.
<R>
Products that have
an option byte
Products that do not
have an option byte
Other than the above
Notes 1. This value is to be specified in the assembler source code of a user-created program. When the
<R>
Products that have
an option byte
Products that do not
have an option byte
Notes 1. This value is to be specified in the assembler source code of a user-created program. When the
[How to set]
Describe the code for setting the option byte in the user program.
the assembler source.
Example
SSS
Caution If address 0x84 is overwritten by 0x00 by self programming, communication is disabled, and
CHAPTER
4
HOW TO USE MINICUBE2 WITH 78K0 MICROCONTROLLER
Table 4-8. Option Byte (84H) Settings and Descriptions
Note 1
FLMD0
Value
00H
02H
03H
00H
02H
03H
program is downloaded by the debugger, the debugger changes the value as required.
2. If the value at address 83H of the option bytes is illegal, the entire internal flash memory area is
erased and then the debugger starts. If authenticating the security ID code fails after the debugger
starts, the entire internal flash memory area is specified to be erased.
Table 4-9. Option Byte (84H) Settings and Descriptions
Note 1
FLMD0
Value
00H
Device dependent
program is downloaded by the debugger, the debugger changes the value as required.
2. For PM+, if this value is not specified in the assembler source code, 1EH is automatically specified.
If the value is illegal, the entire internal flash memory area is erased and then the debugger starts.
In STOP mode, the internal oscillator does not stop even if specified to do so.
When setting 0x02
CSEG
AT
DB
2H
debugging and connection can no longer be performed even if the debugger is restarted. In
such as case, erase the memory via flash programming.
The debugger cannot be started even if MINICUBE2 is connected.
The internal flash memory is not erased regardless of how many times
authenticating the security ID code fails.
The entire internal flash memory area is erased if authenticating the security
ID code fails.
The entire internal flash memory area is erased if MINICUBE2 is connected.
The internal flash memory is not erased regardless of how many times
authenticating the security ID code fails.
The entire internal flash memory area is erased if authenticating the security
Note 2
ID code fails.
Setting prohibited
Be sure to set 0083H to 00H, because it is a reserved area.
Specify a value according to the on-chip debugging specifications in the device
Note 2
user's manual.
"SSS" is an arbitrary symbol name (eight characters or less)
084H;
User's Manual
U18371EJ5V0UM
Description
Note 2
Description
Refer to the following and add a code to
87

Advertisement

Table of Contents
loading

Table of Contents