To our customers, Old Company Name in Catalogs and Other Documents On April 1st, 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took over all the business of both companies. Therefore, although the old company name remains in this document, it is a valid Renesas Electronics document. We appreciate your understanding. Renesas Electronics website: http://www.renesas.
Notice 1. 2. 3. 4. 5. 6. 7. All information included in this document is current as of the date this document is issued. Such information, however, is subject to change without any prior notice. Before purchasing or using any Renesas Electronics products listed herein, please confirm the latest product information with a Renesas Electronics sales office.
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.
User’s Manual 16 H8S/2148, H8S/2138, H8S/2128 Series, H8S/2149, H8S/2169, H8/3577, H8/3567 Series E6000 Emulator HS2148EPI61H Supplementary Information Renesas Microcomputer Development Environment System Rev.1.0 2000.
Cautions 1. Hitachi neither warrants nor grants licenses of any rights of Hitachis or any third partys 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 partys 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.
Target User of the Emulator Product: This emulator product should only be used by those who have carefully read and thoroughly understood the information and restrictions contained in the user's manual. Do not attempt to use the emulator product until you fully understand its mechanism. It is highly recommended that first-time users be instructed by users that are well versed in the operation of the emulator product.
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 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.
Preface Thank you for purchasing the H8S/2148, H8S/2138, H8S/2128 series, H8S/2149, H8S/2169, H8/3577, H8/3567 series E6000 emulator. The H8S/2148, H8S/2138, H8S/2128 series, H8S/2149, H8S/2169, H8/3577, H8/3567 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 HD6432148, HD6432138, HD6432128 series, HD64F2149, HD64F2169, HD6433577, HD6433567 series.
Contents Section 1 Overview.........................................................................................1 Section 2 User System Interface .....................................................................7 Section 3 Notes on Use ...................................................................................10 Section 4 HDI Parameters...............................................................................13 Section 5 Diagnostic Test Procedure ...............................
Figures Figure 2.1 Figure 2.2 Figure 2.3 Figure 2.4 Default User System Interface Circuit ...................................................................8 User System Interface Circuit for MD1, MD0, and NMI ......................................8 User System Interface Circuit for RESET .............................................................8 User System Interface Circuit for AN0 to AN7, DA0, DA1, AVcc, AVss, and Vref Signals........................................................................
Section 1 Overview The H8S/2148, H8S/2138, H8S/2128 series H8S/2149, H8S/2169 and H8/3577, H8/3567 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/2148, H8S/2138, H8S/2128 series and H8/3577, H8/3567 series. 1.1 Environment Conditions Table 1.
1.2 Supported MCUs and User System Interface Cables Tables 1.2 to 1.8 show the correspondence between the MCUs and the user system interface cables supported by the E6000. H8S/2148 Series: Table 1.2 H8S/2148 Series MCUs and User System Interface Cable No. MCU Type Number Package E6000 User System Interface Cables 1 HD6432148 100-pin QFP (FP-100B), HS2148ECH61H HD64F2148 100-pin TQFP (TFP-100B) HD6432147 HD6432144 HD64F2144 HD6432143 HD6432142 HD64F2142R H8S/2138 Series: Table 1.
H8S/2128 Series: Table 1.4 No. 1 H8S/2128 Series MCUs and User System Interface Cables MCU Type Number Package E6000 User System Interface Cables HD6432128 64-pin SDIP (DP-64S) HS2128ECS61H 64-pin QFP (FP-64A) HS2128ECH61H 80-pin TQFP (TFP-80C) HS2128ECN61H HD64F2128 HD6432127R 2 HD6432126R HD6432124 HD6432123 3 HD6432122 HD6432120 H8S/2149: Table 1.5 H8S/2149 MCUs and User System Interface Cables No.
H8/3577 Series: Table 1.7 No. 1 H8/3577 Series MCUs and User System Interface Cables MCU Type Number Package E6000 User System Interface Cables HD6433577 64-pin SDIP (DP-64S) HS2128ECS61H 64-pin QFP (FP-64A) HS2128ECH61H HD6473577 2 HD6433574 H8/3567 Series: Table 1.8 No.
1.3 Operating Voltage and Frequency Specifications Table 1.9 shows the MCU operating voltage and frequency specifications supported by the E6000. Note that some MCUs do not operate at neither a low voltage nor a high frequency. Table 1.9 Operating Voltage and Frequency Specifications No. MCU Types Operating Voltage (V) Operating Frequency Range (f) (MHz) 1 H8S/2148 series H8S/2138 series H8S/2128 series 2.7-4.0 2-10 4.0-4.5 2-16 4.5-5.5 2-20 2 H8S/2149 H8S/2169 2.7-3.
Table 1.10 Clock Selections Clock Command Parameter Configuration Dialog Box Setting 8 10 12 16 20 t t2 8 MHz internal clock 10 MHz internal clock 12.5 MHz internal clock 16 MHz internal clock 20 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. NOTE The system clock (f f) frequency is the same clock frequency input to the XTAL and EXTAL when external clock t is specified.
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 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. Pull-up resistors are connected to the port signals except for the analog port signals.
Default: Figure 2.1 Default User System Interface Circuit Mode Pins (MD1 and MD0) and NMI: The NMI signal is input to the MCU through the emulator control circuit. The rising/falling time of these signals must be 8 ns/V or less. The mode pins are only monitored. The CPU mode depends on the HDI settings. Figure 2.2 User System Interface Circuit for MD1, MD0, and NMI RESET: Figure 2.
AN0 to AN7, DA0, DA1, AVcc, AVss, and Vref: Figure 2.4 User System Interface Circuit for AN0 to AN7, DA0, DA1, AVcc, AVss, and Vref Signals IRQ0IRQ7 and WAIT: The IRQ0 to IRQ7 and WAIT signals are input to the MCU and also to the trace acquiring circuit. Therefore, the rising and falling time of these signals must be within 8 ns/v or shorter. Figure 2.
Section 3 3.1 Notes on Use 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 pull-up resistors.
3.3 Support of Flash Memory The E6000 does not emulate the flash memory in the MCU. 3.4 Hardware Standby When the User Standby enable check box is selected in the Configuration window, the STBY signal on the user system is directly input to the E6000. When the STBY signal is input, the E6000 hardware is initialized and the E6000 stops emulation. In such a case, terminate the HDI and restart the E6000.
Section 4 4.1 HDI Parameters Address Areas Table 4.1 lists the parameters for address areas (Area) that can be specified with HDI command line interface (Breakpoint command etc.) or displayed as trace results. Table 4.1 Address Area Parameters HDI Parameter (Trace Display) Address Area Description rom (ROM) On-chip ROM MCU's on-chip ROM, which can be read but cannot be written to. ram (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 (Breakpoint command etc.) or displayed as trace window results. Table 4.
4.3 I/O Module Selection Table 4.3 lists the I/O modules that can be selected as Custom settings in the HDI command line interface (Modules command). Table 4.
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 (HS2148EPI61H) · 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 (HS2148EPI61SR supplied with the E6000) into 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) >TM2148 ISA (RET) 2. PCI bus interface boad (HS6000EIC01H, HS6000EIC02H) >TM2148 PCI (RET) 3.
It will take about 11 minutes to execute the test program when the host computer using Windows®95 runs at 166 MHz and the PCMCIA interface card is used. The following messages are displayed during the test. Message Description E6000 H8S/2148 EMULATION BOARD Tests Vx.x Hitachi Ltd (1999) SIMM module fitted? (1.None 2.1MB 3. 4MB) 1 Test program start message. Vx.x shows the version number. Enter 1 because the SIMM memory module is not installed in this example. Searching for interface card ........
SIMM No SIMM module inserted Shows whether the SIMM memory board is installed. Downloading firmware ..... Loading the test program. 01) Testing Main Board Register : IDR0 Register.....................OK PAGE Register.....................OK TRACE G/A Register................OK PERFM G/A Register................OK CES GA register ..................OK IDR1 Register.....................OK Shows the check results for the registers in the E6000 (normal completion). 02) Testing Dual-Port RAM : Decode Test .
Decode Test. page range H'000 - H'04f ..........OK Shows the results of decoding test for the trace RAM (last half) in the E6000 (normal completion). Marching Test. page range H'000 - H'04f .........OK Shows the results of step test for the trace RAM (last half) in the E6000 (normal completion). 05) Testing Mapping RAM : Decode Test. page range H'200 - H'27f ........OK Shows the results of decoding test for the mapping RAM in the E6000 (normal completion). Marching Test. page range H'200 - H'27f .....
10) Testing Emulation RAM Hardware Break : Setting up, please wait.. GRD Break ..........................OK Setting up, please wait.. WPT Break ..........................OK Shows the check results for the illegal access break controlling circuits in the E6000 (normal completion). 11) Testing Internal ROM Write-Protect : Setting up, please wait.. Write-Protect ......................OK Shows the check results for the internal ROM writeprotection controlling circuits in the E6000 (normal completion).
16) Testing PERM_GA : Setting up, please wait.. A)Time Measure Test .........................OK B)PERM_POINT TO POINT Time Measure Test .....OK C)PERM_SUBROUTINE Time Measure Test .........OK D)PERM Time Out Bit Test Time Out Test 1............................OK Time Out Test 2............................OK Shows the check results for the performance analysis controlling circuits in the E6000 (nomal completion). 17) Testing Bus Monitor : Setting up, please wait.. A) Register test..........................