E8a Pinout
E8a Pinout
E8a Emulator
Additional Document for User’s Manual
H8S/Tiny Series
R0E00008AKCE00EP51
All information contained in these materials, including products and product specifications,
represents information on the product at the time of publication and is subject to change by
Renesas Electronics Corporation without notice. Please review the latest information published
by Renesas Electronics Corporation through various means, including the Renesas Electronics
Corporation website (http://www.renesas.com).
(2012.4)
Regulatory Compliance Notices
CE Certifications:
• Electromagnetic Compatibility (EMC) Directive 2004/108/EC
EN 55022 Class A
EN 55024
Renesas development tools and products are directly covered by the European Union's Waste
Electrical and Electronic Equipment, (WEEE), Directive 2002/96/EC. As a result, this equipment,
including all accessories, must not be disposed of as household waste but through your locally
recognized recycling or disposal schemes. As part of our commitment to environmental
responsibility Renesas also offers to take back the equipment and has implemented a Tools Product
Recycling Program for customers in Europe. This allows you to return equipment to Renesas for
disposal through our approved Producer Compliance Scheme. To register for the program, click
here “http://www.renesas.com/weee".
CAUTION: Changes or modifications not expressly approved by the party responsible for
compliance could void the user's authority to operate the equipment.
Table of Contents
Note: This manual applies to the following product versions of the E8a emulator software.
The E8a emulator supports the flash MCUs of H8S/20103, H8S/20203, H8S/20223, H8S/20115,
H8S/20215, H8S/20235, H8S/20103R, H8S/20203R, H8S/20223R, H8S/20323R, H8S/20115R,
H8S/20215R, H8S/20235R, and H8S/20335R group (hereafter referred to as the MCU unless the
description is specific to any of them).
Connect pins 2, 4, 6, 10, 12, and 14 of the user system connector to GND firmly on the PCB.
These pins are used as electrical GND and to monitor the connection of the user system connector.
Note the pin assignments of the user system connector.
User system
Pin 2
Pin 1
Figure 2.1 Connecting the User System Interface Cable to the User System
Notes: 1. The pin number assignments of the 14-pin connector differ from those of the E10A-
USB emulator; however, the physical location is the same.
2. Do not place any components within 3 mm of the connector.
3. When the emulator is used in the [Program Flash] mode, connect the emulator
similarly to the user system.
Notes:
1. The symbol (#) means that the signal is active-low.
2. These pins are not used in the H8S/Tiny series.
Do not connect anything to these pins.
Control pins which do not appear in this figure, such as TEST, OSC1, and OSC2, affect the
operation of the emulator. For handling of those pins, refer to the H8S/20103, H8S/20203,
H8S/20223, H8S/20115, H8S/20215, and H8S/20235 group hardware manual and H8S/20103R,
H8S/20203R, H8S/20223R, H8S/20323R, H8S/20115R, H8S/20215R, H8S/20235R, and
H8S/20335R group hardware manual.
NMI# NMI#
P85 P85
P86 P86
MCU
P87 P87
Vcc
*
User
logic
RES# RES#
Pulled-up at 4.7 kΩ or more
Vss
Notes: 1. P85 to P87 pins are used by the emulator. Pull up and connect the emulator and MCU
pins.
MCU
User system
connector Vcc
4.7 kΩ
2. The NMI# signal is used for forced break control by the emulator. Connect the
emulator and MCU pins directly.
MCU
User system
connector Vcc
4.7 kΩ
3. The RES# pin is used by the emulator. If the user system has a reset control circuit
(hereafter referred to as user logic), connect pin 13 of the user system connector and
the output signal of the user logic via the open-collector buffer as shown below. If
there is no user logic, connect pin 13 directly to the RES# pin of the MCU.
Vcc MCU
User system
connector User logic 4.7 kΩ
*
4.7 kΩ
Pin 13 RES# pin
4. Connect Vss and Vcc with the Vss and Vcc of the MCU, respectively.
5. Connect nothing with N.C.
6. The amount of voltage permitted to input to Vcc must be within the guaranteed range of
the MCU.
7. When the MCU in use is connected to the emulator, the pin functions listed below are not
available.
WARNING
In the power-supply mode, connect the emulator after
checking that the power-supply circuit on the user system is
not closed or the pin number assignments of the user system
connector is correct.
Failure to do so will result in a FIRE HAZARD and will
damage the host computer, the emulator, and the user system.
8. Figure 4.5 shows the interface circuit in the E8a emulator. Use this figure as a reference
when determining the pull-up resistance value.
22 Ω
P87
1
74LVC125B
22 Ω
P85
11
74LVC125B
22 Ω
NMI#
7
74LVC125B
3.3 V Vcc
SN74LVC2T45
3.3 V Vcc
22 Ω P86
5
SN74LVC2T45
3.3 V Vcc
22 Ω
RES#
13
3.3 V SN74LVC2T45
10 kΩ 2CS2462
10 kΩ
Notes: 1. This figure omits the test circuits and pin numbers 2, 3, 4, 6, 9, 10, 12, and 14 for the user connector that
are not used when H8S/Tiny series is connected.
2. The power of 74LVC125B is supplied from Vcc in the user connector (or in the power-supply circuit during
power-supply mode).
To keep the [Emulator Setting] dialog box closed next time the emulator is started, check "Do
not show this dialog box again." at the bottom of the [Emulator Setting] dialog box. You can
open the [Emulator Setting] dialog box using either one of the following methods:
⎯ After the emulator gets started, select Menu - [Setup] -> [Emulator] -> [Emulator
Setting...].
⎯ Start the emulator while holding down the Ctrl key.
⎯ After the emulator gets started and an error occurred, restart the emulator.
When you check "Do not show this dialog box again.", the emulator doesn't supply power to
the user system. To use this check box, start the emulator after turning on the power.
2. Emulator Mode
The selection of the device group, device, the specification of the mode, and the setting of the
power supply are done in the [Emulator mode] page of the [Emulator Setting] dialog box.
⎯ Device Group
Select the device group in use from the [Device Group] combo box.
⎯ Device
Select the device name in use from the [Device] combo box. The following items are
selected in the [Mode] group box.
⎯ Modes
• Erase Flash and Connect
This mode is used when there is no emulator program in the flash memory of the target
device. In this mode, data of the flash memory of the target device is erased when the
emulator is activated. Select this item when the emulator is firstly activated, the version
of the emulator’s software is updated, or the ID code is changed.
• Keep Flash and Connect
This mode is used when there is an emulator program in the flash memory of the target
device. Enter the ID code specified above (‘Erase Flash and Connect’). If an incorrect
code is entered, all the programs on the flash memory will be erased.
Note: When the emulator gets started in this mode after selecting "Do not show this dialog box
again.", the initial values of the ID code are ‘0E8a’ for the E8a emulator. If you use the ID
code other than the initial value, do not use "Do not show this dialog box again."
• Program Flash
This mode is used when the emulator is used for programming the flash memory.
Debugging the program is disabled. To download the load module, register it in the
workspace.
Note: In the H8S/Tiny series, the ID code is not entered in the Program Flash mode.
⎯ Power Supply
When [Power Target from emulator. (MAX 300mA)] is checked, power will be supplied to
the user system up to 300 mA.
4. When the emulator system is initiated, it initializes the general registers and part of the control
registers as shown in table 5.1.
6. RES# Signal
The RES# signal is masked during breaks in execution of the user program. The RES# signal
is accepted during user program execution when execution was started by clicking on the Go
button or a step-type button.
Note: Do not start user program execution or access the memory while control input signal
(RES#) is being low. A TIMEOUT error will occur.
9. The emulator communicates with the MCUs by using the NMI#, RES#, and P85 to P87 pins.
12. The power consumed by the MCU can reach several milliamperes. This is because the user
power supply drives ICs to make the communication signal level match the user-system
power-supply voltage. The emulator does not communicate during execution of the user
program, so connecting the emulator only causes a small rise in power consumption. However,
it rises more significantly during breaks in user-program execution.
15. Do not use an MCU that has been used for debugging.
If the flash memory is rewritten many times, data may be lost due to retention problems after
the emulator has been left for a few days and the data will be erased. If an error message is
displayed, exchange the MCU for a new one.
18. Updating the I/O Register Window and Memory Window during Debugging
Registers such as the SSRDR of the Synchronous Serial Communications Unit (SSU), the
ICDRR of the IIC Bus Interface Controller 2 (IIC2), and the RDR of Serial Communications
Interface 3 (SCI3) are affected by the generation of read cycles. Displaying the contents of
such peripheral function registers in the I/O register window or the memory window can lead
to malfunctions of the peripheral function.
Note: Online help has a description of [NMI signal group box] in [Windows] -> [Configuration]
-> [Configuration dialog box – Emulator System page], but it is not supported by the
H8S/Tiny series.
Items that can be displayed in this dialog box are listed below.
[User interface clock] edit box Displays the transfer clock of the user interface.
[Emulation mode] combo box Selects the emulation mode at user program execution.
Select Normal to perform normal emulation.
Select No break to disable PC breakpoint or break condition settings
during emulation.
[Step Over option] combo box Enables or disables programming of the flash memory while executing
step operation.
Programming of the flash memory:
Uses a software break for step operation (e.g. Step Over) and enables
programming of the flash memory.
No Programming of the flash memory:
Uses Break Condition for step operation (e.g. Step Over) and
*2
disables programming of the flash memory .
[Flash memory synchronization] Selects whether or not the contents of the flash memory are acquired by
combo box the emulator when the user program is stopped or the position where
the PC break is set is put back as the original code.
When the flash memory is not programmed by the user program, its
contents need not be acquired by the emulator.
If there is no problem with the state that the program in the flash
memory has been replaced as the PC break code, the position where the
PC break is set needs not be put back as the original code.
Disable: Read or program is not performed for the flash memory
except when the emulator is activated, the flash memory area
is modified, and the settings of the PC break to the flash
memory area are changed.
PC to flash memory: When the user program is stopped, the specified
PC break code is replaced as the original
instruction. Select this option if there is a problem
with the state that the program in the flash
memory has been replaced as the PC break code.
Flash memory to PC: When the user program is stopped, the contents
of the flash memory are read by the emulator.
Select this option if the flash memory is
reprogrammed by the user program.
PC to flash memory, Flash memory to PC:
When the user program is stopped, the contents of the flash
memory are read by the emulator and the specified PC break
code is replaced as the original instruction. Select this option
if the flash memory is reprogrammed by the user program
and there is a problem with the state that the program in the
flash memory has been replaced as the PC break code.
[Flash memory write after Enables or disables programming of the flash memory after
download] group box downloading the program.
Disable: Disables programming of the flash memory after
downloading the program.
Enable: Enables programming of the flash memory after downloading
the program.
[Short break] group box Enables or disables memory access during user program execution.
Disable: Disables memory access during user program execution.
Enable: Enables memory access during user program execution.
Items Description
Address bus condition Breaks when the MCU address bus value matches the
*
specified value .
Data bus condition Breaks when the MCU data bus value matches the specified
value. High or low byte or word can be specified as the
access data size.
Read or write condition Breaks in the read or write cycle.
Note: Break Condition 1 and 2 can decide mask setting for the address from lower 4 bits to 12
bits.
Table 5.4 lists the combinations of conditions that can be set in the [Break condition] dialog box.
Condition
Address Bus Read or Write
Dialog Box Condition Data Condition Condition
[Break condition 1] O O O
[Break condition 2] O O O
[Break condition 3] O X X
[Break condition 4] O X X
[Break condition 5] O X X
[Break condition 6] O X X
[Break condition 7] O X X
[Break condition 8] O X X
[Break condition 9] O X X
[Break condition 10] O X X
Note: O: Can be set by checking the radio button in the dialog box.
Table 5.5 lists the combinations of conditions that can be set by the BREAKCONDITION_
SET command.
Condition
Address Bus Read or Write
Condition Data Condition Condition
Channel (<addropt> option) (<dataopt> option) (<r/wopt> option)
Break condition 1 O O O
Break condition 2 O O O
Break condition 3 O X X
Break condition 4 O X X
Break condition 5 O X X
Break condition 6 O X X
Break condition 7 O X X
Break condition 8 O X X
Break condition 9 O X X
Break condition 10 O X X
Note: O: Can be set by the BREAKCONDITION_SET command.
• About Command line List and NMI_MODE of each command line interface
Do not select the User type when the H8S/Tiny device is in use. When the user program is
executed while the User type has been set, there is a possibility that the E8a emulator becomes
uncontrollable.
• About note
Even though there is a description that “When the NMI signal is used, set NMI to be used in
the user program in the [NMI signal] group box of the [Configuration] dialog box or with the
NMI_MODE command.”, do not set the NMI_MODE command.
R20UT0999EJ0500