Renesas Emulation Pod for M16C/80 Group MCUs M30803T-RPD-E User Manual
Renesas Emulation Pod for M16C/80 Group MCUs M30803T-RPD-E User Manual

Renesas Emulation Pod for M16C/80 Group MCUs M30803T-RPD-E User Manual

Emulation pod for m16c/80 group mcus
Table of Contents

Advertisement

Quick Links

To our customers,
st
On April 1
, 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.
Issued by: Renesas Electronics Corporation (http://www.renesas.com)
Send any inquiries to http://www.renesas.com/inquiry.
Old Company Name in Catalogs and Other Documents
Renesas Electronics website:
http://www.renesas.com
st
April 1
, 2010
Renesas Electronics Corporation

Advertisement

Table of Contents
loading

Summary of Contents for Renesas Emulation Pod for M16C/80 Group MCUs M30803T-RPD-E

  • Page 1 On April 1 , 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.
  • 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 M30803T-RPD-E User’s Manual Emulation Pod for M16C/80 Group MCUs Rev.1.00 2003.07...
  • Page 4 • These materials are intended as a reference to assist our customers in the selection of the Renesas Technology product best suited to the customer's application; they do not convey any license under any intellectual property rights, or any other rights, belonging to Renesas Technology Corporation, Renesas Solutions Corporation or a third party.
  • Page 5: Precautions For Safety

    Preface The M30803T-RPD-E is an emulation pod for the M16C/80 Group of Renesas 16-bit MCUs. It's used with a PC4701 emulator. This user's manual mainly describes specifications of the M30803T-RPD-E emulation pod and how to setup it. For details on the following products, which are used with M30803T-RPD-E, refer to each product's user's manual.
  • Page 6: Table Of Contents

    Contents Chapter 1. Precautions for Safety ... 7 1.1 Safety Symbols and Meanings ... 8 Chapter 2. Preparation ... 17 2.1 Terminology ... 18 2.2 Package Components ... 19 2.3 Other Tool Products Required for Development ... 19 2.4 Name of Each Part ... 20 2.5 When Using the Emulator for the First Time ...
  • Page 7 4.4 Self-check ... 53 (1) Self-check Procedure ... 53 (2) If an Error is Detected in the Self-check ... 53 Chapter 5. Specifications ...55 5.1 Specifications ... 56 5.2 Connection Diagram ... 57 5.3 Operation Timing in Memory Expansion Mode and Microprocessor Mode ...59 (1) Timing Requirements ...
  • Page 8 MEMO ( 6 / 74 )
  • Page 9: Chapter 1. Precautions For Safety

    Chapter 1. Precautions for Safety This chapter describes precautions for using this product safely and properly. For precautions for the emulator main unit and the emulator debugger, refer to each user's manual included with your product. 1.1 Safety Symbols and Meanings ... 8 Warning for Installation ...
  • Page 10: Safety Symbols And Meanings

    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.
  • Page 11: Warnings For Use Environment

    Warning for Installation: • Do not set this product in water or areas of high humidity. Make sure that the main unit does not get wet. Spilling water or some other liquid into the main unit can cause an unrepairable damage. Warnings for Use Environment: •...
  • Page 12: Notes On Downloading Firmware

    Notes on Downloading Firmware: • Before using this product for the first time, it is necessary to download the dedicated firmware (control software for the emulation pod built into the PC4701). Please note that, to do this, it is necessary to start up the PC4701 in maintenance mode. For firmware download procedures, see "4.2 Downloading Firmware"...
  • Page 13: Note On Rdy* Input

    Note on RDY* Input: • Be sure to input "L" to the RDY* pin of the target system during the user program executing (only while the RUN status LED on the PC4701's front panel is lit). Inputting "L" to the RDY* pin during the user program stopping may cause a malfunction of the emulator.
  • Page 14: Notes On Stack Area

    Notes on Stack Area: • With this product, a maximum 20 bytes of the user stack is consumed as work area. • If the user stack does not have enough area, do not use areas which cannot be used as stack (SFR area, RAM area which stores data, or ROM area) as work area.
  • Page 15: Notes On Emem Dialog

    Notes on EMEM Dialog: Observe the following when setting up EMEM dialog of the emulator debugger. (1) Debug Monitor Bank Address • When "F0" is specified, 64 KB of area starting from F00000h are allocated for use by the debug monitor.
  • Page 16: Note On Differences Between Actual Mcu And Emulator

    Note on Differences between Actual MCU and Emulator: • Operations of the emulator differs from those of mask MCUs as listed below. (1) Reset condition (2) Initial values of internal resource data at power-on (3) Interrupt stack pointer (ISP) after releasing reset (4) Internal memories (ROM and RAM) capacities, etc.
  • Page 17: Notes On A-D Input Selection Function

    Notes on A-D Input Selection Function: • To use A-D input group selection, it is necessary to set the direction register of port P10 to input. Port 10 corresponds to the pin that performs A-D conversion. Example: To select A-D input for P00-P07, set the direction register of P100-P107 and P00-P07 Also, when the port P0 group and port P2 group are selected for A-D input, port P10 cannot be used as an I/O port.
  • Page 18 MEMO ( 16 / 74 )
  • Page 19: Chapter 2. Preparation

    This chapter describes the package components, the system configuration and the preparation for using this product for the first time. 2.1 Terminology ... 18 2.2 Package Components... 19 2.3 Other Tool Products Required for Development... 19 2.4 Name of Each Part ... 20 (1) System Configuration ...
  • Page 20: Terminology

    Emulator main unit (Hereafter PC4701) This means a generic name for emulators for 8 and 16-bit MCUs. For details on specific models of PC4701, visit Renesas Tools Homepage. Emulation pod This means the M30803T-RPD-E (this product). This emulation pod is for M16C/80 Group MCUs.
  • Page 21: Package Components

    2.2 Package Components The M30803T-RPD-E package consists of the following items. When unpacking, check to see if your M30803T-RPD-E contains all of these items. Table 2.1 Package components M30803T-RPD-E emulation pod main unit FLX120-RPD flexible cable for connecting emulator main unit FLX160-PRB converter board for connecting FLX160 to M30800T-PTC (mounted on FLX160) M30800T-PTC converter board for 100-pin LCC package...
  • Page 22: Name Of Each Part

    2.4 Name of Each Part (1) System Configuration Figure 2.1 System configuration (1) to (4) in Figure 2.1 are included in this product package. (1) Emulation pod (M30803T-RPD-E) This emulation pod contains an evaluation MCU, emulation memory and circuit to feature the debugging function.
  • Page 23: Inside Of Emulation Pod

    (2) Inside of Emulation Pod Figure 2.2 Internal view of emulation pod (1) Base board Base board for the M16C/80 Group MCUs which controls the interface with the PC4701 and the evaluation MCU. (2) Memory board Board on which the 1.5MB emulation memory is mounted. (3) Oscillation circuit board Board on which the internal oscillation circuit of the emulation pod is mounted.
  • Page 24: When Using The Emulator For The First Time

    2.5 When Using the Emulator for the First Time If you have purchased this emulation pod newly, it is necessary to download the firmware. The download procedure is given in Figure 2.3. Before attempting to download the firmware, check the emulator debugger is installed and the emulator is connected to the host machine.
  • Page 25: Chapter 3. Setting Up

    This chapter describes switch settings required for using this product and how to connect this product to the PC4701 and the target system. 3.1 Removing the Upper Cover ... 24 3.2 Switch Settings ... 25 3.3 Selecting Clock Supply ... 29 (1) Using the Oscillator Circuit on the Target System ...
  • Page 26: Removing The Upper Cover

    Chapter 3. Setting Up To use this emulation pod with your application system, it is necessary to set as follows. Set the following after removing the upper cover. • Change the oscillation frequency. • Set the X • Set the signals such as HOLD/RDY to control the external device. •...
  • Page 27: Switch Settings

    3.2 Switch Settings Figure 3.2 shows the positions of switches and Tables 3.1, 3.2 and 3.3 show each switch setting. Figure 3.2 Positions of switches and their factory-settings ( 25 / 74 )
  • Page 28 Table 3.1 Switch settings of the M30803T-RPD-E (1/3) Signal Switch P87/X P86/X COUT RDY*/ HOLD* Setting Connects the P87/X system (uses the P87/X Connects the P87/X oscillator circuit (32.768 kHz) on the emulation pod. Connects the P86/X system (uses the P86/X P86/X pin of MCU is unconnected.
  • Page 29 Table 3.2 Switch settings of the M30803T-RPD-E (2/3) Signal Switch BYTE A-D input Select group Setting Pulls down the CNV kΩ (when target system is unconnected and using in single-chip mode or memory expansion mode). Be sure to set this when using the emulation pod while not connecting the target system.
  • Page 30 Table 3.3 Switch settings of the M30803T-RPD-E (3/3) Signal Switch Voltage M30803T-RPDM Board Note on Switch Setting: • Switch settings of RDY*/HOLD*, CNVss and BYTE are provided to enable debugging without connecting to the target system. When using the emulator debugger in connection with the target system, set SW4 to the OPEN position and SW5 and SW6 to the center position.
  • Page 31: Selecting Clock Supply

    3.3 Selecting Clock Supply There are two ways to supply a clock to the MCU, using the oscillator circuit of the emulation pod or using the oscillator circuit on the target system. Table 3.4 shows the factory-settings of each clock supply.
  • Page 32: Using The Oscillator Circuit On The Target System

    (1) Using the Oscillator Circuit on the Target System When turning on the power supply, the internal clock of emulation pod is selected to supply the clock to the MCU. To use the external clock on the target system, change the clock by the CLK command or the Init dialog on the emulator debugger.
  • Page 33: Changing The Internal Oscillator Circuit Of Emulation Pod

    (2) Changing the Internal Oscillator Circuit of Emulation Pod An oscillator circuit board (OSC-3) for 20 MHz is mounted on this product. To use the emulation pod at a frequency other than 20 MHz, build the desired oscillator circuit on the included OSC-2 oscillator circuit board (bare board) and replace the board installed in the emulation pod when shipped from the factory.
  • Page 34: Replacing The Oscillator Circuit Boards

    (3) Replacing the Oscillator Circuit Boards Figure 3.7 shows how to replace the oscillator circuit boards. For the position of the oscillator circuit board, see Figure 2.2. Figure 3.7 Replacing the oscillator circuit boards (1) Unscrew the screw connecting the oscillator circuit board. (2) Lift off the oscillator circuit board.
  • Page 35: A-D Conversion Bypass Capacitor

    3.4 A-D Conversion Bypass Capacitor The emulation pod has foot patterns on the board for mounting a bypass capacitor. Mount a suitable bypass capacitor as occasion demands. Figure 3.2 shows where the bypass capacitors are mounted, whereas Figure 3.8 shows an enlargement of the foot patterns.
  • Page 36: Connecting The Pc4701 And Emulation Pod

    3.5 Connecting the PC4701 and Emulation Pod To connect the emulation pod to the PC4701, use the FLX120-RPD 120-pin flexible cable included in this product package. Connect the PC4701 side connector of FLX120-RPD to the cable connector of the PC4701, then secure with screws. (1) Connecting the Cable to the PC4701 Figure 3.9 shows how to connect the PC4701 and FLX120-RPD.
  • Page 37: Connecting The Cable To The Emulation Pod

    (2) Connecting the Cable to the Emulation Pod Figure 3.10 shows how to connect the FLX120-RPD and the emulation pod. Figure 3.10 Connecting emulation pod and FLX120-RPD Note on Connecting the Cable: • Always shut OFF power before connecting the cable. The power ON state could destroy internal circuits.
  • Page 38: Connecting The Target System

    3.6 Connecting the Target System There are seven ways available to connect the emulation pod to target systems as shown in Figure 3.11. Figure 3.11 Connecting emulation pod and target systems CAUTION Note on Connecting the Target System: • Take care not to attach the converter board in a wrong direction. It may cause a fatal damage to the emulation pod.
  • Page 39: Connecting 100-Pin Lcc Socket

    (1) Connecting 100-pin LCC Socket When connecting the emulation pod probe to the 100-pin LCC socket (Yamaichi Electronics Co., Ltd.: IC51-1004-051 etc.) on the target system, following the procedure below. (1) Attach the CN2 side of the FLX160-PRB to the CN2 side of the M30800T-PTC. (2) Attach the M30800T-PTC to the 100-pin LCC socket.
  • Page 40: Connecting 100-Pin 0.65-Mm-Pitch Foot Pattern (Part 1)

    (2) Connecting 100-pin 0.65-mm-pitch Foot Pattern (Part 1) Figure 3.13 shows how to connect the emulation pod probe to the 100-pin 0.65-mm-pitch foot pattern on the target system with the DUMMY100S (not included), and here following is its procedure. For details on the 100LCC-DMS and DUMMY100S, refer to each user's manual.
  • Page 41: Connecting 100-Pin 0.65-Mm-Pitch Foot Pattern (Part 2)

    (3) Connecting 100-pin 0.65-mm-pitch Foot Pattern (Part 2) Figure 3.14 shows how to connect the emulation pod probe to the 100-pin 0.65-mm-pitch foot pattern on the target system with the DIRECT100S (not included), and here following is its procedure. For details on the 100LCC-DMS and DIRECT100S, refer to each user's manual.
  • Page 42: Connecting 100-Pin 0.65-Mm-Pitch Foot Pattern (Part 3)

    (4) Connecting 100-pin 0.65-mm-pitch Foot Pattern (Part 3) Figure 3.15 shows how to connect the emulation pod probe to the 100-pin 0.65-mm-pitch foot pattern on the target system with the FLX-100NRB (not included), and here following is its procedure. For details on the 100LCC-DMS and FLX-100NRB, refer to each user's manual.
  • Page 43: Connecting 100-Pin 0.5-Mm-Pitch Foot Pattern (Part 1)

    (5) Connecting 100-pin 0.5-mm-pitch Foot Pattern (Part 1) Figure 3.16 shows how to connect the emulation pod probe to the 100-pin 0.5-mm-pitch foot pattern on the target system with the 100LCC-QSD (not included), and here following is its procedure. For details on the 100LCC-QSD, refer to its user's manual.
  • Page 44: Connecting 100-Pin 0.5-Mm-Pitch Foot Pattern (Part 2)

    (6) Connecting 100-pin 0.5-mm-pitch Foot Pattern (Part 2) Figure 3.17 shows how to connect the emulation pod probe to the 100-pin 0.5-mm-pitch foot pattern on the target system with the FLX-100NSD (not included), and here following is its procedure. For details on the 100LCC-DMS and FLX-100NSD, refer to each user's manual.
  • Page 45: Connecting 144-Pin 0.5-Mm-Pitch Foot Pattern

    (7) Connecting 144-pin 0.5-mm-pitch Foot Pattern Figure 3.18 shows how to connect the emulation pod probe to the 144-pin 0.5-mm-pitch foot pattern on the target system with the FLX-144NSD (not included), and here following is its procedure. (1) Attach the NQPACK144SD (NQPACK, hereafter) included with the FLX-144NSD to the target system.
  • Page 46 MEMO ( 44 / 74 )
  • Page 47: Chapter 4. Usage

    This chapter describes from turning on the power of this product to starting up the emulator debugger. 4.1 Turning On the Power Supply ... 46 (1) Checking the Connection of the System ... 46 (2) Turning On the Power Supply ... 46 (3) LED Display When PC4701 Starts Up Normally ...
  • Page 48: Turning On The Power Supply

    Chapter 4. Usage 4.1 Turning On the Power Supply (1) Checking the Connection of the System Before turning the power ON, check the connection of the PC4701, emulation pod, converter board and target system. (2) Turning On the Power Supply Power ON/OFF the target system and the PC4701 as simultaneously as possible.
  • Page 49: Led Display When Pc4701 Starts Up Normally

    (3) LED Display When PC4701 Starts Up Normally After the emulator starts up, check the status of the LEDs on the front panel to see whether emulation pod operation is enabled or not. Figure 4.1 shows front panel LED lighting status when the emulator is turned ON.
  • Page 50: Downloading Firmware

    4.2 Downloading Firmware (1) When It is Necessary to Download Firmware It is necessary to download firmware when: (1) you use this product for the first time (2) the firmware is upgraded (3) the emulator debugger is upgraded (4) use this product with the PC4701 which was used with other emulation pod before (2) Downloading Firmware in Maintenance Mode Download the firmware in maintenance mode as explained here following.
  • Page 51: Starting Up The Emulator Debugger (Setting Emem Dialog)

    4.3 Starting Up the Emulator Debugger (Setting EMEM Dialog) The EMEM dialog will appear after setting the Init dialog by starting up the emulator debugger or completing downloading the firmware. Here explains how to set the processor mode of the target MCU, allocate the emulation memory and set the emulator work area.
  • Page 52: Selecting The Processor Mode

    (2) Selecting the Processor Mode Here explains about the setting of processor mode. Selectable modes are listed in Table 4.1. Table 4.1 Selecting the processor mode Processor mode Single-chip mode Memory expansion mode Memory Expansion Mode Microprocessor mode Notes on Selecting the Processor Mode: •...
  • Page 53 (2) Specifying area size (Length): Specify the size of the specified expansion area. The area from (3) Specifying area map (Map): • When INTERNAL is specified: This bank is allocated as internal area and used for expan- • When EXTERNAL is specified: This bank is allocated as external area and used by the target •...
  • Page 54: Referring Mcu Status

    Table 4.3 Specifications of expansion emulation memory Maximum operating frequency Number of area which can be set Area size Emulation memory size Possible bank to be set Possible combination of areas Note on Memory Access: • When setting the processor mode to the memory expansion mode, it may be changed to the memory expansion mode temporarily before the user program itself changes from the single-chip mode to the memory expansion mode.
  • Page 55: Self-Check

    4.4 Self-check (1) Self-check Procedure To run the emulator self-check, do so as explained here below. While the self-check is in progress, LEDs will change as shown in Figure 4.5. (1) Set the switches in the emulation pod same as the factory setting (see Figure 4.4). (2) When the target system is connected, disconnect the target system.
  • Page 56 Figure 4.5 Self-check procedure ( 54 / 74 )
  • Page 57: Chapter 5. Specifications

    Chapter 5. Specifications This chapter describes specifications of this product. 5.1 Specifications ... 56 5.2 Connection Diagram ... 57 5.3 Operation Timing in Memory Expansion Mode and Microprocessor Mode ... 59 (1) Timing Requirements ... 59 5.4 Electrical Characteristics ... 59 5.5 External Dimensions ...
  • Page 58: Specifications

    Chapter 5. Specifications 5.1 Specifications Table 5.1 lists the specifications of the M30803T-RPD-E. Table 5.1 Specifications of the M30803T-RPD-E Emulator Applicable MCUs Evaluation MCU Usable modes Emulation memory Maximum operating frequency Clock oscillator Operating frequency Operating temperature Storage temperature Power supply to emulation pod Connection to target system (see 3.6 "Connecting the Target System"...
  • Page 59: Connection Diagram

    5.2 Connection Diagram Figures 5.1 and 5.2 show the connection diagram of the M30803T-RPD-E. 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. Figure 5.1 Connection diagram 1/2 ( 57 / 74 )
  • Page 60 Figure 5.2 Connection diagram 2/2 ( 58 / 74 )
  • Page 61: Operation Timing In Memory Expansion Mode And Microprocessor Mode

    5.3 Operation Timing in Memory Expansion Mode and Microprocessor Mode As there are a flexible cable and other devices between this product and the target system, I/O timing will differ from that of the actual MCU. Use the following as a reference when using the emulation pod. (1) The output signal (address, RD*, WR*, etc.) of the evaluation MCU mounted on this product is output delayed by about 4 ns.
  • Page 62: External Dimensions

    5.5 External Dimensions (1) External Dimensions of Emulation Pod Unit: mm Figure 5.3 External dimensions of emulation pod ( 60 / 74 )
  • Page 63: External Dimensions Of Converter Board (M30800T-Ptc)

    (2) External Dimensions of Converter Board (M30800T-PTC) Figure 5.4 shows the external dimensions of the converter board M30800T-PTC for 100-pin QFP (100P6N). Unit: mm Figure 5.4 External dimensions of converter board (M30800T-PTC) ( 61 / 74 )
  • Page 64: External Dimensions Of Converter Board (Flx-144Nsd)

    (3) External Dimensions of Converter Board (FLX-144NSD) Figure 5.5 shows the external dimensions and the foot pattern of the converter board FLX-144NSD for 144-pin LQFP (144P6Q). Unit: mm Figure 5.5 External dimensions of converter board (FLX-144NSD) ( 62 / 74 )
  • Page 65: Chapter 6. Troubleshooting

    Chapter 6. Troubleshooting This chapter describes how to troubleshoot when this product does not work properly. 6.1 Flowchart to Remedy the Troubles ... 64 6.2 When the Emulator Debugger Does Not Start Up Properly... 65 (1) When the LED Display of PC4701 is Abnormal ... 65 (2) EMEM Dialog is Not Displayed When the Emulator Debugger Starts Up (When the target system is connected) ...
  • Page 66: Flowchart To Remedy The Troubles

    Figure 6.1 shows the flowchart to remedy the troubles from when power to the emulator is activated until the emulator debugger starts up. Check this while the target system is disconnected. For the latest FAQs visit the following URL. http://www.renesas.com/en/tools Turning on the power of PC4701 EMEM dialog box of emulator Program window of emulator debugger displayed Figure 6.1 Flowchart to remedy the troubles...
  • Page 67: When The Emulator Debugger Does Not Start Up Properly

    6.2 When the Emulator Debugger Does Not Start Up Properly (1) When the LED Display of PC4701 is Abnormal Table 6.1 LED's abnormal display and its checkpoints Error LEDs do not light up. All LEDs remain lit. The POWER LED of "STATUS OF TARGET"...
  • Page 68: (When The Target System Is Connected)

    (2) EMEM Dialog is Not Displayed When the Emulator Debugger Starts Up (When the target system is connected) Table 6.2 Checkpoints of errors when starting up the emulator debugger (target is connected) Error Communication error occurred. Data was not sent to the target. Target system cannot be properly built.
  • Page 69: (When The Target System Is Not Connected)

    (3) EMEM Dialog is Not Displayed When the Emulator Debugger Starts Up (When the target system is not connected) Table 6.3 Checkpoints of errors when starting up the emulator debugger (target is not connected) Communication error occurred. Data was not sent to the target. Target system cannot be properly built.
  • Page 70 MEMO ( 68 / 74 )
  • Page 71: Chapter 7. Maintenance And Guarantee

    Chapter 7. Maintenance and Guarantee This chapter describes how to maintenance, repair provisions and how to request for repair. 7.1 Maintenance ... 70 7.2 Guarantee ... 70 7.3 Repair Provisions... 70 7.4 How to Request for Repair ... 71 ( 69 / 74 )
  • Page 72: Maintenance

    Chapter 7. Maintenance and Guarantee 7.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.
  • Page 73: How To Request For Repair

    After checking the contents of fault, the distributor should please send the faulty product along with the Repair Request Sheet to Renesas Solutions Corp. When the faulty product is repaired, it will be returned to the customer at the earliest convenience.
  • Page 74 MEMO ( 72 / 74 )
  • Page 75 M30803T-RPD-E User's Manual Rev. 1.00 July 1, 2003 REJ10J0197-0100Z COPYRIGHT ©2003 RENESAS TECHNOLOGY CORPORATION AND RENESAS SOLUTIONS CORPORATION ALL RIGHTS RESERVED...
  • Page 76 M30803T-RPD-E User’s Manual 1753, Shimonumabe, Nakahara-ku, Kawasaki-shi, Kanagawa 211-8668 Japan REJ10J0197-0100Z...

Table of Contents