Skip to main content
Knowledgebase
Home
Renesas India - Knowledgebase

Dialog of asking for ID code at connection of an emulator with a MCU

Last Updated:04/26/2017

Question:

When I activate the E1, E20, E8a, E8(discontinued product) or E7(discontinued product) emulator and connect it to the MCU, a dialog box appears asking for an ID code.
What should I enter here?

Answer:

Note:Specifications are different in H8, M16C and R8C Family MCUs.

H8 Family MCUs
When emulator is activated in "Erase Flash and Connect (*1) " mode:
The value you enter will be programmed to the MCU's flash memory.
Input any 4-digit code (any hexadecimal 4 digits such as "0000" but do not use "FFFF").
At this point, the contents of the flash memory will be completely erased. By setting your own ID Code, the next time the emulator is started up in "Keep Flash and Connect (*2)" mode, you can enter your ID code to read the contents of the flash memory.

When emulator is activated in "Keep Flash and Connect" mode:
Enter the ID code you set the last time you activated E8a(E7/E8) (when activated in "Erase Flash and Connect" mode). This will allow you to read the contents of the flash memory. If you enter an incorrect ID code, the contents of the flash memory will be completely erased. Therefore, we recommend activating the emulator in "Erase Flash and Connect" mode.


M16C and R8C Family MCUs
When activated in:
"Erase Flash and Connect" (E8a/E8(discontinued product)/E7(discontinued product) mode
"Keep Flash and Connect" (E8a/E8(discontinued product)/E7(discontinued product) mode
"Debugging mode"(E1/E20)
The ID code written to the MCU is verified.
When the ID code written to the MCU is "all Fs" (14 digits), the debugger automatically certifies the ID code.
For ID codes other than "all Fs", a different ID code is requested. In this case, enter the ID code you have already set in the MCU.
Debug is only enabled if the ID code matches.
If a program is downloaded during debug, regardless of the ID code set in the users program, the debugger writes "all Fs" as the ID code to the MCU.

When activated in: 
"Program Flash(*3)" mode(E8a/E8(discontinued product)/E7(discontinued product))
"Writing the on-chip flash memory mode"(E1/E20)
An ID code always is required if the ID code is other than "all Fs". Enter the ID code that has been set in the MCU. If the codes do not match, the Flash memory cannot be read or erased. When the ID code written to the MCU is "all Fs" (14 digits), the debugger automatically certifies the ID code.

Also, if an ID code is written with these modes, the ID code that is specified in an user program is written to the MCU. Therefore, the ID code is required from next activation once the ID code that is not "all Fs" (14 digits) is written to the MCU .

Note:
When using E8(discontinued product) with the following debugger or E7(discontinued product). An ID code always is required, regardless of the ID code value. Even if you use a blank MCU or the ID code is not specified in an user program, an ID code always is required, so enter "all Fs"( 14 digits) here in these cases.

1. R8C/Tiny E8 emulator debugger V.2.04.00 or earlier
2. M16C/Tiny, M16C/62P E8 emulator debugger V.2.00.00 or earlier
3. M32C/80 E8 emulator debugger V.2.00.00 or earlier
Note: The above mode names are displayed as follows on an earlier version than the E8 emulator software V.2.09 Release 00. 
*1. Download emulator firmware
*2. Does not download emulator firmware
*3. Writing flash memory
 

Suitable Products

E1 [R0E000010KCE00]
E20 [R0E000200KCT00]
E8a
E8
E7