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.
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.
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 ...
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 ...
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.
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: •...
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"...
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.
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.
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.
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.
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.
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 ...
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.
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...
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.
(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.
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.
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 ...
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. •...
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.
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.
(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.
(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.
(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.
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.
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.
(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.
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.
(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.
(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.
(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.
(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.
(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.
(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.
(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.
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 ...
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.
(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.
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.
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.
(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 •...
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.
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.
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"...
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 )
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.
(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 )
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) ...
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...
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"...
(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.
(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.
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 )
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.
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.