Emulation probe for m16c/26a, 28, 29 group mcus (58 pages)
Summary of Contents for Renesas Emulation Pod M3062NT3-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
M3062NT3-RPD-E User’s Manual Emulation Pod for M16C/62 Group M16C/62N and M16C/30 Group M16C/30L Rev.1.00 2003.06...
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 M3062NT3-RPD-E is an emulation pod for the M16C/62 Group M16C/62N and M16C/30 Group M16C/30L of 16-bit MCUs. It is used with a PC4701 emulator. This user's manual mainly describes specifications of the M3062NT3-RPD-E emulation pod and how to setup it. For details on the following products, which are used with M3062NT3-RPD-E, refer to each product's user's manual.
Contents Chapter 1. Precautions for Safety ... 9 1.1 Safety Symbols and Meanings ... 10 WARNINGS Warning for Installation ... 11 Warnings for Use Environment ... 11 CAUTIONS Caution to Be Taken for Modifying This Product ... 11 Cautions to Be Taken for Handling This Product ... 11 Cautions to Be Taken for Turning On the Power ...
Page 7
2.3 Name of Each Part ... 23 (1) System Configuration ... 23 (2) Inside of the Emulation Pod ... 24 2.4 When Using This Product for the First Time ... 25 (1) Making an MCU File ... 25 (2) Setting the Work Area ... 25 (3) Downloading Firmware ...
Page 8
4.3 Self-check ... 57 (1) Self-check Procedure ... 57 (2) If an Error is Detected in the Self-check ... 57 Chapter 5. Specifications ... 59 5.1 Specifications ... 60 5.2 Operation Timing in Memory Expansion and Microprocessor Modes ... 61 (1) Separate Bus, No-Wait ...
Page 9
This means a generic name for emulators for M16C, 7700, 740 Families. Take note of the fact that the M3062NT3-RPD-E (this product) does not support the PC4701L and PC4700L emulators. For details on specific models of PC4701, visit the Renesas Tools Homepage at http://www.renesas.com/ en/tools Emulation pod This means M3062NT3-RPD-E (this product).
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 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: •...
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.
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.
Note 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.
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).
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.
Note on Reading Internal Resources of the MCU: • When the registers that are 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.
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.
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 target system until an interrupt stack pointer (ISP) is set in the user program.
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 ... 23 (1) System Configuration ...
Chapter 2. Preparation 2.1 Package Components The M3062NT3-RPD-E package consists of the following items. When unpacking, check to see if your M3062NT3-RPD-E contains all of these items. Table 2.1 Package components M3062NT3-RPD-E emulation pod main unit FLX120-RPD flexible cable for connecting PC4701 M3T-F160T3-PRB converter board for M3T-FLX160C (preinstalled) M30800T-PTC converter board for 100-pin 0.65-mm-pitch QFP IC61-1004-051 100-pin 0.65-mm-pitch LCC socket (made by Yamaichi Electronics Co., Ltd.)
2.3 Name of Each Part (1) System Configuration Host machine Figure 2.1 System configuration (1) to (4) in Figure 2.1 are included with this product package. (1) Emulation pod main unit M3062NT3-RPD-E This emulation pod contains an evaluation MCU, emulation memory and circuits to feature the debug functions.
(2) Inside of the Emulation Pod (3) Common board Figure 2.2 Internal view of the emulation pod (1) MCU-dependent board 1 This is a board for port emulation. (2) MCU-dependent board 2 This is a board with the evaluation MCU. (3) Common board This is a board controlling the interface with the PC4701 and evaluation MCU.
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 an MCU file. Make an MCU file following the description below using a text editor and store it in the "mcufile"...
(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.
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 ... 28 3.2 Each Setting ... 29 3.3 Selecting Clock Supply and Replacing Oscillator Circuit Boards ... 30 (1) Clock Supply to the MCU ...
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. • Input frequency • Switches • Pullup resistors • A-D conversion bypass capacitor 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.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 target system. Table 3.1 lists the factory-settings of each clock supply.
(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.3 in the target system and input the oscillator output at 50% duty (within the operating range of the evaluation MCU) into pin X .
(3) Changing the Internal Oscillator Circuit of the Emulation Pod An oscillator circuit board for 16.0 MHz (OSC-3) is mounted on this product. To use the emulation pod at a frequency other than 16.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.
(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. Figure 3.7 Replacing oscillator circuit boards (1) Unscrew the screw securing the oscillator circuit board. (2) Lift off the oscillator circuit board.
3.4 Switch Settings Here follows explanations of the switches of the M3062NT3-RPD-E. Tables 3.2 and 3.3 list how to set toggle switches SW1 to SW5 of the M30620T3-PRT board (MCU- dependent 1), Table 3.4 lists how to set jumper switches JP1 and JP2. (1) Toggle Switches SW1 to SW5 on the M30620T3-PRT Board (MCU-dependent 1) Table 3.2 Switch settings of the M3062NT3-RPD-E (1/3) Signal...
Page 37
Table 3.3 Switch settings of the M3062NT3-RPD-E (2/3) Signal Switch (Factory-setting) Xout P86/Xcout (Factory-setting) P87/Xcin Note on Switch Settings: • Always shut OFF power before changing switch settings. Note on BYTE and CNVss Switch Settings: • Switch settings of the BYTE and CNVss are for debugging without the target system connected.
(2) Jumper Switches JP1 and JP2 on the M30620T3-PRT Board (MCU-dependent 1) Table 3.4 Switch settings of the M3062NT3-RPD-E (3/3) Signal Switch A18_SEL VDDI0 Note on Switch Settings: • Always shut OFF power before changing switch settings. Setting Use this setting when not using the memory (Factory-setting) space expansion mode.
3.5 Installing and Removing Pullup Resistors In this product, you cannot control pullup for ports P0 to P5 by pullup control registers (pullup control register read/write are possible). Mounting a pullup resistor inside this product allows pullup control. Mount the 51kΩ resistor array supplied with this product to the port for which pullup control is required.
3.6 A-D Conversion Bypass Capacitors The M3062NT3-RPD-E has the M3062PT3-PRTM board which has a foot pattern for installing A- D conversion bypass capacitors 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 diagrams.
3.7 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 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.10 shows how to connect the PC4701 and FLX120-RPD Figure 3.10 Connecting the cable to the PC4701...
(2) Connecting the Cable to the Emulation Pod Figure 3.11 shows how to connect the FLX120-RPD and the emulation pod. Emulation pod Figure 3.11 Connecting the cable to the emulation pod When Connecting the Cable: • Always shut OFF power before connecting the cable. Otherwise, the internal circuits may be damaged.
3.8 Connecting the Target System There are several ways available to connect the emulation pod to target systems as shown in Figure 3.12. 80-pin 0.65-mm-pitch M30800T-PTC (included) M3T-100LCC-DMS (not included) M3T-FLX-DCT613 (not included) M3T-DIRECT80S M3T-FLX-80QSB LCC socket 80-pin QFP 80-pin QFP 100-pin LCC (not included) (not included)
(1) Connecting to a 100-pin LCC Socket To connect the M30800T-PTC (included) to the 100-pin LCC socket (IC61-1004-051 by Yamaichi Electronics Co., Ltd.) on the target system, following the procedure below. (1) Attach the CN2 side of the M30800T-PTC to the tip (CN2 side) of the pitch converter board connected to the emulation pod probe.
(2) Connecting to an 80-pin 0.65-mm-pitch Foot Pattern (Part 1) Here follows how to connect the emulation pod probe to an 80-pin 0.65-mm-pitch foot pattern on the target system with the M3T-DIRECT80S (not included). For details on the M3T-FLX-DCT613 (not included) and M3T-DIRECT80S (not included), refer to each user's manual.
(3) Connecting to an 80-pin 0.65-mm-pitch Foot Pattern (Part 2) Here follows how to connect the emulation pod probe to an 80-pin 0.65-mm-pitch foot pattern on the target system with the M3T-FLX-80QSB (not included). For details on the M3T-FLX-DCT613 (not included) and M3T-FLX-80QSB (not included), refer to each user's manual.
(4) Connecting to a 100-pin 0.65-mm-pitch Foot Pattern (Part 1) Here follows how to connect the emulation pod probe to a 100-pin 0.65-mm-pitch foot pattern on the target system with the M3T-DIRECT100S (not included). For details on the M3T-100LCC-DMS (not included) and M3T-DIRECT100S (not included), refer to each user's manual. (1) Mount the M3T-DIRECT100S to the target system.
(5) Connecting to a 100-pin 0.65-mm-pitch Foot Pattern (Part 2) Here follows how to connect the emulation pod probe to a 100-pin 0.65-mm-pitch foot pattern on the target system with the M3T-DUMMY100S (not included). For details on the M3T-100LCC-DMS (not included) and M3T-DUMMY100S (not included), refer to each user's manual. (1) Mount the M3T-DUMMY100S to the target system.
(6) Connecting to a 100-pin 0.65-mm-pitch Foot Pattern (Part 3) Here follows how to connect the emulation pod probe to a 100-pin 0.65-mm-pitch foot pattern on the target system with the M3T-FLX-100NRB (not included). For details on the M3T-100LCC-DMS (not included) and M3T-FLX-100NRB (not included), refer to each user's manual. (1) Mount the NQPACK100RB to the target system.
(7) Connecting to a 100-pin 0.5-mm-pitch Foot Pattern (Part 1) Here follows how to connect the emulation pod probe to a 100-pin 0.5-mm-pitch foot pattern on the target system with the M3T-F160-100NSD (not included). For details on the M3T-F160-100NSD (not included), refer to its user's manual. (1) Mount the NQPACK100SD included with the M3T-F160-100NSD to the target system.
(8) Connecting to a 100-pin 0.5-mm-pitch Foot Pattern (Part 2) Here follows how to connect the emulation pod probe to a 100-pin 0.5-mm-pitch foot pattern on the target system with the M3T-100LCC-QSD (not included). For details on the M3T-100LCC-QSD (not included), refer to its user's manual. (1) Mount the TQPACK100SD to the target system.
(9) Connecting to a 100-pin 0.5-mm-pitch Foot Pattern (Part 3) Here follows how to connect the emulation pod probe to a 100-pin 0.5-mm-pitch foot pattern on the target system with the M3T-FLX-100NSD (not included). For details on the M3T-100LCC-DMS (not included) and M3T-FLX-100NSD (not included), refer to each user's manual. (1) Mount the NQPACK100SD to the target system.
(10) Connecting to a 100-pin 0.4-mm-pitch Foot Pattern Here follows how to connect the emulation pod probe to a 100-pin 0.4-mm-pitch foot pattern on the target system with the M3T-F160-100NSE (not included). For details on the M3T-F160-100NSE (not included), refer to its user's manual. (1) Mount the NQPACK100SE included with the M3T-F160-100NSE 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 ... 54 (1) Checking Connections of the Emulator System ... 54 (2) Turning ON/OFF the Power ... 54 (3) LED Display When the PC4701 Starts Up Normally...
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 target system. (2) Turning ON/OFF the Power • Turn on 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.
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. (1) When you use this product for the first time (2) When the emulator debugger or firmware has been upgraded (3) When you use this product with a PC4701 which was used with another emulation probe before...
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 target system is connected, disconnect it.
Chapter 5. Specifications This chapter describes specifications of this product. 5.1 Specifications ... 60 5.2 Operation Timing in Memory Expansion and Microprocessor Modes ... 61 (1) Separate Bus, No-Wait ... 61 (2) Separate Bus, With Wait, Accessing External Memory Area ... 63 (3) Multiplex Bus Timing ...
Chapter 5. Specifications 5.1 Specifications Table 5.1 lists the specifications of the M3062NT3-RPD-E. Table 5.1 Specifications of the M3062NT3-RPD-E Emulators Applicable MCU Evaluation MCU Usable mode Emulation memory Supported voltage Maximum operating frequency Clock supply Operating voltage Operating temperature Storage temperature Power supply to emulation pod Connection to target system Refer to "3.8 Connecting the Target...
5.2 Operation Timing in Memory Expansion and Microprocessor Modes (1) Separate Bus, No-Wait Table 5.2 and Figure 5.1 show the bus timing in memory expansion and microprocessor modes (no- wait). Table 5.2 Memory expansion and microprocessor modes (no-wait) Symbol td(BCLK-AD) th(BCLK-AD) th(RD-AD) th(WR-AD)
Page 64
Read Write Figure 5.1 Memory expansion and microprocessor modes (no-wait) Conditions: • VCC = 3.3 V • Input timing voltage: VIL = 0.52 V, VIH = 1.65 V • Output timing voltage: VOL = 1.65 V, VOH = 1.65 V ( 62 / 84 )
(2) Separate Bus, With Wait, Accessing External Memory Area Table 5.3 and Figure 5.2 show the bus timing in memory expansion and microprocessor modes (with wait, accessing external area). Table 5.3 Memory expansion and microprocessor modes (with wait, accessing external area) Symbol td(BCLK-AD) Address output delay time...
(3) Multiplex Bus Timing Table 5.4 and Figure 5.3 show the bus timing in memory expansion and microprocessor modes (with wait, accessing external area, using multiplex bus). Table 5.4 Memory expansion and microprocessor modes (with wait, accessing external area, using multiplex bus) Symbol td(BCLK-AD) Address output delay time...
Page 68
Read Write Conditions: • VCC = 3.3 V • Input timing voltage: VIL = 0.52 V, VIH = 1.65 V • Output timing voltage: VOL = 1.65 V, VOH = 1.65 V Figure 5.3 Memory expansion and microprocessor modes (with wait, accessing external area, using multiplex bus) ( 66 / 84 )
(4) Timing Requirements Table 5.5 and Figure 5.4 show the timing requirements. Table 5.5 Timing requirements Symbol tsu(DB-RD) Data input setup time tsu(RDY-BCLK) RDY* input setup time tsu(HOLD-BCLK) HOLD* input setup time th(RD-DB) Data input hold time th(BCLK-RDY) RDY* input hold time th(BCLK-HOLD) HOLD* input hold time td(BCLK-HLDA)
5.3 Connection Diagram Figure 5.5 shows a connection diagram of the M3062NT3-RPD-E. This connection diagram mainly shows the interface section. The circuits not connected to the target system such as the emulator's control system are omitted. The signals not shown in Figure 5.5 connect the evaluation MCU and the target system directly.
Page 71
Table 5.6 Electrical characteristics of the 74HC4066 Symbol Item ON resistor ON resistor difference Leak current (Off) Leak current (On, output: open) Table 5.7 Electrical characteristics of the FPGA Symbol Item "H" level input voltage "L" level input voltage "H" level output voltage "L"...
5.4 External Dimensions (1) External Dimensions of the Emulation Pod Figure 5.6 shows external dimensions of the M3062NT3-RPD-E. Unit: mm Figure 5.6 External dimensions of the emulation pod ( 70 / 84 )
(2) External Dimensions of the Converter Board M30800T-PTC Figure 5.7 shows external dimensions of the converter board M30800T-PTC (included) for a 100- pin LCC and a sample foot pattern for 100-pin 0.65-mm-pitch (100P6S-A). When connected to a 100-pin LCC socket Figure 5.7 External dimensions of the converter board M30800T-PTC and a sample foot pattern *1.
(3) External Dimensions of the Converter Board M3T-F160-100NSD Figure 5.8 shows external dimensions and a sample foot pattern of the converter board M3T-F160- 100NSD (not included) for a 100-pin 0.5-mm-pitch LQFP. Figure 5.8 External dimensions and a sample foot pattern of the converter board M3T-F160-100NSD (4) External Dimensions of the Converter Board M3T-F160-100NSE Figure 5.9 shows external dimensions and a sample foot pattern of the converter board M3T-F160- 100NSE (not included) for a 100-pin 0.4-mm-pitch TQFP.
Chapter 6. Troubleshooting This chapter describes how to troubleshoot when this product does not work properly. 6.1 Flowchart to Remedy the Troubles ... 74 6.2 When the Emulator Debugger Does Not Start Up Properly ... 75 (1) When the LED Display of the PC4701 is Abnormal ... 75 (2) Program Window is Not Displayed at Debugger Startup (Target Connected)...
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 target system is disconnected. For the latest FAQs visit the Renesas Tools Homepage. http://www.renesas.com/eng/products/mpumcu/toolhp/faq/m16c/m16c_e.htm...
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. All LEDs remain lit. The "POWER" LED of "STATUS OF TARGET"...
(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. ERROR 16211: The version of PD30 and the firmware on the target are not same.
(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 16005: Can't connect with the target. ERROR 16211: The version of PD30 and the firmware on the target are not same.
Chapter 7. Maintenance and Guarantee This chapter describes how to maintenance, repair provisions and how to request for repair. 7.1 Maintenance... 80 7.2 Guarantee ... 80 7.3 Repair Provisions ... 80 7.4 How to Request for Repair ... 81 ( 79 / 84 )
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.