M30100T3-RPD-E Emulation Pod for M16C/10 Series MCUs User's Manual Rev.1.
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 M30100T3-RPD-E is an emulation pod for the M16C/10 Series of Renesas 16-bit MCUs. It's used with a PC4701 emulator (excluding PC4701L and PC4700L) and a pod probe. This user's manual mainly describes specifications of emulation pod M30100T3-RPD-E and how to setup it. For details on the following products, which are used with the M30100T3-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 .......................................................................................................... 15 2.1 Package Components .......................................................................................... 16 2.
Chapter 5. Specifications ...................................................................................................... 37 5.1 Specifications ...................................................................................................... 38 5.2 External Dimensions ........................................................................................... 39 (1) External Dimensions of the Emulation Pod ............................................. 39 Chapter 6. Troubleshooting ...............
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, pod probe, host machine and emulator debugger. 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 the Renesas Tools Homepage at http://www.renesas.
Chapter 1. Precautions for Safety This chapter describes precautions for using this product safely and properly. For precautions for the pod probe, emulator main unit and 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. 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: • 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.
IMPORTANT Note on Malfunctions in the PC4701 System: • If the emulator malfunctions because of interference like external noise, do the following to remedy the trouble. (1) Press the RESET button on the emulator front panel. (2) If normal operation is not restored after step (1), shut OFF power to the emulator once and then reactivate it.
IMPORTANT Note on Clock Supply to the MCU: • Clock can be supplied to the evaluation MCU in one of the following two ways. This is determined by emulator debugger clock selection. (1) When Internal is selected: The clock generated by the oscillation circuit in the emulation pod is supplied to the evaluation MCU. The clock is continually supplied to the evaluation MCU regardless of "target system clock status" and "user program execution status".
IMPORTANT Note on RESET* Input: • The reset input from the target system is accepted only while a user program is being executed (only while the RUN status LED on the PC4701's front panel is lit). Note on Operation When Not Executing the User Program: • With this product, bit 7 of processor mode register 1 (wait bit PM17) is forcibly set to "1" (with wait) when the user program is not executed (e.g. when the program is stopped or when run-time debugging is being performed).
IMPORTANT Notes on Software Breaks and Hardware Breaks: • The software break is a debugging function which breaks a program immediately before the system executes an instruction at a specified address. The instruction at the preset address will not be executed. • The hardware break is a debugging function which breaks a program by setting the detection of an execution of an instruction at a specified address as a break event. The program will break after the instruction at the specified address is executed.
IMPORTANT Note on Differences between the Actual MCU and Emulator: • Operations of the emulator system differ from those of actual MCUs as listed below. (1) Reset condition Set the rise time (0.2 Vcc = 0.8 Vcc) to 1 µs or less. (2) Initial values of internal resource data at power-on (3) Internal memories (ROM and RAM) capacities, etc. With this emulator system, "INT" (emulation memory ON) is the default for mapping areas other than the SFR area (addresses 000h--3FFh).
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 Package Components.................................................................................................................. 16 2.2 Other Tool Products Required for Development........................................................................ 16 2.3 Name of Each Part ..................................................................
Chapter 2. Preparation 2.1 Package Components The M30100T3-RPD-E package consists of the following items. When unpacking, check to see if your M30100T3-RPD-E contains all of these items. Table 2.
2.3 Name of Each Part (1) System Configuration Figure 2.1 System configuration (1) to (3) in Figure 2.1 are included in this product package. (1) Emulation pod main unit M30100T3-RPD-E This emulation pod contains emulation memory and circuit to feature the debugging functions. (2) Flexible cable FLX120-RPD This 120-pin flexible cable connects the PC4701 emulator and the emulation pod. (3) Flexible cable FLX64 This 64-pin flexible cable connects the emulation pod and the pod probe.
2.4 When Using the Emulator for the First Time (1) Making the MCU File It is necessary to make an MCU file to use this product with the emulator debugger M3T-PD30. According to the MCU you use, change the contents of the MCU file. Make the MCU file following the description below using a text editor and store it in the "mcufiles" folder in the directory where the emulator debugger is installed. The MCU file contains information such as, SFR area, internal RAM area, internal ROM area, firmware file name.
(3) Downloading Firmware If you have purchased this emulation pod newly, it is necessary to download the firmware. The download procedure is given in Figure 2.2. 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 and pod probe. See "3.4 Connecting the PC4701 and Emulation Pod" (page 27) and "3.
MEMO ( 20 / 52 )
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 and Closing the Upper Cover.................................................................................... 22 3.2 Selecting Clock Supply and Replacing Oscillator Circuit Boards ............................................. 23 (1) Clock Supply to the MCU ............................................................................
Chapter 3. Setting Up To use this emulation pod with your application system, it is necessary to make a setting as follows. Change the setting after removing the upper cover. • Change the oscillation frequency in the emulation pod. 3.1 Removing and Closing the Upper Cover (1) To open the upper cover, remove the four screws of both sides of this product and lift off the upper cover (see Figure 3.1).
3.2 Selecting Clock Supply and Replacing Oscillator Circuit Boards (1) Clock Supply to the MCU There are two ways to supply a clock to the MCU, using the oscillator circuit in the emulation pod or using the oscillator circuit on the target system. Table 3.1 shows the factory-settings of each clock supply. The clock supply can be set by the Init dialog box when starting up the emulator debugger or inputting CLK command on the script window. Table 3.
(2) Using the Oscillator Circuit on the Target System To operate this product with an external clock, construct the oscillator circuit as shown in Figure 3.2 in the target system and input the oscillator output at 50% duty (within the operating range of the evaluation MCU) into pin XIN. And pin XOUT should be open. To use the external clock on the target system, set in the Init dialog box of the emulator debugger or by the CLK command on the script window.
(3) Changing the Internal Oscillator Circuit of the Emulation Pod An oscillator circuit board (OSC-3) for 16 MHz is mounted on this product. To use the emulation pod at a frequency other than 16 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. Figure 3.4 shows a view of the OSC-2 oscillator circuit board (bare board) and where connector pins are located. Figure 3.
(4) Replacing the Oscillator Circuit Boards Figure 3.6 shows how to replace the oscillator circuit boards. (1) Remove the four screws of both sides of this product and lift off the upper cover. (2) Unscrew the screw connecting the oscillator circuit board. (3) Lift off the oscillator circuit board. (4) Attach the J1 connector of another oscillator circuit board for replacement to the connector of this product.
3.3 Jumper Switches JP1 and JP2 on the M30100T-PRT Board The jumper switches JP1 and JP2 on the M30100T-PRT board are set to "CSP" side and "0ns" side respectively when shipped from factory. When there is no instruction in the user's manual of your pod probe, set these switch to the default. CAUTION Note on Setting Switches: • Always shut OFF power when changing the settings of the jumper switches. 3.
(2) Connecting the Cable to the Emulation Pod Figure 3.8 shows how to connect the FLX120-RPD and the emulation pod. Figure 3.8 Connecting the emulation pod and FLX120-RPD CAUTION Note on Connecting the Cable: • Always shut OFF power before connecting the cable. The power ON state could destroy internal circuits. Note on Securing the Screws: • After connecting the emulation pod to the cable, be sure to secure the screws.
3.5 Connecting the Pod Probe The emulation pod for the M16C/10 Series MCUs consists of the two products, the M30100T3-RPDE emulation pod main unit and the M301xxT-PRB pod probe ("x" denotes number). Figures 3.9 and 3.10 show how to connect the M301xxT-PRB and how to remove it, respectively. (1) Connect connectors J1 and J2 of the M301xxT-PRB to connectors J3 and J4 of the FLX64-PRB. (2) Fix the FLX64-PRB by the two screws. Figure 3.
MEMO ( 30 / 52 )
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 .................................................................................................... 32 (1) Checking Connections of the Emulator System ................................................................... 32 (2) Turning On the Power...........................................................................................................
Chapter 4. Usage 4.1 Turning On the Power Supply (1) Checking Connections of the Emulator System Before turning the power ON, check the connections of the PC4701, emulation pod, pod probe, converter board and target system. (2) Turning On the Power • Turn on the power of the emulator and target system as simultaneously as possible. • Turn off the power of the emulator and target system as simultaneously as possible.
(3) LED Display When the 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. • When this does not light, check the power supply of the target system. • Check that power is supplied to all the terminals. • This does not light when the target system is not connected.
4.2 Downloading Firmware (1) When It is Necessary to Download Firmware It is necessary to download the firmware in the cases listed below. Normally, the following are automatically detected when the emulator debugger is started up, and the firmware is downloaded.
4.3 Self-check (1) Self-check Procedure To run the self-check of the emulator, do so as explained here below. While the self-check is in progress, the LEDs will change as shown in Figure 4.4. (1) Set the switches in the emulation pod to the factory settings as shown in Figure 4.3. If specified, set the switches according to your pod probe. (2) If the target system is connected, disconnect it.
Figure 4.
Chapter 5. Specifications This chapter describes specifications of this product. 5.1 Specifications ............................................................................................................................. 38 5.2 External Dimensions .................................................................................................................. 39 (1) External Dimensions of the Emulation Pod ..........................................................................
Chapter 5. Specifications 5.1 Specifications Table 5.1 lists the specifications of the M30100T3-RPD-E. Table 5.
5.2 External Dimensions (1) External Dimensions of the Emulation Pod Unit: mm Figure 5.
MEMO ( 40 / 52 )
Chapter 6. Troubleshooting This chapter describes how to troubleshoot when this product does not work properly. 6.1 Flowchart to Remedy the Troubles ............................................................................................ 42 6.2 When the Emulator Debugger Does Not Start Up Properly....................................................... 43 (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. For the latest FAQs, visit the following URL. http://www.renesas.com/eng/products/mpumcu/toolhp/faq/m16c/m16c_e.htm Turning on the power of PC4701 Front panel LED of PC4701 Not normal 1. Check emulator system connections. See, "3.
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 that the power cable is connected to the PC4701. See the PC4701 User's Manual. (1) Recheck that the connection between the PC4701 and this product. All LEDs remain lit. - See "3.4 Connecting the PC4701 and Emulation Pod" (page 27).
(2) Errors Occur When Starting Up the Emulator Debugger (When the target system is connected) Table 6.2 Checkpoints of errors when starting up the emulator debugger (target is connected) Error Checkpoint Communication ERROR. Can't send data. Check that all emulator debugger settings, interface cable connections and switches on the rear of the PC4701 match. See the user's manuals of the PC4701 and emulator debugger. Target system is not constructed properly. (1) Download the proper firmware.
(3) Errors Occur When Starting Up the Emulator Debugger (When the target system is not connected) Table 6.3 Checkpoints of errors when starting up emulator debugger (target is not connected) Error Checkpoint Communication ERROR. Can't send data. Check that all emulator debugger settings, interface cable connections and switches on the rear of the PC4701 match. See the user's manuals of the PC4701 and emulator debugger. Target system is not constructed properly. (1) Download the proper firmware. See "4.
6.4 How to Request for Support Fill in the text file the installer of the emulator debugger generates in the following directory and email to your local distributor. \SUPPORT\product name\SUPPORT.TXT For prompt response, please specify the following information: (1) Operating environment Operating voltage: X.X [V] Operating frequency: XX.
Chapter 7. Maintenance and Guarantee This chapter describes how to maintenance, repair provisions and how to request for repair. 7.1 Maintenance ............................................................................................................................... 48 7.2 Guarantee .................................................................................................................................... 48 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 ( 50 / 52 )
M30100T3-RPD-E User's Manual Rev.1.