Page 1
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).
Page 2
Renesas Electronics. Renesas Electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for an application categorized as “Specific”...
Page 3
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.
Page 4
Table of Contents Notes on Connecting the H8/38076RF, H8/38086RF, and H8/38776F ..........1 Section 1 Inside the E8a Emulator User’s Manual ................3 Section 2 Connecting the Emulator with the User System ............... 5 Section 3 Pin Assignments of the E8a Connector ................7 Section 4 Example of Emulator Connection..................9...
Page 5
Section 3 Pin Assignments of the E8a Connector ................7 Section 4 Example of Emulator Connection..................9 Section 5 Differences between the MCU (H8/38537F) and the Emulator ........13 Notes on Connecting the H8/38704F..................... 1 Section 1 Inside the E8a Emulator User’s Manual ................3 Section 2 Connecting the Emulator with the User System ...............
Page 7
E8a Emulator Notes on Connecting the H8/38076RF, H8/38086RF, and H8/38776F Notes on Connecting the H8/38076RF, H8/38086RF, and H8/38776F R20UT0637EJ0300 Rev.3.00 Page 1 of 26 Mar 14, 2012...
Page 8
E8a Emulator Notes on Connecting the H8/38076RF, H8/38086RF, and H8/38776F R20UT0637EJ0300 Rev.3.00 Page 2 of 26 Mar 14, 2012...
Page 9
E8a Emulator Section 1 Inside the E8a Emulator User’s Manual Section 1 Inside the E8a Emulator User’s Manual The E8a emulator (hereafter referred to as E8a in this document) manual consists of two documents: the E8a User’s Manual and the E8a Additional Document for User’s Manual (this document).
Page 10
E8a Emulator Section 1 Inside the E8a Emulator User’s Manual R20UT0637EJ0300 Rev.3.00 Page 4 of 26 Mar 14, 2012...
Page 11
E8a Emulator Section 2 Connecting the Emulator with the User System Section 2 Connecting the Emulator with the User System Before connecting an E8a emulator (hereafter referred to as emulator) with the user system, a connector must be installed in the user system so that a user system interface cable can be connected.
Page 12
E8a Emulator Section 2 Connecting the Emulator with the User System Notes: The pin number assignments of the 14-pin connector differ from those of the E10A-USB emulator; however, the physical location is the same. Do not place any components within 3 mm of the connector. When the emulator is used in the [Program Flash] mode, connect the emulator similarly to the user system.
Page 13
E8a Emulator Section 3 Pin Assignments of the E8a Connector Section 3 Pin Assignments of the E8a Connector Figure 3.1 shows the pin assignments of the connector. MCU Signal Pin No. Pin 1 mark Connector N.C. *2 NMI# *1 Pin 14 Pin 2 N.C.
Page 14
E8a Emulator Section 3 Pin Assignments of the E8a Connector R20UT0637EJ0300 Rev.3.00 Page 8 of 26 Mar 14, 2012...
Page 15
E8a Emulator Section 4 Example of Emulator Connection Section 4 Example of Emulator Connection Figure 4.1 shows an example of emulator connection to the MCU. Pulled-up at 4.7 kΩ or more Vcc Vcc Vcc Vcc NMI# NMI# RES# RES# TEST User system Connector 14 pins with a 2.54-mm pitch...
Page 16
E8a Emulator Section 4 Example of Emulator Connection Notes: 1. P16, P36, and P37 pins are used by the emulator. Pull up and connect the emulator and MCU pins. User system connector 4.7 kΩ Pins 1, 5, and 11 P16, P36, and P37 Figure 4.2 Connection of Emulator and P16, P36, and P37 Pins The NMI# signal is used for forced break control by the emulator.
Page 17
E8a Emulator Section 4 Example of Emulator Connection The RES# pin is used by the emulator. Create the following circuit so that reset input can be accepted from the emulator. User system connector Pin 13 RES# pin Note: For the recommended capacitance of the capacitor that is connected to the RES# pin, refer to the hardware manual.
Page 18
When the MCU in use is connected to the emulator, the pin functions listed below are not available. Table 4.1 Pin Functions Not Available H8/38076RF, H8/38086RF, and H8/38776F P16, P36, and P37 NMI# (normal) ADTRG# Figure 4.6 shows the interface circuit in the E8a emulators. Use this figure as a reference when determining the pull-up resistance value.
Page 19
E8a Emulator Section 4 Example of Emulator Connection User system connector Power-supply circuit (only used for the power-supply mode) 100 kΩ 1 MΩ 100 kΩ Emulator control circuit 22 Ω 74LVC125B 22 Ω 74LVC125B 22 Ω NMI# 74LVC125B 3.3 V SN74LVC2T45 3.3 V 22 Ω...
Page 20
E8a Emulator Section 4 Example of Emulator Connection R20UT0637EJ0300 Rev.3.00 Page 14 of 26 Mar 14, 2012...
Page 21
Section 5 Differences between the MCUs (H8/38076RF, E8a Emulator H8/38086RF, and H8/38776F) and the Emulator Section 5 Differences between the MCUs (H8/38076RF, H8/38086RF, and H8/38776F) and the Emulator This section describes the differences between the emulator and MCU operations. 1. [Emulator Setting] Dialog Box The [Emulator Setting] dialog box is provided for setting the items that need to be set when the emulator starts up (settings are saved in the session).
Page 22
Section 5 Differences between the MCUs (H8/38076RF, E8a Emulator H8/38086RF, and H8/38776F) and the Emulator 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: ⎯...
Page 23
Section 5 Differences between the MCUs (H8/38076RF, E8a Emulator H8/38086RF, and H8/38776F) and the Emulator • 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.
Page 24
Section 5 Differences between the MCUs (H8/38076RF, E8a Emulator H8/38086RF, and H8/38776F) and the Emulator Figure 5.3 [ID Code] Dialog Box 4. When the emulator system is initiated, it initializes the general registers and part of the control registers as shown in table 5.1.
Page 25
Section 5 Differences between the MCUs (H8/38076RF, E8a Emulator H8/38086RF, and H8/38776F) and the Emulator 7. System Control Register In the emulator, the internal I/O registers can be accessed from the [IO] window. However, be careful when accessing the system control register. The emulator saves the register value of the system control register at a break and returns the value when the user program is executed.
Page 26
Break Condition 2 is disabled in this emulator. 19. Hardware Break Functions • In the H8/38076RF, H8/38086RF, H8/38776F E8a emulator, conditions of Break Condition 1,2 can be set. Table 5.3 lists the items that can be specified. Note: When the address break is used in the user program, Break Condition 2 is disabled.
Page 27
Section 5 Differences between the MCUs (H8/38076RF, E8a Emulator H8/38086RF, and H8/38776F) and the Emulator Table 5.3 Hardware Break Condition Specification Items 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.
Page 28
Section 5 Differences between the MCUs (H8/38076RF, E8a Emulator H8/38086RF, and H8/38776F) and the Emulator • Notes on Setting the Break Condition 1. When [Step In], [Step Over], or [Step Out] is selected, the settings of Break Condition are disabled.
Page 29
Section 5 Differences between the MCUs (H8/38076RF, E8a Emulator H8/38086RF, and H8/38776F) and the Emulator 20. Items Set in the [Configuration] Dialog Box The emulator operation conditions are set in the [Configuration] dialog box. Figure 5.4 [Configuration] Dialog Box ([System] Page) R20UT0637EJ0300 Rev.3.00...
Page 30
Section 5 Differences between the MCUs (H8/38076RF, E8a Emulator H8/38086RF, and H8/38776F) and the Emulator Items that can be displayed in this dialog box are listed below. [Device] combo box Displays the MCU name. [Emulation mode] combo box Selects the emulation mode at user program execution.
Page 31
Section 5 Differences between the MCUs (H8/38076RF, E8a Emulator H8/38086RF, and H8/38776F) and 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.
Page 32
Section 5 Differences between the MCUs (H8/38076RF, E8a Emulator H8/38086RF, and H8/38776F) and the Emulator Notes: 1. Includes interrupts in a break. 2. When Step Over is performed after selecting [No Programming of the flash memory] for [Step Over option], the instruction that follows a JSR, BSR, or TRAPA instruction will also be executed.
Page 33
E8a Emulator Notes on Connecting the H8/38602RF and H8/38606F Notes on Connecting the H8/38602RF and H8/38606F R20UT0637EJ0300 Rev.3.00 Page 1 of 26 Mar 14, 2012...
Page 34
E8a Emulator Notes on Connecting the H8/38602RF and H8/38606F R20UT0637EJ0300 Rev.3.00 Page 2 of 26 Mar 14, 2012...
Page 35
E8a Emulator Section 1 Inside the E8a Emulator User’s Manual Section 1 Inside the E8a Emulator User’s Manual The E8a emulator (hereafter referred to as E8a in this document) manual consists of two documents: the E8a User’s Manual and the E8a Additional Document for User’s Manual (this document).
Page 36
E8a Emulator Section 1 Inside the E8a Emulator User’s Manual R20UT0637EJ0300 Rev.3.00 Page 4 of 26 Mar 14, 2012...
Page 37
E8a Emulator Section 2 Connecting the Emulator with the User System Section 2 Connecting the Emulator with the User System Before connecting an E8a emulator (hereafter referred to as emulator) with the user system, a connector must be installed in the user system so that a user system interface cable can be connected.
Page 38
E8a Emulator Section 2 Connecting the Emulator with the User System Notes: The pin number assignments of the 14-pin connector differ from those of the E10A-USB emulator; however, the physical location is the same. Do not place any components within 3 mm of the connector. When the emulator is used in the [Program Flash] mode, connect the emulator similarly to the user system.
Page 39
E8a Emulator Section 3 Pin Assignments of the E8a Connector Section 3 Pin Assignments of the E8a Connector Figure 3.1 shows the pin assignments of the connector. MCU Signal Pin No. E7_2 Pin 1 mark Connector N.C. *2 E7_1 NMI# *1 Pin 14 Pin 2 N.C.
Page 40
E8a Emulator Section 3 Pin Assignments of the E8a Connector R20UT0637EJ0300 Rev.3.00 Page 8 of 26 Mar 14, 2012...
Page 41
E8a Emulator Section 4 Example of Emulator Connection Section 4 Example of Emulator Connection Figure 4.1 shows an example of emulator connection to the MCU. Pulled-up at 4.7 kΩ or more Vcc Vcc Vcc Vcc NMI# NMI# E7_0 E7_0 E7_1 E7_1 E7_2 E7_2...
Page 42
E8a Emulator Section 4 Example of Emulator Connection Notes: 1. E7_0 to E7_2 pins are used by the emulator. Pull up and connect the emulator and MCU pins. User system connector 4.7 kΩ E7_0 to E7_2 Pins 1, 5, and 11 Figure 4.2 Connection of Emulator and E7_0 to E7_2 Pins 2.
Page 43
E8a Emulator Section 4 Example of Emulator Connection The RES# pin is used by the emulator. Create the following circuit so that reset input can be accepted from the emulator. User system connector Pin 13 RES# pin Note: For the recommended capacitance of the capacitor that is connected to the RES# pin, refer to the hardware manual.
Page 44
E8a Emulator Section 4 Example of Emulator Connection 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.
Page 45
E8a Emulator Section 4 Example of Emulator Connection User system connector Power-supply circuit (only used for the power-supply mode) 100 kΩ 1 MΩ 100 kΩ Emulator control circuit 22 Ω E7_2 74LVC125B 22 Ω E7_0 74LVC125B 22 Ω NMI# 74LVC125B 3.3 V SN74LVC2T45 3.3 V...
Page 46
E8a Emulator Section 4 Example of Emulator Connection R20UT0637EJ0300 Rev.3.00 Page 14 of 26 Mar 14, 2012...
Page 47
Section 5 Differences between the MCUs (H8/38602RF E8a Emulator and H8/38606F) and the Emulator Section 5 Differences between the MCUs (H8/38602RF and H8/38606F) and the Emulator This section describes the differences between the emulator and MCU operations. 1. [Emulator Setting] Dialog Box The [Emulator Setting] dialog box is provided for setting the items that need to be set when the emulator starts up (settings are saved in the session).
Page 48
Section 5 Differences between the MCUs (H8/38602RF E8a Emulator and H8/38606F) and the Emulator 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: ⎯...
Page 49
Section 5 Differences between the MCUs (H8/38602RF E8a Emulator and H8/38606F) and the Emulator • 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.
Page 50
Section 5 Differences between the MCUs (H8/38602RF E8a Emulator and H8/38606F) and the Emulator Figure 5.3 [ID Code] Dialog Box 4. When the emulator system is initiated, it initializes the general registers and part of the control registers as shown in table 5.1. Table 5.1 Register Initial Values at Emulator Power-On Register Initial Value...
Page 51
Section 5 Differences between the MCUs (H8/38602RF E8a Emulator and H8/38606F) and the Emulator 7. System Control Register In the emulator, the internal I/O registers can be accessed from the [IO] window. However, be careful when accessing the system control register. The emulator saves the register value of the system control register at a break and returns the value when the user program is executed.
Page 52
Section 5 Differences between the MCUs (H8/38602RF E8a Emulator and H8/38606F) and the Emulator Table 5.2 Program Area for the E8a Emulator MCU Name Program Area H8/38602RF Emulator ROM: H’4000 to H’4FFF Internal RAM: H’F780 to H’FB7F Vector, etc.: H’0002 to H’000F, H’4FF8 to H’4FF9 H8/38606F Emulator ROM: H’C000 to H’CFFF Internal RAM: H’F380 to H’F77F...
Page 53
Section 5 Differences between the MCUs (H8/38602RF E8a Emulator and H8/38606F) and the Emulator Table 5.3 Registers Not Initialized MCU Name Register Not Initialized H8/38602RF SYSCR1, SYSCR2, IEGR1, IENR1, IENR2, OSCCR, IRR1, IRR2, IWPR, CKSTPR1, CKSTPR2 H8/38606F 20. Step Execution of the SLEEP Instruction When the interrupt mask bit (I) in the condition code register (CCR) is 1, do not perform step execution of the SLEEP instruction.
Page 54
Section 5 Differences between the MCUs (H8/38602RF E8a Emulator and H8/38606F) and the Emulator Table 5.5 lists the combinations of conditions that can be set in the [Break condition] dialog box. Table 5.5 Conditions Set in [Break condition] Dialog Box Condition Address Bus Read or Write...
Page 55
Section 5 Differences between the MCUs (H8/38602RF E8a Emulator and H8/38606F) and the Emulator 24. Items Set in the [Configuration] Dialog Box The emulator operation conditions are set in the [Configuration] dialog box. Figure 5.4 [Configuration] Dialog Box ([System] Page) R20UT0637EJ0300 Rev.3.00 Page 23 of 26 Mar 14, 2012...
Page 56
Section 5 Differences between the MCUs (H8/38602RF E8a Emulator and H8/38606F) and the Emulator Items that can be displayed in this dialog box are listed below. [Device] combo box Displays the MCU name. [Emulation mode] combo box Selects the emulation mode at user program execution. Select Normal to perform normal emulation.
Page 57
Section 5 Differences between the MCUs (H8/38602RF E8a Emulator and H8/38606F) and 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.
Page 58
Section 5 Differences between the MCUs (H8/38602RF E8a Emulator and H8/38606F) and the Emulator Notes: 1. Includes interrupts in a break. 2. When Step Over is performed after selecting [No Programming of the flash memory] for [Step Over option], the instruction that follows a JSR, BSR, or TRAPA instruction will also be executed.
Page 59
E8a Emulator Notes on Connecting the H8/38099F and H8/38799F Notes on Connecting the H8/38099F and H8/38799F R20UT0637EJ0300 Rev.3.00 Page 1 of 26 Mar 14, 2012...
Page 60
E8a Emulator Notes on Connecting the H8/38099F and H8/38799F R20UT0637EJ0300 Rev.3.00 Page 2 of 26 Mar 14, 2012...
Page 61
E8a Emulator Section 1 Inside the E8a Emulator User’s Manual Section 1 Inside the E8a Emulator User’s Manual The E8a emulator (hereafter referred to as E8a emulator in this document) manual consists of two documents: the E8a User’s Manual and the E8a Additional Document for User’s Manual (this document).
Page 62
E8a Emulator Section 1 Inside the E8a Emulator User’s Manual R20UT0637EJ0300 Rev.3.00 Page 4 of 26 Mar 14, 2012...
Page 63
E8a Emulator Section 2 Connecting the Emulator with the User System Section 2 Connecting the Emulator with the User System Before connecting an E8a emulator (hereafter referred to as emulator) with the user system, a connector must be installed in the user system so that an user system interface cable can be connected.
Page 64
E8a Emulator Section 2 Connecting the Emulator with 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. When the emulator is used in the [Program Flash] mode, connect the emulator similarly to the user system.
Page 65
E8a Emulator Section 3 Pin Assignments of the E8a Connector Section 3 Pin Assignments of the E8a Connector Figure 3.1 shows the pin assignments of the emulator′s connector. MCU Signal Pin No. Pin 1 mark Connector N.C. *2 NMI# *1 Pin 14 Pin 2 N.C.
Page 66
E8a Emulator Section 3 Pin Assignments of the E8a Connector R20UT0637EJ0300 Rev.3.00 Page 8 of 26 Mar 14, 2012...
Page 67
E8a Emulator Section 4 Example of Emulator Connection Section 4 Example of Emulator Connection Figure 4.1 shows an example of emulator connection to the MCU. Pulled-up at 4.7 kΩ or more Vcc Vcc Vcc Vcc NMI# NMI# RES# RES# TEST User system Connector 14 pins with a 2.54-mm pitch...
Page 68
E8a Emulator Section 4 Example of Emulator Connection Notes: 1. P16, P36, and P37 pins are used by the emulator. Pull up and connect the emulator and MCU pins. User system connector 4.7 kΩ Pins 1, 5, and 11 P16, P36, and P37 Figure 4.2 Connection of Emulator and P16, P36, and P37 Pins The NMI# signal is used for forced break control by the emulator.
Page 69
E8a Emulator Section 4 Example of Emulator Connection The RES# pin is used by the emulator. Create the following circuit so that reset input can be accepted from the emulator. User system connector Pin 13 RES# pin Note: For the recommended capacitance of the capacitor that is connected to the RES# pin, refer to the hardware manual.
Page 70
E8a Emulator Section 4 Example of Emulator Connection 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.
Page 71
E8a Emulator Section 4 Example of Emulator Connection User system connector Power-supply circuit (only used for the power-supply mode) 100 kΩ 1 MΩ 100 kΩ Emulator control circuit 22 Ω 74LVC125B 22 Ω 74LVC125B 22 Ω NMI# 74LVC125B 3.3 V SN74LVC2T45 3.3 V 22 Ω...
Page 72
E8a Emulator Section 4 Example of Emulator Connection R20UT0637EJ0300 Rev.3.00 Page 14 of 26 Mar 14, 2012...
Page 73
Section 5 Differences between the MCUs (H8/38099F E8a Emulator and H8/38799F) and the Emulator Section 5 Differences between the MCUs (H8/38099F and H8/38799F) and the Emulator This section describes the differences between the emulator and MCU operations. 1. [Emulator Setting] Dialog Box The [Emulator Setting] dialog box is provided for setting the items that need to be set when the emulator starts up (settings are saved in the session).
Page 74
Section 5 Differences between the MCUs (H8/38099F E8a Emulator and H8/38799F) and the Emulator 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: ⎯...
Page 75
Section 5 Differences between the MCUs (H8/38099F E8a Emulator and H8/38799F) and the Emulator • 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.
Page 76
Section 5 Differences between the MCUs (H8/38099F E8a Emulator and H8/38799F) and the Emulator Figure 5.3 [ID Code] Dialog Box 4. When the emulator system is initiated, it initializes the general registers and part of the control registers as shown in table 5.1. Table 5.1 Register Initial Values at Emulator Power-On Register Initial Value...
Page 77
Section 5 Differences between the MCUs (H8/38099F E8a Emulator and H8/38799F) and the Emulator 7. System Control Register In the emulator, the internal I/O registers can be accessed from the [IO] window. However, be careful when accessing the system control register. The emulator saves the register value of the system control register at a break and returns the value when the user program is executed.
Page 78
Section 5 Differences between the MCUs (H8/38099F E8a Emulator and H8/38799F) and the Emulator Table 5.2 Program Area for the Emulator MCU Name Program Area H8/38099F Emulator ROM: H’020000 to H’020FFF H8/38799F Internal RAM: H’FFA000 to H’FFA7FF Vector, etc.: H’000004 to H’000017, H’20FF8 to H’20FFF 14.
Page 79
Section 5 Differences between the MCUs (H8/38099F E8a Emulator and H8/38799F) and the Emulator Table 5.3 Hardware Break Condition Specification Items 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.
Page 80
Section 5 Differences between the MCUs (H8/38099F E8a Emulator and H8/38799F) and the Emulator Table 5.5 Conditions Set by BREAKCONDITION_SET Command Condition Address Bus Read or Write Condition Data Condition Condition Channel (<addropt> option) (<dataopt> option) (<r/wopt> option) Break condition 1 Break condition 2 Break condition 3 Break condition 4...
Page 81
Section 5 Differences between the MCUs (H8/38099F E8a Emulator and H8/38799F) and the Emulator 21. Items Set in the [Configuration] Dialog Box The emulator operation conditions are set in the [Configuration] dialog box. Figure 5.4 [Configuration] Dialog Box ([System] Page) Items that can be displayed in this dialog box are listed below.
Page 82
Section 5 Differences between the MCUs (H8/38099F E8a Emulator and H8/38799F) and the Emulator [Device] combo box Displays the MCU name. [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.
Page 83
Section 5 Differences between the MCUs (H8/38099F E8a Emulator and H8/38799F) and 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.
Page 84
Section 5 Differences between the MCUs (H8/38099F E8a Emulator and H8/38799F) and the Emulator Notes: 1. Includes interrupts in a break. 2. When Step Over is performed after selecting [No Programming of the flash memory] for [Step Over option], the instruction that follows a JSR, BSR, or TRAPA instruction will also be executed.
Page 85
E8a Emulator Notes on Connecting the H8/38524F Notes on Connecting the H8/38524F R20UT0637EJ0300 Rev.3.00 Page 1 of 24 Mar 14, 2012...
Page 86
E8a Emulator Notes on Connecting the H8/38524F R20UT0637EJ0300 Rev.3.00 Page 2 of 24 Mar 14, 2012...
Page 87
E8a Emulator Section 1 Inside the E8a Emulator User’s Manual Section 1 Inside the E8a Emulator User’s Manual The E8a emulator (hereafter referred to as E8a in this document) manual consists of two documents: the E8a User’s Manual and the E8a Additional Document for User’s Manual (this document).
Page 88
E8a Emulator Section 1 Inside the E8a Emulator User’s Manual R20UT0637EJ0300 Rev.3.00 Page 4 of 24 Mar 14, 2012...
Page 89
E8a Emulator Section 2 Connecting the Emulator with the User System Section 2 Connecting the Emulator with the User System Before connecting an E8a emulator (hereafter referred to as emulator) with the user system, a connector must be installed in the user system so that an user system interface cable can be connected.
Page 90
E8a Emulator Section 2 Connecting the Emulator with 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.
Page 91
E8a Emulator Section 3 Pin Assignments of the E8a Connector Section 3 Pin Assignments of the E8a Connector Figure 3.1 shows the pin assignments of the connector. Pin No. MCU Signal Pin 1 mark Connector N.C. *2 Pin 14 Pin 2 N.C.
Page 92
E8a Emulator Section 3 Pin Assignments of the E8a Connector R20UT0637EJ0300 Rev.3.00 Page 8 of 24 Mar 14, 2012...
Page 93
E8a Emulator Section 4 Example of Emulator Connection Section 4 Example of Emulator Connection The figures shown below are examples of connecting the user system to the emulator. The H8/38524F incorporates a power-on reset circuit (hereafter referred to as POR). See figure 4.1 when you use the POR function or figure 4.2 when you do not use the POR function, respectively.
Page 94
E8a Emulator Section 4 Example of Emulator Connection Pulled-up at 4.7 kΩ or more Vcc Vcc Vcc Vcc User logic RES# RES# Resonator OSC1 OSC2 oscillator *: Open-collector buffer User system Connector 14 pins with a 2.54-mm pitch Figure 4.2 Example of Emulator Connection (when a POR is not in Use) R20UT0637EJ0300 Rev.3.00 Page 10 of 24 Mar 14, 2012...
Page 95
E8a Emulator Section 4 Example of Emulator Connection Notes: 1. Pins P33 to P35 are used by the emulator. Pull up and connect the emulator and MCU pins. User system connector 4.7 kΩ P33 to P35 Pins 1, 5, and 11 Figure 4.3 Connection of Emulator and Pins P33 to P35 Pin P95 is used for forced break control by the emulator.
Page 96
E8a Emulator Section 4 Example of Emulator Connection The RES# pin is used by the emulator. Create the following circuit by connecting the open-collector output buffer so that a reset input from the emulator can be accepted: When a POR is in use User system connector RES# pin...
Page 97
E8a Emulator Section 4 Example of Emulator Connection 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.
Page 98
E8a Emulator Section 4 Example of Emulator Connection User system connector Power-supply circuit (only used for the power-supply mode) 100 kΩ 1 MΩ 100 kΩ Emulator control circuit 22 Ω 74LVC125B 22 Ω 74LVC125B 22 Ω 74LVC125B 3.3 V SN74LVC2T45 3.3 V 22 Ω...
Page 99
Section 5 Differences between the MCU (H8/38524F) E8a Emulator and the Emulator Section 5 Differences between the MCU (H8/38524F) and the Emulator This section describes the differences between the emulator and MCU operations. 1. [Emulator Setting] Dialog Box The [Emulator Setting] dialog box is provided for setting the items that need to be set when the emulator starts up (settings are saved in the session).
Page 100
Section 5 Differences between the MCU (H8/38524F) E8a Emulator and the Emulator 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: ⎯...
Page 101
Section 5 Differences between the MCU (H8/38524F) E8a Emulator and the Emulator • 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.
Page 102
Section 5 Differences between the MCU (H8/38524F) E8a Emulator and the Emulator Figure 5.3 [ID Code] Dialog Box 4. When the emulator system is initiated, it initializes the general registers and part of the control registers as shown in table 5.1. Table 5.1 Register Initial Values at Emulator Power-On Register Initial Value...
Page 103
Section 5 Differences between the MCU (H8/38524F) E8a Emulator and the Emulator 8. Memory Access during Emulation If the memory contents are referenced or modified during emulation, realtime emulation cannot be performed because the user program is temporarily halted. 9. The emulator communicates with the MCUs by using the RES#, P33 to P35, and P95 pins. These pins except for RES# cannot be used.
Page 104
Section 5 Differences between the MCU (H8/38524F) E8a Emulator and the Emulator 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.
Page 105
Section 5 Differences between the MCU (H8/38524F) E8a Emulator and the Emulator Items that can be displayed in this dialog box are listed below. [Device] combo box Displays the MCU name. [Emulation mode] combo box Selects the emulation mode at user program execution. Select Normal to perform normal emulation.
Page 106
Section 5 Differences between the MCU (H8/38524F) E8a Emulator and 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.
Page 107
Section 5 Differences between the MCU (H8/38524F) E8a Emulator and the Emulator Notes: 1. Includes interrupts in a break. 2. When Step Over is performed after selecting [No Programming of the flash memory] for [Step Over option], the instruction that follows a JSR, BSR, or TRAPA instruction will also be executed.
Page 108
Section 5 Differences between the MCU (H8/38524F) E8a Emulator and the Emulator R20UT0637EJ0300 Rev.3.00 Page 24 of 24 Mar 14, 2012...
Page 109
E8a Emulator Notes on Connecting the H8/38537F Notes on Connecting the H8/38537F R20UT0637EJ0300 Rev.3.00 Page 1 of 22 Mar 14, 2012...
Page 110
E8a Emulator Notes on Connecting the H8/38537F R20UT0637EJ0300 Rev.3.00 Page 2 of 22 Mar 14, 2012...
Page 111
E8a Emulator Section 1 Inside the E8a Emulator User's Manual Section 1 Inside the E8a Emulator User’s Manual The E8a emulator (hereafter referred to as E8a emulator in this document) manual consists of two documents: the E8a User’s Manual and the E8a Additional Document for User’s Manual (this document).
Page 112
E8a Emulator Section 1 Inside the E8a Emulator User's Manual R20UT0637EJ0300 Rev.3.00 Page 4 of 22 Mar 14, 2012...
Page 113
E8a Emulator Section 2 Connecting the Emulator with the User System Section 2 Connecting the Emulator with the User System Before connecting an E8a emulator (hereafter referred to as emulator) with the user system, a connector must be installed in the user system so that an user system interface cable can be connected.
Page 114
E8a Emulator Section 2 Connecting the Emulator with 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.
Page 115
E8a Emulator Section 3 Pin Assignments of the E8a Connector Section 3 Pin Assignments of the E8a Connector Figure 3.1 shows the pin assignments of the emulator’s connector. Signal Name Pin No. H8/38537F Pin 1 mark Connector N.C.*2 Pin 14 Pin 2 N.C.*2 Pin 13...
Page 116
E8a Emulator Section 3 Pin Assignments of the E8a Connector R20UT0637EJ0300 Rev.3.00 Page 8 of 22 Mar 14, 2012...
Page 117
E8a Emulator Section 4 Example of Emulator Connection Section 4 Example of Emulator Connection Figure 4.1 shows an example of emulator connection to the MCU. Pulled up at 4.7 kΩ or more Vcc Vcc Vcc Vcc H8/38537F User logic RES# RES# Pulled up at 4.7 kΩ...
Page 118
E8a Emulator Section 4 Example of Emulator Connection Notes: 1. P85 to P87 pins are used by the emulator. Pull up and connect the emulator and MCU pins. H8/38537F User system connector 4.7 kΩ P85 to P87 Pins 1, 5, and 11 Figure 4.2 Connection of Emulator and P85 to P87 Pins 2.
Page 119
E8a Emulator Section 4 Example of Emulator Connection 4. Connect Vss and Vcc with the Vss and Vcc of the MCU, respectively. The input voltage, Vcc, must be connected to the user system Vcc (power supply). The amount of voltage permitted to input to Vcc must be within the guaranteed range of the microcomputer.
Page 120
E8a Emulator Section 4 Example of Emulator Connection User system connector Power-supply circuit (only used for the power-supply mode) 100 kΩ 1 MΩ 100 kΩ Emulator control circuit 22 Ω 74LVC125B 22 Ω 74LVC125B 22 Ω 74LVC125B 3.3 V SN74LVC2T45 3.3 V 22 Ω...
Page 121
E8a Emulator Section 5 Differences between the MCU (H8/38537F) and the Emulator Section 5 Differences between the MCU (H8/38537F) and the Emulator This section describes the differences between the emulator and MCU operations. 1. [Emulator Setting] Dialog Box The [Emulator Setting] dialog box is provided for setting the items that need to be set when the emulator starts up (settings are saved in the session).
Page 122
E8a Emulator Section 5 Differences between the MCU (H8/38537F) and the Emulator 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: ⎯...
Page 123
E8a Emulator Section 5 Differences between the MCU (H8/38537F) and the Emulator • 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.
Page 124
E8a Emulator Section 5 Differences between the MCU (H8/38537F) and the Emulator Figure 5.3 [ID Code] Dialog Box 4. When the emulator system is initiated, it initializes the general registers and part of the control registers as shown in table 5.1. Table 5.1 Register Initial Values at Emulator Power-On Register Initial Value...
Page 125
E8a Emulator Section 5 Differences between the MCU (H8/38537F) and the Emulator 8. Memory Access during Emulation If the memory contents are referenced or modified during emulation, realtime emulation cannot be performed because the user program is temporarily halted. 9. The emulator communicates with the MCUs by using the P85 to P87 and P32, and RES# pins. These pins except for RES# cannot be used.
Page 126
E8a Emulator Section 5 Differences between the MCU (H8/38537F) and the Emulator 16. Debugging of the emulator will not be normally performed if bit 2 of PCR3 and bit 2 of PDR3 are rewritten in the user program or the BSET.B and BCLR.B instructions are issued to other than bit 2 in each register.
Page 127
E8a Emulator Section 5 Differences between the MCU (H8/38537F) and the Emulator Items that can be displayed in this dialog box are listed below. [Device] combo box Displays the MCU name. [Emulation mode] combo box Selects the emulation mode at user program execution. Select Normal to perform normal emulation.
Page 128
E8a Emulator Section 5 Differences between the MCU (H8/38537F) and 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.
Page 129
E8a Emulator Section 5 Differences between the MCU (H8/38537F) and the Emulator [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.
Page 130
E8a Emulator Section 5 Differences between the MCU (H8/38537F) and the Emulator R20UT0637EJ0300 Rev.3.00 Page 22 of 22 Mar 14, 2012...
Page 131
E8a Emulator Notes on Connecting the H8/38704F Notes on Connecting the H8/38704F R20UT0637EJ0300 Rev.3.00 Page 1 of 22 Mar 14, 2012...
Page 132
E8a Emulator Notes on Connecting the H8/38704F R20UT0637EJ0300 Rev.3.00 Page 2 of 22 Mar 14, 2012...
Page 133
E8a Emulator Section 1 Inside the E8a Emulator User′s Manual Section 1 Inside the E8a Emulator User’s Manual The E8a emulator (hereafter referred to as E8a in this document) manual consists of two documents: the E8a User’s Manual and the E8a Additional Document for User’s Manual (this document).
Page 134
E8a Emulator Section 1 Inside the E8a Emulator User′s Manual R20UT0637EJ0300 Rev.3.00 Page 4 of 22 Mar 14, 2012...
Page 135
E8a Emulator Section 2 Connecting the Emulator with the User System Section 2 Connecting the Emulator with the User System Before connecting an E8a emulator (hereafter referred to as emulator) with the user system, a connector must be installed in the user system so that a user system interface cable can be connected.
Page 136
E8a Emulator Section 2 Connecting the Emulator with the User System Notes: The pin number assignments of the 14-pin connector differ from those of the E10A-USB emulator; however, the physical location is the same. Do not place any components within 3 mm of the connector. When the emulator is used in the [Program Flash] mode, connect the emulator similarly to the user system.
Page 137
E8a Emulator Section 3 Pin Assignments of the E8a Connector Section 3 Pin Assignments of the E8a Connector Figure 3.1 shows the pin assignments of the connector. MCU Signal Pin No. Pin 1 mark Connector N.C. *2 Pin 14 Pin 2 N.C.
Page 138
E8a Emulator Section 3 Pin Assignments of the E8a Connector R20UT0637EJ0300 Rev.3.00 Page 8 of 22 Mar 14, 2012...
Page 139
E8a Emulator Section 4 Example of Emulator Connection Section 4 Example of Emulator Connection Figure 4.1 shows an example of emulator connection to the MCU. Pulled up at 4.7 kΩ or more Vcc Vcc Vcc Vcc User logic RES# RES# Pulled up at 4.7 kΩ...
Page 140
E8a Emulator Section 4 Example of Emulator Connection Notes: 1. P33 to P35 pins are used by the emulator. Pull up and connect the emulator and MCU pins. User system connector 4.7 kΩ Pins 1, 5, and 11 P33 to P35 Figure 4.2 Connection of Emulator and P33 to P35 Pins 2.
Page 141
E8a Emulator Section 4 Example of Emulator Connection 4. Connect Vss and Vcc with the Vss and Vcc of the MCU, respectively (within the guaranteed range of the microcomputer). When the power-supply mode is used, the power is supplied to the user system. Check that the power consumption or voltage of the user system is within the available range of E8a and avoid a problem such as closing of the power-supply circuit.
Page 142
E8a Emulator Section 4 Example of Emulator Connection User system connector Power-supply circuit (only used for the power-supply mode) 100 kΩ 1 MΩ 100 kΩ Emulator control circuit 22 Ω 74LVC125B 22 Ω 74LVC125B 22 Ω 74LVC125B 3.3 V SN74LVC2T45 3.3 V 22 Ω...
Page 143
E8a Emulator Section 5 Differences between the MCU (H8/38704F) and the Emulator Section 5 Differences between the MCU (H8/38704F) and the Emulator This section describes the differences between the emulator and MCU operations. 1. [Emulator Setting] Dialog Box The [Emulator Setting] dialog box is provided for setting the items that need to be set when the emulator starts up (settings are saved in the session).
Page 144
E8a Emulator Section 5 Differences between the MCU (H8/38704F) and the Emulator 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: ⎯...
Page 145
E8a Emulator Section 5 Differences between the MCU (H8/38704F) and the Emulator • 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.
Page 146
E8a Emulator Section 5 Differences between the MCU (H8/38704F) and the Emulator Figure 5.3 [ID Code] Dialog Box 4. When the emulator system is initiated, it initializes the general registers and part of the control registers as shown in table 5.1. Table 5.1 Register Initial Values at Emulator Power-On Register Initial Value...
Page 147
E8a Emulator Section 5 Differences between the MCU (H8/38704F) and the Emulator 8. Memory Access during Emulation If the memory contents are referenced or modified during emulation, realtime emulation cannot be performed because the user program is temporarily halted. 9. The emulator communicates with the MCUs by using the RES#, P33 to P35, and P95 pins. These pins except for RES# cannot be used.
Page 148
E8a Emulator Section 5 Differences between the MCU (H8/38704F) and the Emulator 16. Items Set in the [Configuration] Dialog Box The emulator operation conditions are set in the [Configuration] dialog box. Figure 5.4 [Configuration] Dialog Box ([Emulator System] Page) R20UT0637EJ0300 Rev.3.00 Page 18 of 22 Mar 14, 2012...
Page 149
E8a Emulator Section 5 Differences between the MCU (H8/38704F) and the Emulator Items that can be displayed in this dialog box are listed below. [Device] combo box Displays the MCU name. [Emulation mode] combo box Selects the emulation mode at user program execution. Select Normal to perform normal emulation.
Page 150
E8a Emulator Section 5 Differences between the MCU (H8/38704F) and 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.
Page 151
E8a Emulator Section 5 Differences between the MCU (H8/38704F) and the Emulator [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.
Page 152
E8a Emulator Section 5 Differences between the MCU (H8/38704F) and the Emulator R20UT0637EJ0300 Rev.3.00 Page 22 of 22 Mar 14, 2012...
Page 153
E8a Emulator Additional Document for User's Manual Notes on Connecting the H8/300H Super Low Power Series Publication Date: Rev.1.00 August 3, 2009 Rev.3.00 March 14, 2012 Published by: Renesas Electronics Corporation...
Need help?
Do you have a question about the H8/38076RF and is the answer not in the manual?
Questions and answers