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.
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.
User’s Manual H8S/2636, H8S/2638, H8S/2639, H8S/2646, H8S/2282 Series E6000 Emulator HS2646EPI61H Supplementary Information Rev.5.0 2002.
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/2636, H8S/2638, H8S/2639, H8S/2646, and H8S/2282 series E6000 emulator. The H8S/2636, H8S/2638, H8S/2639, H8S/2646, and H8S/2282 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 HD64F2636, and HD64F2646. The E6000 provides a CD-R that contains the Hitachi Debugging Interface (HDI) system program, test program, and the user’s manual.
Contents Section 1 Overview ...........................................................................................1 1.1 1.2 1.3 Environment Conditions.................................................................................................... 1 Supported MCUs and User System Interface Cables ........................................................ 1 Operating Voltage and Frequency Specifications ............................................................. 3 Section 2 User System Interface ..
Figures Figure 2.1 Figure 2.2 Figure 2.3 Figure 2.4 Figure 2.5 Default User System Interface Circuit ...................................................................... 5 User System Interface Circuit for MD2, MD1, MD0, NMI, and WAIT .................. 5 User System Interface Circuit for RESET ................................................................ 5 User System Interface Circuit for PWM1A-H and PWM2A-H Signals ...................
Section 1 Overview The H8S/2636, H8S/2638, H8S/2639, H8S/2646, and H8S/2282 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/2636, H8S/2638, H8S/2639, H8S/2646, and H8S/2282 series. 1.1 Environment Conditions Table 1.
Table 1.3 H8S/2646 Series MCU and User System Interface Cable No. MCU Type Number Package E6000 User System Interface Cables 1 HD64F2646 144-pin QFP (FP-144) HS2646ECH61H HD64F2648R Table 1.4 H8S/2282 Series MCU and User System Interface Cable No.
1.3 Operating Voltage and Frequency Specifications Table 1.5 shows examples of 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.5 Operating Voltage and Frequency Specifications MCU Types Operating Voltage (V) Operating Frequency (φ) (MHz) H8S/2636, H8S/2638, H8S/2639 series 4.
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 OSC1 OSC2 STBY 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.
PWM1A-H, PWM2A-H: Figure 2.4 User System Interface Circuit for PWM1A-H and PWM2A-H Signals AN0-AN11, SEG1-SEG24, COM1-COM4, V1-V3, AVcc, AVss and Vref: Figure 2.
SEG1-SEG24, COM1-COM4: WARNING 1. Always switch OFF the emulator product and user system, before setting the switches. Failure to do so will result in a FIRE HAZARD and will damage the user system and emulator product or will result in PERSONAL INJURY. 2. Before closing the cover of the emulator, be sure to check that no foreign objects such as metal fractions are left inside the emulator station. In the H8S/2646, H8S/2282 series emulator, pins SEG1-SEG40 and COM1-COM4 are also used for ports.
Table 2.1 H8S/2646 Signal Select Switch Settings Switch No.
Table 2.1 H8S/2646 Signal Select Switch Settings (cont) Switch No. Setting to Pin 1 Setting to the Other Pin Notes SW31 PB6 SEG15 Default setting: pin 1 SW32 PB7 SEG16 SW33 PF2 SEG17 SW34 PF4 SEG18 SW35 PF5 SEG19 SW36 PF6 SEG20 SW37 PA4 SEG21 SW38 PA5 SEG22 SW39 PA6 SEG23 SW40 PA7 SEG24 SW41 PA0 COM1 SW42 PA1 COM2 SW43 PA2 COM3 SW44 PA3 COM4 SW45 P24 -* SW46 P26 -* Note: Do not set this pin.
Table 2.2 H8S/2648R Signal Select Switch Settings Switch No.
Table 2.2 H8S/2648R Signal Select Switch Settings (cont) Switch No. Setting to Pin 1 Setting to the Other Pin Notes SW31 PB6 SEG31 Default setting: pin 1 SW32 PB7 SEG32 SW33 PF2 SEG33 SW34 PF4 SEG34 SW35 PF5 SEG35 SW36 PF6 SEG36 SW37 PA4 SEG37 SW38 PA5 SEG38 SW39 PA6 SEG39 SW40 PA7 SEG40 SW41 PA0 COM1 SW42 PA1 COM2 SW43 PA2 COM3 SW44 PA3 COM4 SW45 P24 -* SW46 P26 -* Note: Do not set this pin.
Table 2.3 H8S/2282 Signal Select Switch Settings Switch No.
Table 2.3 H8S/2282 Signal Select Switch Settings (cont) Switch No. Setting to Pin 1 Setting to the Other Pin Notes SW31 PB6 SEG19 Default setting: pin 1 SW32 PB7 SEG20 SW33 PF2 SEG21 SW34 PF4 SEG22 SW35 PF5 SEG23 SW36 PF6 SEG24 SW37 PA4 SEG25 SW38 PA5 SEG26 SW39 PA6 SEG27 SW40 PA7 SEG28 SW41 PA0 COM1 SW42 PA1 COM2 SW43 PA2 COM3 SW44 PA3 COM4 SW45 P24 -* SW46 P26 -* Note: Do not set this pin.
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.
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. An emulator (optional memory) cannot be specified 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 must be set to Internal RAM. 3.4 Support of Flash Memory The E6000 does not emulate the flash memory control operation in the MCU.
3.6 Selecting the Emulation Device WARNING 1. Always switch OFF the emulator product and user system, before setting the switches. Failure to do so will result in a FIRE HAZARD and will damage the user system and emulator product or will result in PERSONAL INJURY. 2. Before closing the cover of the emulator, be sure to check that no foreign objects such as metal fractions are left inside the emulator station.
3.7 Support of the H8S/2639 To emulate the H8S/2639, select H8S/2638. However, note that the following limitation. The H8S/2639 incorporates a subclock divider that divides an input clock into 1/128 and generates φSUB. However, this emulator does not support the division function. Note that 32.768 kHz is always selected as a subclock. 3.8 Support of the H8S/2282 The H8S/2282 incorporates a subclock divider that divides an input clock into 1/128 and generates φSUB.
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.
4.3 I/O Modules Table 4.3 lists the parameters for I/O module selection in the custom setting of the HDI configuration window. Table 4.3 I/O Modules HDI Parameter I/O Module PWM14 MCU's 14-bit PWM. D/A MCU's D/A. TMR2-3 MCU's 8-bit timer (TMR2-3). WDT1 MCU's WDT (WDT1). IIC1 MCU's I2C bus (IIC1). IIC0 MCU's I2C bus (IIC0). IrDA MCU's IrDA. DTC MCU's DTC. TPU3-5 MCU's 16-bit timer pulse unit (TPU3-5). MULT CPU's multiplier. DMAC MCU's DMAC. REFRESH MCU's refresh 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 (HS2646EPI61H) • 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 (HS2646EPI61SR 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 board (HS6000EII01H) > TM2646 –ISA (RET) 2. PCI bus interface board (HS6000EIC01H or HS6000EIC02H) > TM2646 –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 E6000 H8S/2646 EMULATION BOARD Tests Vx.x Hitachi Ltd (1999) SIMM module fitted? (1.None 2.1MB 3. 4MB) 1 Description 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 ........
Emulator Board Information: Main Board ID H'5 SIMM Emulation Board ID H'd Shows the ID number of the middle board of the E6000 (always d). SUB Board ID Shows the ID number of the upper board of the E6000 (always 4). H'4 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................
03) Testing Firmware RAM : Decode Test. page range H'700 - H'71f ..........OK Shows the results of decoding test for the firmware RAM in the E6000 (normal completion). Marching Test. page range H'700 - H'71f ........OK Shows the results of step test for the firmware RAM in the E6000 (normal completion). Downloading firmware ..... Loading the test program. 04) Testing Trace RAM : Decode Test. page range H'000 - H'04f ..........
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 ........OK Shows the results of step test for the mapping RAM in the E6000 (normal completion). 06) Testing Internal ROM and RAM : Setting up, please wait..
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 (normal completion). 17) Testing Bus Monitor : Setting up, please wait.. A) Register test.........................