User’s Manual U16896EJ2V0UD
651
CHAPTER 27 ON-CHIP DEBUG FUNCTION
The V850ES/KE1+ is not provided with an on-chip debug function. However, a pseudo on-chip debug function can
be realized by using the on-chip debug emulator (MINICUBE
®
) and debug adapter (QB-V850ESKX1H-DA).
For the connection example, refer to
A.4.2 When using MINICUBE QB-V850MINI
.
27.1 ROM Security Function
27.1.1 Security ID
The flash memory versions of the V850ES/KE1+ perform authentication using a 10-byte ID code to prevent the
contents of the flash memory from being read by an unauthorized person during on-chip debugging by the on-chip
debug emulator.
Set the ID code in the 10-byte on-chip flash memory area from 0000070H to 0000079H to allow the debugger
perform ID authentication.
If the IDs match, the security is released and reading flash memory and using the on-chip debug emulator are
enabled.
•
Set the 10-byte ID code to 0000070H to 0000079H.
•
Bit 7 of 0000079H is the on-chip debug emulator enable flag.
(0: Disable, 1: Enable)
•
When the on-chip debug emulator is started, the debugger requests ID input. When the ID code input on the
debugger and the ID code set in 0000070H to 0000079H match, the debugger starts.
•
Debugging cannot be performed if the on-chip debug emulator enable flag is 0, even if the ID codes match.
0 0 0 0 0 7 9 H
0 0 0 0 0 7 0 H
0 0 0 0 0 0 0 H
Security ID
(10 bytes)
Caution When the data in the flash memory has been deleted, all the bits are set to 1.
<R>