To all our customers Regarding the change of names mentioned in the document, such as Hitachi Electric and Hitachi XX, to Renesas Technology Corp. The semiconductor operations of Mitsubishi Electric and Hitachi were transferred to Renesas Technology Corporation on April 1st 2003. These operations include microcomputer, logic, analog and discrete devices, and memory chips other than DRAMs (flash memory, SRAMs etc.) Accordingly, although Hitachi, Hitachi, Ltd.
Cautions Keep safety first in your circuit designs! 1. Renesas Technology Corporation puts the maximum effort into making semiconductor products better and more reliable, but there is always the possibility that trouble may occur with them. Trouble with semiconductors may lead to personal injury, fire or property damage.
Hitachi Microcomputer Development Environment System H8S/2678, H8S/2678R, H8S/2668, H8S/2368, H8S/2378 Series E6000 Emulator HS2678REPI61H Supplementary Information ADE-702-236A Rev. 2.0 04/17/02 Hitachi, Ltd.
Cautions 1. Hitachi neither warrants nor grants licenses of any rights of Hitachi’s or any third party’s patent, copyright, trademark, or other intellectual property rights for information contained in this document. Hitachi bears no responsibility for problems that may arise with third party’s rights, including intellectual property rights, in connection with use of the information contained in this document. 2. Products and product specifications may be subject to change without notice.
IMPORTANT INFORMATION READ FIRST • READ this user's manual before using this emulator product. • KEEP the user's manual handy for future reference. Do not attempt to use the emulator product until you fully understand its mechanism. Emulator Product: Throughout this document, the term "emulator product" shall be defined as the following products produced only by Hitachi, Ltd. excluding all subsidiary products.
LIMITED WARRANTY Hitachi warrants its emulator products to be manufactured in accordance with published specifications and free from defects in material and/or workmanship. Hitachi, at its option, will repair or replace any emulator products returned intact to the factory, transportation charges prepaid, which Hitachi, upon inspection, determine to be defective in material and/or workmanship. The foregoing shall constitute the sole remedy for any breach of Hitachi's warranty.
State Law: Some states do not allow the exclusion or limitation of implied warranties or liability for incidental or consequential damages, so the above limitation or exclusion may not apply to you. This warranty gives you specific legal rights, and you may have other rights which may vary from state to state.
SAFETY PAGE READ FIRST • READ this user's manual before using this emulator product. • KEEP the user's manual handy for future reference. Do not attempt to use the emulator product until you fully understand its mechanism. DEFINITION OF SIGNAL WORDS This is the safety alert symbol. It is used to alert you to potential personal injury hazards. Obey all safety messages that follow this symbol to avoid possible injury or death.
WARNING Observe the precautions listed below. Failure to do so will result in a FIRE HAZARD and will damage the user system and the emulator product or will result in PERSONAL INJURY. The USER PROGRAM will be LOST. 1. Do not repair or remodel the emulator product by yourself for electric shock prevention and quality assurance. 2. Always switch OFF the E6000 emulator and user system before connecting or disconnecting any CABLES or PARTS. 3.
CAUTION This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instruction manual, may cause harmful interference to radio communications.
Preface Thank you for purchasing the H8S/2678 series, H8S/2678R series, H8S/2668 series, H8S/2368 series, H8S/2378 series E6000 emulator. The H8S/2678 series, H8S/2678R series, H8S/2668 series, H8S/2368 series, H8S/2378 series E6000 emulator (hereafter referred to as the E6000) was designed as a software and hardware development tool for systems based on Hitachi's original microcomputers HD64F2676, HD6432675, and HD6412670.
Contents Section 1 Overview ........................................................................................... 1 1.1 1.2 1.3 Environment Conditions ...................................................................................................1 Supported MCUs and User System Interface Cables........................................................2 Operating Voltage and Frequency Specifications .............................................................3 Section 2 User System Interface .....
Figures Figure 2.1 Figure 2.2 Figure 2.3 Figure 2.4 Default User System Interface Circuit...................................................................... 6 User System Interface Circuit for MD2, MD1, MD0, NMI, and WAIT.................. 6 User System Interface Circuit for RESET................................................................ 6 User System Interface Circuit for P40 to P47, P54 to P57, Vcc, AVcc, AVss, and Vref Signals ....................................................................
Section 1 Overview The H8S/2678 series, H8S/2678R series, H8S/2668 series, H8S/2368 series, H8S/2378 series E6000 emulator (hereafter referred to as the E6000) is an efficient software and hardware development support tool for application systems using Hitachi's original microcomputers H8S/2678 series, H8S/2678R series, H8S/2668 series, H8S/2368 series, H8S/2378 series. 1.1 Environment Conditions Table 1.
1.2 Supported MCUs and User System Interface Cables Tables 1.2 shows the correspondence between the MCUs and the user system interface cables supported by the E6000. Table 1.2 H8S/2678 Series, H8S/2678R Series, H8S/2668 Series, H8S/2368 series, H8S/2378 series MCUs and User System Interface Cable No.
1.3 Operating Voltage and Frequency Specifications Table 1.3 shows the MCU operating voltage and frequency specifications supported by the E6000. If the E6000 is used in an environment that exceeds the operating voltage range and operating frequency range guaranteed for the MCU operation, normal emulator operation is not guaranteed. Table 1.3 Operating Voltage and Frequency Specifications MCU Types Operating Voltage (V) Operating Frequency (φ) (MHz) H8S/2678 Series 3.0-3.
In the E6000, the clock can be selected by using the Configuration window or the Clock command. Table 1.4 Clock Selections Clock Command Parameter Configuration Window Setting 12 25 33 t t2 12.5 MHz internal clock 25 MHz internal clock 33 MHz internal clock Target Target/2 Notes Default Not supported by the actual MCU. Use this clock only when the required clock duty cannot be obtained.
Section 2 User System Interface All user system interface signals are directly connected to the MCU in the E6000 with no buffering except for those listed below which are connected to the MCU through control circuits: • • • • • • NMI RESET MD2, MD1, MD0 XTAL EXTAL WAIT 2.1 Signal Protection All user system interface signals are protected from over- or under-voltage by use of diode arrays except for the AVcc and Vref.
Default: Figure 2.1 Default User System Interface Circuit Mode Pins (MD2, MD1 and MD0), NMI, and WAIT: The NMI signal is input to the MCU through the emulator control circuit. The rising/falling time of the NMI signal must be 8 ns/V or less. The mode pins are only monitored. The CPU mode depends on the HDI Configuration settings. Figure 2.2 User System Interface Circuit for MD2, MD1, MD0, NMI, and WAIT RESET: Figure 2.
P40 to P47 (pins used for AN0 to AN7 and DA0 to DA1), P54 to P57 (pins used for AN12 to AN15 and DA2 to DA3) Vcc, AVcc, AVss, and Vref: Pins P50 to P57 are also used for interrupt inputs. When the user system is not connected and pull-up resistors are removed, input will be undefined and may illegally detect an interrupt. When P50 to P57 are used to input interrupt signals, it is recommended to connect the pull-up resistors to these pins. Figure 2.
8
Section 3 Notes on Use 3.1 I/O Register Differences between Actual MCU and E6000 In the E6000, one evaluation chip emulates several types of MCU. Therefore, there are some differences in I/O registers between an actual MCU and the E6000. Note these differences when accessing the I/O registers. I/O port is in the input state at default. The I/O register contents indicate the emulator port status. When the user system interface cable is not connected, the read value is 1 due to the E6000 pullup resistors.
3.3 Use of an Internal RAM Area as External Memory An internal RAM area can be used as an external address when the RAME bit of the SYSCR is cleared to "0". Emulator (option memory) cannot be selected for the internal RAM area. Only user memory can be accessed as an external address. Option memory cannot be accessed as an external address. In this case, Memory Mapping setting is the same as the Internal RAM setting. 3.
Section 4 HDI Parameters 4.1 Address Areas Table 4.1 lists the parameters for address areas (Area) that can be specified with HDI command line interface or displayed as trace results. Table 4.1 Address Area Parameters HDI Parameter (Trace Display) Address Area Description rom On-chip ROM MCU's on-chip ROM, which can be read but cannot be written to. ram On-chip RAM MCU's on-chip RAM (except for DTC RAM), which can be read and written to.
4.2 Access Status Table 4.2 lists the parameters for access status (Status) that can be specified with HDI command line interface or displayed as trace results. Table 4.2 Access Status Parameters HDI Parameter (Trace Display) Access Status Description dmac On-chip DMAC Access by the MCU's DMAC (Cannot be accessed by the EXDMA controller.
Section 5 Diagnostic Test Procedure This section describes the diagnostic test procedure using the E6000 test program. 5.1 System Set-Up for Test Program Execution To execute the test program, use the following hardware; do not connect the user system interface cable and user system. • E6000 (HS2678REPI61H) • Host computer • The E6000 PC interface board which will be one of the following boards or card: Select one interface board from the following depending on the PC interface specifications.
5.2 Diagnostic Test Procedure Using the Test Program Insert the CD-R (HS2678REPI61SR supplied with the E6000) into the CD-ROM drive of the host computer by pressing the Shift key, move the current directory to :\Diag with a command prompt, and enter one of the following commands according to the PC interface board used to initiate the test program: 1. ISA bus interface boad (HS6000EII01H) > TM2678R -ISA (RET) 2. PCI bus interface boad (HS6000EIC01H or HS6000EIC02H) > TM2678R -PCI (RET) 3.
The following messages are displayed during the test. Message Description E6000 H8S/2678R Emulator Tests Vx.x Test program start message. x.x shows the version number. Copyright (c) 2000 Hitachi Ltd. Option memory board fitted? ( 1. None 2. 1MB 3. 4MB ) : 1 Enter 1 and press the Enter key because the SIMM memory module is not installed in this example. Loading driver .........................OK (Use ISA) Shows that driver software has been correctly loaded. Initializing driver ....................
Companion chip ID: None Option memory board: None Shows the ID number of the companion chip and whether the SIMM memory board is installed. 01) Test Register A) IDR0 Register .............................OK Shows the check results for the registers in the E6000 (normal completion). B) PAGE Register .............................OK C) TRACE G/A Register ........................OK D) PERFM G/A Register ........................OK E) CES G/A Register ..........................OK F) IDR1 Register ...........
E6000 (normal completion). 04) Test Trace memory A) Decode Test page[H'000 - H'04f](Lower 32K) .....OK Shows the results of decoding test for the trace RAM (first half) in the E6000 (normal completion). B) Marching test page[H'000 - H'04f](Lower 32K) .....OK Shows the results of step test for the trace RAM (first half) in the E6000 (normal completion). C) Decode Test page[H'000 - H'04f](Upper 32K) .....OK Shows the results of decoding test for the trace RAM (last half) in the E6000 (normal completion).
A) Decode Test (Internal ROM) ..............OK ROM and RAM in the E6000 (normal completion). B) Marching test (Internal ROM) ..............OK C) Decode Test (Internal RAM) ..............OK D) Marching Test (Internal RAM) ..............OK 07) Test Option RAM No option memory board fitted - test skipped 18 Shows the check results for the optional SIMM memory module in the E6000 (not installed).
08) Test Emulation RAM STEP Operation A) Step Operation ............................OK 09) Test Keybreak A) Key Break .................................OK 10) Test Emulation RAM Hardware Break A) GRD Break .................................OK B) WPT Break .................................OK Shows the check results for the step execution controlling circuits in the E6000 (normal completion). Shows the check results for the forced break controlling circuits in the E6000 (normal completion).
B) Range Trace ...............................OK C) Point to Point Trace ......................OK D) Start and Stop Event Trace ................OK E) Trace memory Overflow .....................OK F) Time STAMP Trace (33MHz) ..................OK G) Time STAMP Trace (25MHz) ..................OK H) Time STAMP Trace (12.5MHz) ................OK 14) Test Runtime Counter A) Runtime Counter (33.0MHz) .................OK B) Runtime Counter (25.0MHz) .................OK C) Runtime Counter (12.5MHz) .................
15) Test Emulation Monitor A) EMA23-EMA0 ................................OK B) ACST2-ACST0 ...............................OK Shows the check results for the emulation monitor controlling circuits in the E6000 (normal completion). C) ASEST3-ASEST0 .............................OK D) ASEBRKACK .................................OK E) CNN .......................................OK F) NOCLK .....................................OK G) WINDOW ....................................
18) Test Parallel Access A) Internal ROM Parallel Read Access(WORD) .........OK B) Internal ROM Parallel Write Access(WORD) ........OK C) Internal ROM Parallel Write Access(High Byte) ...OK D) Internal ROM Parallel Write Access(Low Byte) ....OK E) Internal RAM Parallel Read Access(WORD) .........OK F) Internal RAM Parallel Write Access(WORD) ........OK G) Internal RAM Parallel Write Access(High Byte) ...OK H) Internal RAM Parallel Write Access(Low Byte) ....OK I) Option RAM Parallel Read Access(WORD) ......