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.
User’s Manual M30620T-CPE User’s Manual Compact Emulator for M16C/62 Group M16C/62A Rev.1.00 2003.
Keep safety first in your circuit designs! • Renesas Technology Corporation and Renesas Solutions Corporation put 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.
Preface The M30620T-CPE is a compact emulator for the M16C/62 Group M16C/62A of 16-bit microcomputers, which is operated only in the single-chip mode with the real-time trace function. This user's manual mainly describes specifications of the M30620T-CPE and how to set up and operate it. For details on the following products, which are used with the M30620T-CPE, refer to each product's online manual.
Terminology Some specific words used in this user's manual are defined as follows: • Emulator This means the M30620T-CPE (this product). • Emulator system This means an emulator system built around the M30620T-CPE emulator. The M30620T-CPE emulator system is configured with an emulator, host machine and emulator debugger. • Host machine This means a personal computer used to control the emulator.
Contents Chapter 1. Precautions for Safety ...........................................................................................7 1.1 Safety Symbols and Meanings ..............................................................................8 1.2 Declaration Concerning EMC Directive ............................................................. 14 Chapter 2. Usage .................................................................................................................. 15 2.1 Name of Each Part .
Chapter 5. Troubleshooting .................................................................................................. 39 5.1 Troubleshooting Until the Emulator Starts Up ................................................... 40 (1) Troubleshooting When the Emulator Starts Up ....................................... 41 (2) Troubleshooting When Emulator Debugger PD30M Starts Up .............. 42 5.2 Troubleshooting When Using Emulator Debugger PD30M ............................... 43 5.
Chapter 1. Precautions for Safety This chapter describes precautions for using this product safely and properly. For precautions for the emulator debugger, refer to user's manual included with your product. 1.1 Safety Symbols and Meanings ..................................................................................................... 8 WARNING Warning for Installation ............................................................................................... 9 Warning for Use Environment .......
Chapter 1. Precautions for Safety In both the user's manual and on the product itself, several icons are used to insure proper handling of this product and also to prevent injuries to you or other persons, or damage to your properties. This chapter describes the precautions which should be taken in order to use this product safely and properly. Be sure to read this chapter before using this product. 1.
WARNING Warning for Installation: • Do not set this product in water or areas of high humidity. Spilling water or some other liquid into the main unit can cause an unrepairable damage. Warning for Use Environment: • This equipment is to be used in an environment with a maximum ambient temperature of 35°C. Care should be taken that this temperature is not exceeded. CAUTION Caution to Be Taken for Modifying This Product: • Do not disassemble or modify this product.
IMPORTANT Notes on Differences between the Actual MCU and Emulator: • Operations of the emulator differs from those of mask MCUs as listed below. (1) Reset condition Set the time for starting up (0.2 to 0.8 Vcc) 1 µs or less. (2) Data values of RAM and ROM areas at power-on When power is turned on, the RAM and ROM areas of the emulator are defaulted to 04H. (3) Register values when power is turned on When power is turned on, the emulator's register values are defaulted to 0.
IMPORTANT Note on MCU Functions That Cannot Be Used with This Emulator: • The following MCU features cannot be used with this emulator. (1) Debugging cannot be done with this emulator in the memory expansion mode or microprocessor mode. This emulator is specifically designed for use in the single-chip mode. For this reason, debugging is not possible in the memory expansion mode or microprocessor mode.
IMPORTANT Notes on Using this Product for Debugging Other than M16C/62A: • This emulator is equipped with M30622SAFP (M16C/62A Group) as an evaluation MCU and emulates M16C/62A Group MCUs. In some functions of there are differences between the MCUs of M16C/62A Group and the MCUs of other than M16C/62A Group. Therefore when you use this emulator for debugging an MCU of other than M16C/62A Group, be careful about the differences of functions of each MCU.
IMPORTANT Note on Restrictions in Using the Emulator (2/2): • The following restrictions apply to this emulator. (9) Debug command execution during user program execution The real-time aspect of the user program is not guaranteed when debug commands such as dump are executed during user program execution. (10) DMA transfer With this product, the program is stopped by putting the MCU on hold.
1.
Chapter 2. Usage This chapter describes how to operate this product. 2.1 Name of Each Part ...................................................................................................................... 16 (1) System Configuration ........................................................................................................... 16 (2) Name of Each Part of Emulator ............................................................................................ 17 2.2 Starting Up the Emulator ..
Chapter 2. Usage 2.1 Name of Each Part (1) System Configuration Figure 2.1 shows the system configuration for this emulator. Power supply for emulator (option) Power supply for target system (option) Upper part: emulator Lower part: target system Serial interface cable (RS-232C) Host machine (option) Figure 2.
(2) Name of Each Part of Emulator Figure 2.2 shows the name of each part of the emulator. Target status LED LED2: Power of target system (POWER) LED3: Oscillation of XIN/XCIN (CLOCK) LED4: Reset pin of MCU (RESET) LED5: Execution of program (RUN) System reset switch P87/XCIN selection switch (Factory-setting: PORT) J2: Serial interface cable connector J1: Power connector System status LED LED1: State of power of emulator J1: MCU power supply selection jumper (Factory-setting: INT) Figure 2.
(3) System reset switch By pressing the system reset switch, you can initialize the emulator system. Table 2.3 shows the functions of the system reset switch depending on the state of emulator. Table 2.3 Functions of system reset switch State of Emulator Function When the user's program is halted Initializes the emulator and waits for commands from the emulator debugger.
2.2 Starting Up the Emulator The procedure for starting up the emulator is shown in Figure 2.3. For details, refer to each section hereafter. And, when the emulator does not start up normally, refer to "Chapter 5. Troubleshooting" (page 40). Set the MCU power supply selection jumper. Set the P87/XCIN selection switch. Connect the serial interface cable. Connect the power supply for emulator. Connect the target system. Set the switch according to the connection to the target system.
2.3 Emulator Initial Setup Set the MCU power supply selection jumper and the P87/XCIN selection switch of the emulator according to conditions of use. P87/XCIN selection switch (Factory-setting: PORT) MCU power supply selection jumper (Factory-setting: INT) Figure 2.4 Emulator initial setup (1) MCU Power Supply Selection Jumper This is the jumper switch to select power supply to the MCU. As shown in Table 2.4 below, set the switch according to the connection to the target system.
2.4 Connecting the Emulator System How to connect the emulator system is shown in Figure 2.5 below. Connect the serial interface cable to J2 connector to host machine to power supply for emulator Connect the power cable to J1 connector Figure 2.5 Connecting the emulator system (1) Connecting the Serial Interface Cable Connect the serial interface cable (included) to the serial interface connector (J2) and the serial port of the host machine (see Figure 2.5).
2.5 Connecting the Target System (as occasion demands) Connect the LCC probe on the lower board of the emulator to the LCC socket (option) or the pitch converter board (option). Figure 2.8 LCC probe on the lower board of the emulator Some MCU packages need the pitch converter board (option) shown in Figure 2.9. When connecting it, be sure to check the position of No. 1 pin. LCC probe at the lower board of compact emulator 80-pin 100-pin 0.65-mm-pitch 0.65-mm-pitch 0.
2.6 Turning On the Power (1) Checking the Connection of the Emulator System Before turning the power ON, check the connection of the host machine and the emulator main unit. (2) Turning On the Power Power ON the target system and the emulator main unit as simultaneously as possible. CAUTION Notes on Power Supply: • As this emulator cannot supply power to the target system, provide the target system with a separate power supply from that of the emulator. • This emulator consumes max.
(3) LED Display When the Emulator Starts Up Normally After the emulator starts up, check the status of the LEDs to see whether the emulator operation is enabled or not. Target status LED System status LED Figure 2.10 Positions of system status LED and target status LEDs (1) System status LED Check the LED1 of the system status LED is lit immediately after the power is activated. If it is not lit, shut off the power for the emulator and check the power supply for the emulator is properly connected.
2.7 Starting Up Emulator Debugger PD30M After checking the emulator has started up normally, start up emulator debugger PD30M. For starting up emulator debugger, follow the steps below. Click the start button of Windows. And select Program (P) -> [RENESAS-TOOL] -> [PD30M V.1.10 Release 1*] -> [PD30M]. * Varies depending on the version of the emulator debugger. 2.
2.9 When Emulator Debugger PD30M Starts Up Normally Figure 2.14 shows the window display when PD30M starts up normally. If an error has been detected and PD30M has not started up, refer to "5.1 Troubleshooting Until the Emulator Starts Up" (page 40). Figure 2.
Chapter 3. Changing the Settings This chapter describes how to change the setting of this product. 3.1 Using the Emulator without the Target System ......................................................................... 28 3.2 Using the Emulator with the Target System............................................................................... 28 3.3 Using the P87/XCIN Pin as a Port ................................................................................................. 28 3.
Chapter 3. Changing the Settings 3.1 Using the Emulator without the Target System How to use the emulator without the target system is shown below. (1) Set the "MCU power supply selection jumper" to INT side (see page 20). When using the emulator without the target system, set the "MCU power supply selection jumper" to INT side. The target MCU operates with 3.3 V of power supply voltage supplied from the emulator. 3.
3.5 Selecting Clock Supply There are two ways to supply a clock to the MCU, using the oscillator circuit of the emulator or using the oscillator circuit on the target system. Table 3.1 lists the factory-settings of each clock supply. Table 3.
(2) Using the Oscillator Circuit on the Target System To operate the compact emulator with the oscillator circuit on the target system, construct the oscillator circuit as shown in Figure 3.1 in the target system and input the oscillator output at 50% duty (within the operating range of the evaluation MCU) into the XIN pin. And the XOUT pin should be open. It is same for sub-clock oscillator (XCIN and XCOUT). Figure 3.
(3) Changing the Internal Oscillator Circuit of Emulator A ceramic oscillator circuit for 10 MHz is mounted on this product as a oscillator of a main clock oscillator circuit when shipped from factory. It is possible to change it to the oscillator circuit board for 16 MHz (included). How to replace it is shown below. Be sure to read IMPORTANT below before replacing it.
(3) Remove the oscillator Figure 3.4 shows the position of the oscillator for the main clock. Remove the oscillator using a soldering iron. Be careful not to break the other part. Oscillator for main clock Figure 3.4 Position of oscillator for main clock (bottom view after removing target connection board) Figure 3.5 Removing an oscillator (4) Connecting the Oscillator Solder the included 16MHz oscillator in the place of the older oscillator (see Figure 3.4).
Chapter 4. Specifications This chapter describes specifications of this product. 4.1 Specifications ............................................................................................................................. 34 4.2 Memory Map .............................................................................................................................. 35 4.3 Electrical Characteristics .........................................................................................................
Chapter 4. Specifications 4.1 Specifications Table 4.1 lists the specifications of M30620T-CPE. Table 4.1 Specifications of M30620T-CPE Applicable MCUs* M16C/62 Group M16C/62A Usable mode Single-chip mode Evaluation MCU M30622SAFP Internal emulation memory For internal RAM area: 20 KB For internal ROM area: 256 KB Clock supply Maximum operating frequency Main clock (XIN) Clock mounted on emulator (10 MHz: pre-mounted) Switchable to external oscillator input.
4.2 Memory Map Figure 4.1 shows memory maps when using the emulator. For the memory map of the actual MCU, refer to the user's manual of your MCU. Make note of the fact that the memory map of the actual MCU differ from that of emulator. Do not access to the area noted "Do Not Access" in the memory map when using the emulator. Otherwise, the emulator may malfunction. Actual MCU (in single-chip mode) 00000 16 003FF 16 00400 16 When using emulator 00000 16 SFR area Internal RAM area (max.
4.3 Electrical Characteristics Tables 4.2 lists IC electrical characteristics of the user interface. Table 4.2 Electrical characteristics of M60081L-0142FP (P00 to P57) Symbol Standard values Parameter Condition VIL Min. Standard Max. VCC = 4.5 V 0 1.35 VCC = 5.5 V 3.85 5.5 V Input voltage VIH VOH VOL Output voltage IOL Output current V VCC = 4.5 V VOL = 0.4 V 8 mA IIL VCC = 5.5 V VI = 0 V IIH IOZL OFF state output leak current IOZH -8 mA -1 +1 µA VCC = 5.5 V VI = 5.
4.4 Connection Diagram Figure 4.2 shows the connection diagram of M30620T-CPE. This connection diagram mainly shows the interface section, and the circuits which are not connected to the target system such as the emulator's control system are omitted. ** : These signals are connected to an MCU via the internal circuit of the emulator. * : These signals are connected to the internal circuit of the emulator. Figure 4.
4.5 External Dimensions of the Emulator Figure 4.3 shows external dimensions of the emulator. Unit: [mm] Figure 4.
Chapter 5. Troubleshooting This chapter describes how to troubleshoot when this product does not work properly. 5.1 Troubleshooting Until the Emulator Starts Up ........................................................................... 40 (1) Troubleshooting When the Emulator Starts Up .................................................................... 41 (2) Troubleshooting When Emulator Debugger PD30M Starts Up ........................................... 42 5.
Chapter 5. Troubleshooting 5.1 Troubleshooting Until the Emulator Starts Up Figure 5.1 shows the flowchart to remedy the troubles from when power to the emulator is activated until the emulator debugger starts up.
(1) Troubleshooting When the Emulator Starts Up Tables 5.1 and 5.2 list how to remedy the troubles when the target LED of the emulator display is abnormal after powering on the emulator. When the error is detected, shut off the power of the emulator and the target system and follow the steps in tables 5.1 and 5.2. Then, reactivate the power of the emulator and the target system. Table 5.
Table 5.2 Error display and how to remedy it when starting up the emulator (2/2) LED display Connection to the target system : OFF : Blinking POWER CLOCK RESET RUN POWER CLOCK RESET RUN POWER CLOCK RESET RUN POWER CLOCK RESET RUN POWER CLOCK RESET RUN POWER CLOCK RESET RUN POWER CLOCK RESET RUN POWER CLOCK RESET RUN POWER CLOCK RESET RUN Checkpoint Emulator does not work properly. - - The emulator may be damaged. Report LED status to your local distributor.
5.2 Troubleshooting When Using Emulator Debugger PD30M When PD30M has started up normally, however, errors occurred while using it, remedy the troubles referring Table 5.4. Table 5.4 Error message and how to remedy it when using PD30M Error message Connection to the target system Target MCU is not given clock. Please reset target systems. Connected - If an external clock is being supplied, check the target system's oscillation circuit works properly. Also, if using the sub-clock, see "3.
5.3 When the Operation of the Emulator is Abnormal Self-check is a function to check the memory etc. mounted in the emulator. Self-check is executed when the emulator starts up, and detailed check is executed by following the procedure below. For this self-check, be sure to disconnect the target system. (1) Self-check Procedure in the Self-check Mode POWER CLOCK RESET RUN LED2 LED3 LED4 LED5 POWER CLOCK RESET RUN (1) Within 2 seconds of activating power to the emulator, press the RESET switch.
(2) If an Error is Detected in Self-checks Table 5.5 lists how to remedy the troubles if the target status LED display is abnormal in self-checks. When an error is detected, shut off the power of the emulator and the target system and follow the steps in the Table 5.5. Then, reactivate the power of the emulator and the target system. Table 5.5 Error display in self-checks and how to remedy it LED display : OFF Checkpoint : Blinking POWER CLOCK RESET RUN Emulator does not work properly.
MEMO ( 46 / 52 )
Chapter 6. Maintenance and Guarantee This chapter describes how to maintenance, repair provisions and how to request for repair. 6.1 Maintenance ............................................................................................................................... 48 6.2 Guarantee .................................................................................................................................... 48 6.3 Repair Provisions...............................................................
Chapter 6. Maintenance and Guarantee 6.1 Maintenance If dust or dirt collects on any equipment of your emulation system, wipe it off with a dry soft cloth. Do not use thinner or other solvents because these chemicals can cause the equipment's surface coating to separate. 6.
6.4 How to Request for Repair If your product is found faulty, follow the procedure below to send your product for repair. Customer Fill in the Repair Request Sheet included with this product, then send it along with this product for repair to your local distributor. Make sure that information in the Repair Request Sheet is written in as much detail as possible to facilitate repair.
MEMO ( 50 / 52 )
M30620T-CPE User's Manual Rev.1.
M30620T-CPE User’s Manual 1753, Shimonumabe, Nakahara-ku, Kawasaki-shi, Kanagawa 211-8668 Japan REJ10J0270-0100Z