To our customers, Old Company Name in Catalogs and Other Documents On April 1st, 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. Renesas Electronics website: http://www.renesas.
Notice 1. 2. 3. 4. 5. 6. 7. All information included in this document is current as of the date this document is issued. Such information, however, is subject to change without any prior notice. Before purchasing or using any Renesas Electronics products listed herein, please confirm the latest product information with a Renesas Electronics sales office.
User’s Manual M306H3T3-RPD-E User’s Manual Emulation Pod for M16C/6H Group M16C/6H3 Rev.1.00 2004.
* NQPACK, YQPACK, YQSOCKET, YQ-GUIDE, HQPACK, TQPACK and TQSOCKET are trademarks of Tokyo Eletech Corporation. 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 M306H3T3-RPD-E is an emulation pod for the M16C/6H Group M306H3 of 16-bit MCUs. It is used with a PC4701 emulator (excluding the PC4700L and PC4701L). This user's manual mainly describes specifications of the M306H3T3-RPD-E emulation pod and how to setup it. For details on the following products, which are used with the M306H3T3-RPD-E, refer to each product's user's manual or online manual.
Contents Chapter 1. Precautions for Safety ...................................................................................................... 9 1.1 Safety Symbols and Meanings ....................................................................................... 10 WARNING ..................................................................................................................... 11 Warning for Installation .......................................................................................
Chapter 2. Preparation ..................................................................................................................... 21 2.1 Package Components ..................................................................................................... 22 2.2 Other Tool Products Required for Development ........................................................... 22 2.3 Name of Each Part .........................................................................................................
Chapter 5. Specifications ................................................................................................................. 51 5.1 Specifications ................................................................................................................. 52 5.2 Operation Timing in Memory Expansion and Microprocessor Modes ......................... 53 (1) Separate Bus Timing .................................................................................................
Terminology Some specific words used in this user's manual are defined as follows: PC4701 system This means an emulator system built around the PC4701 emulator. The PC4701 emulator system is configured with an emulator main unit PC4701, emulation pod M306H3T3-RPD-E, emulator debugger M3T-PD30 and host machine. Emulator main unit PC4701 This means a generic name for emulators for M16C, 7700, 740 Families.
MEMO ( 8 / 74 )
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 ................................................................................................... 10 WARNING CAUTION IMPORTANT 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 system reset switch 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. Notes on Downloading Firmware: • Before using this product for the first time, it is necessary to download the dedicated firmware.
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: A 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 "user system clock status" and "user program execution status".
IMPORTANT Notes on Stack Area: • With this product, a maximum 7 bytes of the user stack is consumed. Therefore, ensure the +7 bytes maximum capacity used by the user program as the user stack 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 a work area. Using areas like this is a cause of user program crashes and destabilized emulator control.
IMPORTANT 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). Therefore, if the external area set to 0 wait is accessed by other than the user program (such as debugging operation), one wait is inserted. However, when wait bit PM17 is referenced by the dump window etc.
IMPORTANT Notes on Software 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 Reading Internal Resources of the MCU: • When the registers listed in Table 1.1 are read with an emulator, those results will be the following (the data in the MCU are not effected). (1) Results of real-time trace The data values of the cycles read are not displayed correctly. (2) Real-time RAM monitor The data values read are not displayed correctly. Table 1.
IMPORTANT Note on Differences Between the Actual MCU and Emulator: • Operation of the emulator differs from that of the actual MCU as listed below. (1) Reset condition Set the time for starting up (0.2 Vcc to 0.8 Vcc) 1 µs or less. (2) Initial values of MCU's internal resources at power-on (3) Internal memories (ROM and RAM) capacities etc.
IMPORTANT Note on Debugging Operations After Releasing a Reset from the Target: • Do not execute debugging operations such as setting a software or hardware break, runtime debugging after releasing a reset from the user system until an interrupt stack pointer (ISP) is set in the user program. Note on Emulating an External Area: • To emulate the external area using emulation memory in this product, set 0 wait (8 MHz or less), or 1 wait or more.
MEMO ( 20 / 74 )
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.................................................................................................................. 22 2.2 Other Tool Products Required for Development........................................................................ 22 2.3 Name of Each Part ..................................................................
Chapter 2. Preparation 2.1 Package Components The M306H3T3-RPD-E package consists of the following items. When unpacking, check to see if your M306H3T3-RPD-E contains all of these items. Table 2.
2.3 Name of Each Part (1) System Configuration Figure 2.1 shows the PC4701 system configuration with this product. Emulator debugger Interface cable Host machine (2) Flexible cable for connecting PC4701 (1) Emulation pod main unit Emulator main unit (3) Flexible cable for connecting target system (4) Pitch converter board for connecting target system Figure 2.1 System configuration (1) to (4) in Figure 2.1 are included with this product package.
(2) Inside of the Emulation Pod Figure 2.2 shows the board configuration in the emulation pod. (2) Common board (1) MCU-dependent board (3) Oscillator circuit board M306H3T3-PRT REV. B Figure 2.2 Internal view of the emulation pod (1) MCU-dependent board This is a board for executing the port emulation with the evaluation MCU. (2) Common board This is a board controlling the interface with the PC4701 and evaluation MCU. (3) Oscillator circuit board This is a board with an oscillator module.
2.4 When Using This Product for the First Time (1) Making an 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 The download procedure is given in Figure 2.3. Before attempting to download the firmware, check that the emulator is connected to the host machine. Connect the PC4701 and this product. Within 2 seconds of turning the power ON, press the system reset switch of the PC4701 and check it is in maintenance mode. See "3.8 Connecting the PC4701" (page 41). See "4.2 Downloading Firmware" (page 48). Download the firmware using the emulator debugger.
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 user system. 3.1 Removing and Closing the Upper Cover.................................................................................... 28 3.2 Each Setting ................................................................................................................................ 29 3.3 Selecting Clock Supply and Replacing Oscillator Circuit Boards ......
Chapter 3. Setting Up To use this emulation pod with your user system, it is necessary to set as follows. Set the following after removing the upper cover. • Input frequency • Switches • Mounting/removing network resistors for pullup 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 Each Setting Figure 3.2 shows the positions of the following parts. (1) Oscillator circuit board (2) Switches (3) Socket for mounting network resistors for pullup (4) Bypass capacitor for A/D converter Figure 3.
3.3 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 of the emulation pod or using the oscillator circuit on the user system. Table 3.1 lists the factory-settings of each clock supply when you install the emulator debugger. The clock supply can be set in 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 User System To operate this product with an external clock, construct the oscillator circuit as shown in Figure 3.3 in the user 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 user 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 for 10.0 MHz (OSC-3) is mounted on this product. To use the emulation pod at a frequency other than 10.0 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.5 shows an external view of the OSC-2 oscillator circuit board (bare board) and where connector pins are located.
(4) Replacing 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. (1)Unscrew the screw securing the oscillator circuit board. (2)Lift off the oscillator circuit board. (3)Insert the J1 connector of a new oscillator circuit board to the connector of the main board. (4)Secure the new oscillator circuit board with the screw. Figure 3.
3.4 Switch Settings Here follows explanations of the switches of the M306H3T3-RPD-E. Tables 3.2 and 3.3 list how to set toggle switches SW1 to SW6 of the M306H3T3-PRT board (MCUdependent). Tables 3.4 and 3.5 list how to set jumper switches JP1 to JP10 on the M306H3T3-PRT (MCU-dependent board). (1) Toggle Switches SW1 to SW6 on the M306H3T3-PRT Board (MCU-dependent) Table 3.
Table 3.3 Switch settings of the M306H3T3-RPD-E (2/4) Signal Switch Setting Description P87 P87/Xcin SW4 Xcin (Factory-setting) Sets pin P87/Xcin to port P87 and connects to the user system. P87 Sets pin P87/Xcin to Xcin and connects to the user system. Xcin OPEN Does not connect pin Xout to the user system. Xout Xout SW5 (Factory-setting) OPEN Connects pin Xout to the user system. Xout P86/ Xcout Connects pin P86/Xcout to the user system.
(2) Jumper Switches JP1 to JP10 on the M306H3T3-PRT Board (MCU-dependent) Table 3.4 Switch settings of the M306H3T3-RPD-E (3/4) Signal Switch Setting of jumper switches VDD1 I/O_VCC2 CVIN1 VDD1 JP2 VDD2 VDD2 Do not use this setting. Be sure to use this setting. (Factory-setting) FLX FLX INT INT JP3 Connects pin CVIN1 to the user Connects pin CVIN1 to internal system via the M3T-FLX160C. circuit of the M306H3T3-PRT.
Table 3.5 Switch settings of the M306H3T3-RPD-E (4/4) Signal FSCIN Switch Setting of jumper switches JP7 3.58MHz 3.58MHz 4.43MHz 4.43MHz Connects pin FSCIN to 3.58 MHz Connects pin FSCIN to 4.43 MHz oscillator circuit on the M306H3T3- oscillator circuit on the M306H3T3PRT. PRT. (Factory-setting) VDD2 VDDAna JP8 V50/TVDD Do not use this setting. VDD2 Be sure to use this setting.
3.5 Installing and Removing Network Resistors for Pullup In this product, you cannot control pullup for ports P0 to P5 by pullup control registers (pullup control register read/write are possible). A socket for installing the network resistor for pullup is mounted in this product. Mount the 51 kΩ network resistor supplied with this product to the port for which pullup control is required. For the mounting location, refer to Figure 3.8 below.
3.6 Bypass Capacitors for A/D Converter The M306H3T3-RPD-E has the M306H3T3-PRT board which has a foot pattern for installing bypass capacitors for A/D converter near the MCU and premounted 0.1µF capacitors. Mount suitable bypass capacitors as occasion demands. Figure 3.2 shows where they are installed and Figure 3.9 shows their connection. IC6 C8 AVSS Vref AVSS AVCC M306H3FCFP C9 Figure 3.
3.7 Connection Diagram of Data Slicer This product has on-board sockets to change parts used for circuits connected to a data slicer. The circuit and the arrangement of the parts used for each circuit are shown in Figure 3.10 and Figure 3.11, respectively. Resistance and capacity factory-settings R13 2kΩ R14 2kΩ R15 510Ω R16 39kΩ R17 22kΩ R18 470Ω R19 75Ω R20 470Ω C14 47pF C15 0.1µF C16 47pF C17 0.1µF C18 0.33µF C19 33pF C20 15pF C21 47pF C22 0.01µF C24 560pF C25 47µF C26 0.
3.8 Connecting the PC4701 To connect the emulation pod to the PC4701, use the FLX120-RPD 120-pin flexible cable included with this product package. Connect the PC4701 side connector of the FLX120-RPD to the cable connector of the PC4701, then secure with screws the FLX120-RPD. (1) Connecting the Cable to the PC4701 Figure 3.12 shows how to connect the PC4701 and FLX120-RPD. Emulator main unit PC4701 PC4701 side connector of FLX120-RPD "UPSIDE" should face up. Secure this screw. Secure this screw.
(2) Connecting the Cable to the Emulation Pod Figure 3.13 shows how to connect the FLX120-RPD and the emulation pod. Emulation pod FLX120-RPD (Secure with the screws) Figure 3.13 Connecting the cable to the emulation pod CAUTION When Connecting the Cable: • Always shut OFF power before connecting the cable. Otherwise, the internal circuits may be damaged.
3.9 Connecting the User System Connect the emulation pod to the user system as shown in Figure 3.14. (1) Mount the NQPACK116SB to the user system. (2) Attach the YQPACK116SB to the NQPACK116SB. (3) Fix the YQPACK116SB with the included YQ-GUIDE's. (4) Attach the CN2 side of the M306H2T-PTC to the tip (CN2 side) of the pitch converter board FLX160-PRB connected to the emulation pod probe. (5) Attach the M306H2T-PTC to the fixed YQPACK116SB.
MEMO ( 44 / 74 )
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 ................................................................................................................ 46 (1) Checking Connections of the Emulator System ................................................................... 46 (2) Turning ON/OFF the Power .................................................................................................
Chapter 4. Usage 4.1 Turning On the Power (1) Checking Connections of the Emulator System Before turning the power ON, check the connections of the PC4701, emulation pod, converter board and user system. (2) Turning ON/OFF the Power • Turn on the power of the emulator and user system as simultaneously as possible. • Turn off the power of the emulator and user system as simultaneously as possible.
(3) LED Display When the Emulator 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 user system • Check that power is supplied to all the terminals. • This does not light when the user 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. (2) If the user system is connected, disconnect it. (3) Within 2 seconds of activating power to the emulator, press the system reset switch on the emulator front panel to switch the emulator to maintenance mode.
Figure 4.
Chapter 5. Specifications This chapter describes specifications of this product. 5.1 Specifications ............................................................................................................................. 52 5.2 Operation Timing in Memory Expansion and Microprocessor Modes ...................................... 53 (1) Separate Bus Timing ............................................................................................................. 53 (2) Multiplex Bus Timing ...........
Chapter 5. Specifications 5.1 Specifications Table 5.1 lists the specifications of the M306H3T3-RPD-E. Table 5.
Vcc=5V 5.2 Operation Timing in Memory Expansion and Microprocessor Modes (1) Separate Bus Timing Table 5.2 and Figure 5.1 show the bus timing in memory expansion and microprocessor modes (3wait, accessing external area). Table 5.2 Memory expansion and microprocessor modes (3-wait, accessing external area) Item Symbol Actual MCU [ns] This product [ns] Min. Min. Max.
Vcc=5V Read Write Figure 5.
Vcc=5V (2) Multiplex Bus Timing Table 5.3 and Figure 5.2 show the bus timing in memory expansion and microprocessor modes (2wait, accessing external area, using multiplex bus). Table 5.3 Memory expansion and microprocessor modes (2-wait, accessing external area, using multiplex bus) Symbol Item td(BCLK-AD) Address output delay time th(BCLK-AD) Address output hold time (BCLK standard) th(RD-AD) Actual MCU [ns] This product [ns] Min. Min. Max.
Vcc=5V Read Write Figure 5.
Vcc=5V (3) Timing Requirements Table 5.4 and Figure 5.3 show the timing requirements. Table 5.4 Timing requirements Symbol Item Data input setup time Actual MCU [ns] This product [ns] Min. Min. Max.
5.3 Connection Diagram Figure 5.4 shows a connection diagram of the M306H3T3-RPD-E. This connection diagram mainly shows the interface section. The circuits not connected to the user system such as the emulator's control system are omitted. The signals not shown in Figure 5.7 connect the evaluation MCU and the user system directly. Tables 5.5 to 5.7 show IC electric characteristics of this product for reference purposes. Figure 5.
Table 5.5 Electrical characteristics of the 74HC4066 Symbol RON RON IOFF IIZ Item Standard values Condition Unit Min. Standard Max. ON resistor Vcc = 4.5 V - 96 200 ON resistor difference Vcc = 4.5 V - 10 - Leak current (Off) Vcc = 12.0 V - - ±1 Leak current (On, output: open) Vcc = 12.0 V - - ±1 Ω µA Table 5.6 Electrical characteristics of the 7WH125 Symbol Item Condition Standard values Min. Standard Max. Unit VIH "H" level input voltage Vcc = 3.0 to 5.5 V Vcc × 0.
5.4 External Dimensions (1) External Dimensions of the Emulation Pod Figure 5.5 shows external dimensions of the M306H3T3-RPD-E. Unit: mm Figure 5.
(2) External Dimensions of the Converter Board M306H2T-PTC Figure 5.6 shows external dimensions of the pitch converter board M306H2T-PTC for 116-pin LQFP (116P6A-A) and a sample foot pattern for NQPACK116SB. 55.0 21.8 40a 40b 51 75 50 26 100 CN1 M306H2T-PTC REV. A 76 MADE IN JAPAN CN1 40a 40b 0.25 19.00 23.00 40.0 0.65 25 1a 1a 1b 19.00 16.5 23.00 Unit: mm Figure 5.
MEMO ( 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 the PC4701 is Abnormal ............................................................
Chapter 6. Troubleshooting 6.1 Flowchart to Remedy the Troubles Figure 6.1 shows the flowchart to remedy troubles from when power to the emulator is activated until the emulator debugger starts up. Check this while the user system is not connected. For the latest FAQs visit the Renesas Tools Homepage. http://www.renesas.com/eng/products/mpumcu/toolhp/faq/m16c/m16c_e.htm Turning on the power of PC4701 PC4701 Front panel LEDs 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 the PC4701 is Abnormal Table 6.1 LED's abnormal display and its checkpoints Error LEDs do not light up. Connection to the user system - Checkpoint Check that the power cable is connected to the PC4701. See the PC4701 user's manual. All LEDs remain lit. - Check the connection between the PC4701 and this product. See "3.8 Connecting the PC4701" (page 41). The "POWER" LED of "STATUS OF TARGET" does not light up.
(2) Program Window is Not Displayed at Debugger Startup (Target Connected) Table 6.2 Checkpoints of errors when starting up the emulator debugger (target connected) Error ERROR 16005: Can't connect with the target. Checkpoint (1) Check the connection between the PC4701 and host machine. See the PC4701 User's Manual. (2) Check that the PC4701 is powered on. See the PC4701 User's Manual.
(3) Program Window is Not Displayed at Debugger Startup (Target Not Connected) Table 6.3 Checkpoints of errors when starting up the emulator debugger (target not connected) Error Checkpoint ERROR 16005: Can't connect with the target. (1) Check the connection between the PC4701 and host machine. See the PC4701 User's Manual. (2) Check that the PC4701 is powered on. See the PC4701 User's Manual.
MEMO ( 68 / 74 )
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...............................................................
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 ( 72 / 74 )
M306H3T3-RPD-E User's Manual Rev.1.
M306H3T3-RPD-E User’s Manual 1753, Shimonumabe, Nakahara-ku, Kawasaki-shi, Kanagawa 211-8668 Japan REJ10J0321-0100Z