M30240T-RPD-E Emulation Pod for M30240 Group MCUs User's Manual Rev.1.
• IC61-080-079, IC61-080-081 and IC61-0804-046 are products of Yamaichi Electronics Co., Ltd. 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 M30240T-RPD-E is an emulation pod for the M30240 Group of 16-bit microcomputers. It's used with a PC4701 emulator. This user's manual mainly describes specifications of the M30240T-RPD-E emulation pod and how to setup it. For details on the following products, which are used with M30240T-RPD-E, refer to each product's user's manual. • Emulator: • Emulator debugger: PC4701M/PC4701HS/PC4701L User's Manual M3T-PD30 User's Manual All the components of this product are shown in "2.
Contents Chapter 1. Precautions for Safety ........................................................................................... 7 1.1 Safety Symbols and Meanings .............................................................................. 8 Chapter 2. Preparation .......................................................................................................... 15 2.1 Terminology ........................................................................................................ 16 2.
Chapter 5. Specifications ...................................................................................................... 41 5.1 Specifications ...................................................................................................... 42 5.2 Connection Diagram ........................................................................................... 43 (1) Connection Diagram of M30240T-RPD-E .............................................. 43 5.3 External Dimensions .......................
MEMO ( 6 / 58 )
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 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. 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. Warnings for Use Environment: • The emulation pod is air-cooled with the ventilation slot. Therefore, do not block the ventilation slot. When heated to high temperatures, the emulation pod may not work properly. • This equipment is to be used in an environment with a maximum ambient temperature of 35°C.
IMPORTANT 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 the maintenance mode. For firmware download procedures, see "4.2 Downloading Firmware" (page 38). Once the firmware has been downloaded, the product can be used by simply turning on the power.
IMPORTANT Notes on Stack Area: • With this product, a maximum 8 bytes of the user stack is consumed as a 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. Using areas like this is a cause of user program crashes and destabilized emulator control. Therefore, ensure the +8 bytes maximum capacity used by the user program as the user stack area.
IMPORTANT Notes on Address Match Interrupt: • Do not set software breaks at the same addresses as address-match interrupts as the program may run out of control. • Do not set a hardware break within 4 instructions before an address at which an address-match interrupt occurs. If you do set a hardware break in this range, the program will run out of control.
IMPORTANT Note on Differences between Actual MCU and Emulator: • Operations of the emulator differs from those of actual MCUs as listed below. (1) Data values of internal resources of MCU at power-on (2) Internal memories (RAM and ROM) capacities etc.
MEMO ( 14 / 58 )
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 ............................................................................................................................... 16 2.2 Package Components.................................................................................................................. 17 2.3 Other Tool Products Required for Development.................
Chapter 2. Preparation 2.1 Terminology Some specific words used in this user's manual are defined as follows: Emulator system This means an emulator system built around the PC4701 emulator. The PC4701 emulator system is configured with an emulator main unit, emulation pod, host machine and emulator debugger. Emulator main unit (Hereafter PC4701) This means a generic name for PC4701M, PC4701HS and PC4701L emulators for 8 and 16-bit MCUs. Emulation pod This means M30240T-RPD-E (this product).
2.2 Package Components The M30240T-RPD-E package consists of the following items. When unpacking, check to see if your package contains all of these items. Item Quantity M30240T-RPD-E emulation pod main unit 1 FLX120-RPD flexible cable for connecting PC4701 1 FLX-80LCC pitch converter board for 80-pin 0.
2.4 Name of Each Part (1) System Configuration Figure 2.1 System configuration (1) to (4) in Figure 2.1 are included with this product package. (1) Emulation pod (M30240T-RPD-E) This emulation pod contains an evaluation MCU, emulation memory and circuit to feature the debugging functions. (2) Flexible cable (FLX120-RPD) This is a 120-pin flexible cable for connecting the PC4701 emulator and the emulation pod.
(2) Inside of Emulation Pod Figure 2.2 Internal view of emulation pod Here following explains each board in Figure 2.2. (1) Common board (M30200T-RPDC REV.B) This board is common for the M16C Family that control the interface for the PC4701 and the memory. (2) Multiplex separation board (M30240T-PRT REV.A) Board to control the separation of the address/data output from the MCU. (3) MCU board (M30240T-RPDM REV.A) Board on which the MCU is mounted. (4) Memory board (M30200T-MEM REV.
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. For more information, see each user's manual of the emulator debugger and the PC4701. Connect the PC4701 and this product.
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 ........................................................................................................ 22 3.2 Switch Settings ........................................................................................................................... 23 3.3 Selecting Clock Supply .....................................
Chapter 3. Setting Up To use this emulation pod with your target system, it is necessary to set as follows. Set the following after removing the upper cover. • Change the oscillation frequency. • Change the switch setting of the internal peripheral circuit. • Install the A-D conversion bypass capacitor. 3.1 Removing the Upper Cover The procedure of removing the upper cover is shown below. (1) Remove the four screws of both sides of this product and lift off the upper cover (see Figure 3.1).
3.2 Switch Settings Figure 3.2 shows the positions of switches and Table 3.1 lists the settings. Figure 3.2 Positions of switches CAUTION Note on Switch Settings: • Always shut OFF power before setting the switches. The power ON state could destroy internal circuits.
Table 3.1 Switch settings of M30240T-RPD-E Signal Switch Setting Description JP1 TLPF BLPF (Factory-setting) LPF JP1 JP1 Connects the LPF pin to the target system. TLPF BLPF JP2 BXCAP TXCAP (Factory-setting) XCAP Connects the LPF pin to the LPF circuit in the pod. Connects the XCAP pin to the XCAP circuit in the pod. JP2 JP2 Connects the XCAP pin to the target system. BXCAP TXCAP JP3 BYPASS FILTER (Factory-setting) D+ Connects the D+ pin directly to the target system.
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.2 lists the factory-settings of each clock supply. Table 3.
(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 of the emulator debugger. (For details, refer to the user's manual of emulator debugger.) IMPORTANT Notes on External Clock: • To operate the emulation pod with an external clock, construct the oscillator circuit as shown in Figure 3.
(2) Changing the Internal Oscillator Circuit of Emulation Pod An oscillator circuit board for 12MHz is mounted on this product. To use the emulation pod at a frequency lower than 12MHz, 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. Figure 3.5 shows a view of the OSC-2 oscillator circuit board (bare board) and where connector pins are located. Figure 3.
(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 3.2. For how to remove the upper cover, refer to "3.1 Removing the Upper Cover" (page 22). (1) Unscrew the screw securing the oscillator circuit board. (2) Lift off the oscillator circuit board. (3) Attach the J1 connector of another oscillator circuit board for replacement to the connector of the MCU-dependent board.
3.4 A-D Conversion Bypass Capacitor This product has foot patterns on the board for mounting a bypass capacitor. Mount a suitable bypass capacitor as occasion demands. Figure 3.8 shows where the bypass capacitors are mounted and an enlargement of the foot patterns. Figure 3.
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 with this product package. (1) Connecting the Cable to the PC4701 Figure 3.9 shows how to connect the PC4701 and FLX120-RPD. Connect the PC4701 side connector of FLX120-RPD to the cable connector of the PC4701. To connect the FLX120-RPD, be sure to hold the both sides of the PC4701 side connector horizontally with the "UPSIDE" facing up.
(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 FLX120-RPD and emulation pod CAUTION Note on Connecting the Cable: • Always shut OFF power before connecting the FLX120-RPD. The power ON state could destroy internal circuits. Note on Securing the Screws: • After connecting the FLX120-RPD to the emulation pod, be sure to secure the screws.
3.6 Connecting the Target System (1) How to Connect the Target System Figure 3.11 shows how to connect this product and the target system. Figure 3.11 Connecting emulation pod and target systems CAUTION Notes on Connecting Target System: • Take care not to attach the converter board in a wrong direction. It may cause a fatal damage to the emulation pod.
(2) Connecting 80-pin LCC Socket When connecting the emulation pod to the 80-pin LCC socket (IC61-080-079, IC61-080-081, IC610804-046 made by Yamaichi Electronics Co., Ltd.) on the target system, follow the procedure below. (1) Connect the FLX100 to the FLX-80LCC. (2) Connect the FLX-80LCC to the 80-pin LCC socket. Figure 3.12 Connecting emulation pod to the 80-pin LCC socket CAUTION Notes on Connecting Target System: • Take care not to attach the converter board in a wrong direction.
3.7 Modifying the MCU File for M3T-PD30 It is necessary to change the contents of the MCU file depending on the MCU being developed. For the M30240 Group MCUs, make M30240.MCU in the same directory as emulator debugger M3TPD30. The MCU file contains the following information: SFR area, internal RAM area, internal ROM area and firmware file name. Set these according to the MCU being developed. Use your editor to edit the MCU file.
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 ................................................................................................................ 36 (1) Checking the Connection of the Emulator System ............................................................... 36 (2) Turning On the Power...........................................................................................................
Chapter 4. Usage 4.1 Turning On the Power (1) Checking the Connection of the Emulator System Before turning the power ON, check the connection of the PC4701, emulation pod, converter board and target system. (2) Turning On the Power Power ON/OFF the target system and the PC4701 as simultaneously as possible. If there is a time lag when powering on, follow the order below. However, the order for shutting OFF the power is (2) - (1). (1) Turning on the power of the target system.
(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. Figure 4.
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 has been upgraded (3) the emulator debugger has been upgraded (4) you use this product with a PC4701 which was used with other emulation pod before (2) Downloading Firmware in the Maintenance Mode Download the firmware in the maintenance mode as explained here following.
4.3 Self-checks (1) Self-check Procedure To run the emulator self-checks, do so as explained here below. While self-checks are in progress, LEDs will change as shown in Figure 4.4. (1) Set the switches in the emulation pod same as the factory setting (see Figure 4.3). (2) If the target system is connected, disconnect the target system. (3) Within 2 seconds of activating power to the emulator, press the RESET switch on the emulator front panel to switch the emulator to the maintenance mode.
Figure 4.
Chapter 5. Specifications This chapter describes specifications of this product. 5.1 Specifications .............................................................................................................................. 42 5.2 Connection Diagram .................................................................................................................... 43 (1) Connection Diagram of M30240T-RPD-E ........................................................................... 43 5.
Chapter 5. Specifications 5.1 Specifications Table 5.1 lists the specifications of M30240T-RPD-E. Table 5.1 Specifications of M30240T-RPD-E Emulators PC4701M, PC4701HS or PC4701L Applicable MCUs M30240 Group MCUs Evaluation MCU M30240-TOOL (two pieces) Usable mode Single-chip mode Emulation memory 1MB Maximum operating frequency 12MHz (divide-by-1) Clock supply XIN-XOUT Operating voltage 4.75 to 5.
5.2 Connection Diagram (1) Connection Diagram of M30240T-RPD-E Figures 5.1 shows the connection diagram of M30240T-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. When changing the inside of pod/target system of D+ and D-, change JP3 and JP4 at the same time. Figure 5.
5.3 External Dimensions (1) External Dimensions of Emulation Pod Unit: mm Figure 5.
(2) External Dimensions of Pitch Converter Board (FLX-80LCC) Figure 5.3 shows the external dimensions of the pitch converter board FLX-80LCC for 80-pin LCC. Unit: mm Figure 5.
MEMO ( 46 / 58 )
Chapter 6. Troubleshooting This chapter describes how to troubleshoot when this product does not work properly. 6.1 Flowchart to Remedy the Troubles ............................................................................................ 48 6.2 When the Emulator Debugger Does Not Start Up Properly....................................................... 49 (1) When the LED Display of PC4701 is Abnormal ..................................................................
Chapter 6. Troubleshooting 6.1 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. Turning on the power of PC4701 Front panel LED status of PC4701 Not normal 1. Check emulator system connections. See, "3.5 Connecting the PC4701 and Emulation Pod" (page 30). Normal 2. Redownload the firmware. See "4.
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. Connection to the target system Checkpoint - Recheck the power cable is connected to the PC4701. See the instruction manual of the PC4701. All LEDs remain lit. The "POWER" LED of "STATUS OF TARGET" does not light up. - Connected Recheck the connection between the PC4701 and this product. See "3.
(2) Errors Occur 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 connected) Error Checkpoint Communication error occurred Data was not sent to the target Check all emulator debugger settings, interface cable connection and switches on the rear of the PC4701 match. See the instruction manuals of the PC4701 and the emulator debugger.
(3) Errors Occur 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 not connected) Checkpoint Error Check all emulator debugger settings, interface cable connection and switches on the rear of the PC4701 match. Communication error occurred Data was not sent to the target See the instruction manuals of the PC4701 and the emulator debugger.
MEMO ( 52 / 58 )
Chapter 7. Maintenance and Guarantee This chapter describes how to maintenance, repair provisions and how to request for repair. 7.1 Maintenance ............................................................................................................................... 54 7.2 Guarantee .................................................................................................................................... 54 7.3 Repair Provisions...............................................................
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. 7.
7.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 ( 56 / 58 )
M30240T-RPD-E User's Manual Rev.1.