M30100T-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 M30100T-RPD-E is an emulation pod for the M16C/10 Series of Renesas 16-bit MCUs. It's used with a PC4701 emulator. This user's manual mainly describes specifications of emulation pod M30100T-RPD-E and how to setup it. For details on the following products, which are used with the M30100T-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 Terminology ........................................................................................................ 16 2.
Chapter 6. Troubleshooting .................................................................................................. 41 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 .....................................
MEMO ( 6 / 52 )
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. 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 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 34). Once the firmware has been downloaded, the product can be used by simply turning on the power.
IMPORTANT Note on When Starting Up the Emulator Debugger: • With the M30100T-RPD-E, it is necessary to execute the following when starting up the emulator debugger. Otherwise, the M30100T-RPD-E may not operate properly. Custom command Execute custom command RESET_10 every time you start up the emulator debugger. • When you execute custom command RESET_10, if "RESET_10 is done!" is displayed instead of "RESET_10 (Ver.2) is done!", a custom command program file of a previous version is used.
IMPORTANT Notes on Interrupts: • Even while the user program is not being executed (when the user program is paused or while debug programs are running), the evaluation MCU is operating for controlling debug programs. Therefore, take note that timers and other functions are not stopped while the user program is not being executed.
IMPORTANT Note on Instructions that Access the Single-step Interrupt Vector Area: • Do not perform the below debugging operations with the single step interrupt vector area (addresses FFFECh--FFFEFh).
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 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, 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.
2.2 Package Components The M30100T-RPD-E package consists of the following items. When unpacking, check to see if your M30100T-RPD-E contains all of these items. Table 2.
2.4 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 M30100T-RPD-E This emulation pod contains an evaluation MCU, 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.5 When Using the Emulator for the First Time (1) 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.
(2) How to Use Custom Command RESET_10 When using the M30100T-RPD-E, it is necessary to execute custom command RESET_10 whenever starting up the M3T-PD30. Incorporate custom command RESET_10 into the M3T-PD30 in line with the procedure given below. Once you incorporate it, it is not necessary to incorporate it again. How to incorporate RESET_10 into the M3T-PD30 1. Copying files Copy reset_10.p (the program file of custom command RESET_10) to the directory in which the execution file (pd30.
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 Selecting Clock Supply .............................................................................................................. 23 (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 make a setting as follows. Change the setting after removing the upper cover. • Change the oscillation frequency in the emulation pod. 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). (2) Change the oscillation frequency in the emulation pod as described in "3.
3.2 Selecting Clock Supply 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. Table 3.1 Clock supply to the MCU Clock Description Display of emulator debugger Factory-setting Internal oscillator circuit of emulation pod (OSC-3: 16 MHz) Internal Yes Target system External - Internal oscillator circuit of emulation pod (32.
(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 box on the emulator debugger. (For details, refer to the user's manual of the emulator debugger.) Figure 3.2 External oscillator circuit Figure 3.
(2) 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.
(3) 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 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. (1) Connecting the Cable to the PC4701 Figure 3.7 shows how to connect the PC4701 and FLX120-RPD. To connect the FLX120-RPD, be sure to hold the both sides of the PC4701 side connector horizontally with the "UPSIDE" facing up. Then secure with screws. Figure 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.4 Connecting the Pod Probe The emulation pod for the M16C/10 Series MCUs consists of the two products, the M30100T-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.
3.5 Procedure for Making an MCU File for the M3T-PD30 It is necessary to change the contents of the MCU file according to the MCU to be developed. Make the MCU file M30100.MCU for M30100 Group and M30102.MCU for M30102 Group in the "mcufiles" folder in the folder where emulator debugger M3T-PD30 is stored. When you use M3TPD30 Ver.4.10 or older, make an MCU file in the folder where your M3T-PD30 is stored.
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 the Connection of the Emulator System ............................................................... 32 (2) Turning On the Power Supply ..............................................................................................
Chapter 4. Usage 4.1 Turning On the Power Supply (1) Checking the Connection of the Emulator System Before turning the power ON, check the connection of the host machine, 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. CAUTION Notes on Power Supply: • The emulator's pin VCC is connected to the target system in order to monitor target system voltage.
(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. 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) use this product with the 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 Starting Up the Emulator Debugger (1) Workflow When Starting Up the Emulator Debugger The workflow when starting up the emulator debugger is shown below. Starting up the M3T-PD30 Settings in the Init dialog box Executing custom command RESET_10 End of workflow when starting up the M3T-PD30 Figure 4.3 Workflow when starting up the emulator debugger (2) Settings in the Init Dialog Box When starting up the emulator debugger, the Init dialog box is displayed.
MEMO ( 36 / 52 )
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 M30100T-RPD-E. Table 5.1 Specifications of the M30100T-RPD-E Emulator PC4701 Applicable MCUs M16C/10 Series Usable mode Single-chip mode Emulation memory 1 MB Maximum operating frequency 16 MHz Clock supply XIN-XOUT Internal oscillator circuit board (OSC-3) Switchable to external oscillator input XCIN-XCOUT Internal oscillator circuit Switchable to external oscillator input Operating voltage 2.7 to 5.
5.2 External Dimensions (1) External Dimensions of the Emulation Pod Unit: mm Figure 5.
(2) External Dimensions of the Interface Board for Connecting the Pod Probe Figure 5.2 shows the external dimensions of interface board FLX64-PRB for connecting the pod probe. Unit: mm Figure 5.
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/en/tools Turning on the power of PC4701 Front panel LED of PC4701 Not normal 1. Check emulator system connections. See, "3.3 Connecting the PC4701 and Emulation Pod" (page 29).
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.3 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 Target MCU runaway. Check that when the emulator debugger is started up, custom command RESET_10 is executed and the second line of the display shows "RESET_10 (Ver.2) is done!". Otherwise, restart the emulator debugger. See "1.1 Note on When Starting Up the Emulator Debugger" (page 11).
(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 Target MCU runaway. Check that when the emulator debugger is started up, custom command RESET_10 is executed and the second line of the display shows "RESET_10 (Ver.2) is done!". Otherwise, restart the emulator debugger. See "1.1 Note on When Starting Up the Emulator Debugger" (page 11).
MEMO ( 46 / 52 )
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 )
M30100T-RPD-E User's Manual Rev.1.