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 M34502T-MCU User’s Manual MCU Board for PC4504 Emulator System Rev.2.00 2004.
• MS-DOS is a registered trademarks of Microsoft Corporation in the U.S. and other countries. • IBM and AT are registered trademarks of International Business Machines 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.
Contents Preface ....................................................................................................................................4 1. Precautions for Safety ......................................................................................................... 5 1.1 Safety Symbols and Meanings ..............................................................................5 2. Handling Precautions ...........................................................................................
Preface This user's manual describes the specifications of the M34502T-MCU emulator board for Renesas 4501, 4502, 4506, 4507 and 4580 Groups of 4-bit single-chip MCUs. The M34502T-MCU is an MCU board for the PC4504 system used by installing on the PC4504 emulator main unit. For emulator main unit PC4504 and emulator debugger M3T-PD45, refer to each user's manual.
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. Warning for Use Environment: • This equipment is to be used in an environment with a maximum ambient temperature of 35°C. Care should be taken that this temperature is not exceeded. CAUTION Cautions to Be Taken for This Product: • Do not disassemble or modify this product.
IMPORTANT Notes on Differences between an Actual MCU and the Emulator: • Emulator operation differs from emulation of a mask MCU, as listed below. For details refer to "5. Precautions to Be Taken When Debugging". (1) Reset condition (2) Initial values of internal resource data at power-on (3) Internal ROM and RAM capacities, etc.
MEMO ( 8 / 38 )
2. Handling Precautions When using the M34502T-MCU board, pay attention to the following: (1) About the emulator To use the M34502T-MCU board, install it on the PC4504 emulator main unit. (2) About the MCU board installation Before installing (and removing) the MCU board, always be sure to power off the PC4504 emulator main unit and unplug its power cord from the outlet. For details on how to install and remove the MCU board, see "Chapter 2. Setup" in the PC4504 System User's Manual.
Table 2.
3. Contents of the Package 3.1 Package Components of the M34502T-MCU Table 3.1 shows the contents of the M34502T-MCU package. When unpacking your M34502TMCU package, check to see that all of these components are included. Table 3.
MEMO ( 12 / 38 )
4. M34502T-MCU 4.1 Outline By using with the PC4504 emulator main unit, the M34502T-MCU can make up an emulator system which can be operated by a personal computer. Figure 4.1 shows the development support system configuration for 4502 and 4507 Group MCUs. And Figure 4.2 shows the development support system configuration for 4501, 4506 and 4580 Groups. Figure 4.1 Development support system configuration for 4502 and 4507 Group MCUs Figure 4.
4.2 Specifications Table 4.1 lists specifications of the M34502T-MCU. Table 4.1 M34502T-MCU specifications Applicable MCUs 4501 Group 4502 Group 4506 Group 4507 Group 4580 Group Evaluation MCU M34502E4FP (mounted) Maximum operating clock frequency System clock: 4.19 MHz (with OSC-2 for 4.19 MHz)*1 Default mode 4.4 MHz Low-speed mode 3V Medium-speed mode 3.0 MHz High-speed mode 1.5 MHz Default mode Low-speed mode 5V 4.
4.3 Switches Figure 4.3 shows the positions of switches of the M34502T-MCU. Table 4.2 lists the functions of the switches and their factory-settings. Figure 4.3 Positions of switches Table 4.2 Functions of switches Switch Label Setting ON Description Factory-setting Does not output the VDD of the M34502TMCU to the target system. OFF OFF ON SW1 Outputs the VDD of the M34502T-MCU to the target system. ON OFF OFF SW2 Set the MCU’s ROM size.
4.4 Check Pins The M34502T-MCU has check pins listed in Table 4.3. Table 4.3 Check pins Pins VDD GND XIN RUN/STOP WRST Function Outputs 3 V or 5 V by MCU voltage according to the setting of SW3. Ground Outputs an instruction clock (depending on the operating mode) of the MCU. "L" when running user program, "H" when stopping execution. "H" when decoding WRST instruction, possible to monitor the clear cycle of the watchdog timer flag by a waveform. 4.5 Connectors Table 4.
(1) Connector J3 Table 4.5 lists the pin assignments of the 60-wire half-pitch connector (J3) for connecting the PCA4029. And Figure 4.5 shows the connector J3 pin layout. Table 4.5 Pin assignments of the 60-wire half-pitch connector (J3) for connecting the PCA4029 Pin No. Line B Signal Pin No. Line C Signal I/O Pin No.
(2) Connector J4 For the connector J4 for the external trigger signal, use the 2-wire external trigger signal cable included with your M34502T-MCU. Connect the black clip of the external trigger cable to GND, and use the white clip for an external trigger signal input. Use the external trigger signal as an external trigger break or an event input of the trace point by the external trigger. Table 4.6 lists the pin assignments of the connector J4. Table 4.6 Pin assignments of the connector J4 Pin No.
4.6 Connecting to the Target System (1) For 4502 and 4507 Groups How to connect the M34502T-MCU to the target system when using for 4502 and 4507 Groups is shown below. Make note of the fact that it is not possible to connect the M34502T-MCU directly to the foot pattern of the MCU package (24P2Q-A). a. Connecting to 2.54-mm-pitch Dual-in-line Pins on the Target System Use the 26-wire normal-pitch cable (included) to connect the 26-pin dual-in-line pins on the target system.
Table 4.8 26-wire normal-pitch cable pin assignments 1 EVDD*1 26 P30/AIN2 2 VSS 25 P31/AIN3 3 NC (XIN*2) 24 EP00 4 NC (XOUT) 23 EP01 5 NC (CNVSS) 22 EP02 6 ERESET 21 EP03 7 EP21/AIN1 20 EP10 8 EP20/AIN0 19 EP11 9 ED5 18 EP12/CNTR 10 ED4 17 EP13/INT 11 ED3 16 ED0 12 ED2 15 ED1 13 NC 14 NC *1 EVDD does not input the power supply from the target system, but outputs it to the target system from the power circuit on the M34502T-MCU.
(2) For 4501, 4506 and 4580 Groups How to connect the M34502T-MCU to the target system when using for 4501, 4506 and 4580 Groups is shown below. Make note of the fact that it is not possible to connect the M34502T-MCU directly to the foot pattern of the MCU package (20P2N-A). a.
Table 4.9 M34501T-PTC pin assignments M34501T-PTC J2 1 EVDD*1 2 VSS 2 20 EP00 19 EP01 3 NC (XIN* ) 18 EP02 4 NC (XOUT) 17 EP03 5 NC (CNVSS) 16 EP10 6 ERESET 15 EP11 7 EP21/AIN1 14 EP12/CNTR 8 EP20/AIN0 13 EP13/INT 9 ED3 12 ED0 10 ED2 11 ED1 *1 EVDD does not input the power supply from the target system, but outputs it to the target system from the power circuit on the M34502T-MCU.
Some signals connected to the target system are emulated on the M34502T-MCU. For details, see "6. Connection Circuit Diagram of the M34502T-MCU". (1) Pins connected directly to the target system (2 types, 3 lines) • P30, P31*1 • VSS (2) Pins connected to the target system via emulation circuits and other devices.
MEMO ( 24 / 38 )
5. Precautions to Be Taken When Debugging 5.1 Reset The M34502T-MCU uses a 74AC14 for its RESET signal input buffer, so that its electrical characteristics differ from those of an actual MCU. Table 5.1 lists the RESET signal input characteristics of the M34502T-MCU. Table 5.1 RESET signal input characteristics Item Symbol H-level threshold voltage L-level threshold voltage Hysteresis voltage VP VN VH Voltage (VCC) Min. Max. 3.0 V - 2.2 V 4.5 V - 3.2 V 5.5 V - 3.9 V 3.0 V 0.5 V - 4.
5.4 Watchdog Timer The M34502T-MCU does not have an operational watchdog timer. Therefore, use an evaluation MCU (OTP version) to verify the operation associated with a watchdog timer. The M34502T-MCU outputs a signal whose waveform is shown below from the check pin TP5 during WRST instruction execution cycles. This signal allows you to check the initialization cycle of a watchdog timer. WRST instruction Next instruction System clock XIN WRST Figure 5.1 Waveform output from check pin TP5 5.
5.6 Port I/O Characteristics With the M34502T-MCU, port I/O characteristics are different from those of actual MCUs because there is an emulation circuit in ports P0, P1, P2 and D0 to D5. Table 5.3 lists port I/O characteristics of the M34502T-MCU. Table 5.3 Emulation port I/O characteristics Port Device Item VIH Input 74HC4050 VIL P0, P1 Output 74LS06 Voltage (VCC) Min. Max. 2.0 V 1.5 V - 4.5 V 3.15 V - 2.0 V - 0.5 V 4.5 V - 1.35 V IOH - 250 µA IOL - 40 mA - 0.
5.8 RAM Backup Mode In the RAM backup mode, the M34502T-MCU operates differently from actual MCUs. (1) On Port Output (Ports D, P0 and P1) in the RAM Backup Mode With an actual MCU, the state of ports immediately before the RAM backup mode is retained, while with the M34502T-MCU, it is not retained. (a restriction of the M34502T-MCU) With the M34502T-MCU, in the RAM backup mode, ports D, P0 and P1 are held HIGH, and when returned from the RAM backup mode they retain their previous state.
5.9 Program Execution (G, GB) According to the specifications of the PC4504 and M34502T-MCU, there are following restrictions concerned to the operation of the program execution commands (G and GB commands). (1) Continuous description of instructions Hardware breakpoints set in a continuous description of instructions do not cause a break to occur in the continuous description of instructions. A break occurs only after fetching the address where the continuous description of instructions is discontinued.
(2) Skip instructions (e.g. SNZP, INY, DEY, SZB, SEAM, SZC and RTS instructions) When a skip instruction skips the next instruction, a breakpoint set in the skipped instruction does not break. (See Program examples 5.5 and 5.6) Program example 5.5 RC SC SZC SZC POINT: TABP POINTA: TAM 0 POINT: TABP POINTA: TAM 0 • • • • A breakpoint set at address POINT causes execution to halt immediately before address POINTA in only the case of the instruction shown on the right side.
5.10 External Trigger Signal (1) External trigger signal input timing The latch timing of the external trigger signal is shown in Figure 5.3. Instruction Next Instruction System clock XIN External trigger signal TRIG Figure 5.3 Latch timing of external trigger signal (2) External trigger signal input characteristics Trigger breaks work according to the condition (leading edge/trailing edge) of signals input from the external trace cable.
MEMO ( 32 / 38 )
6. Connection Circuit Diagram of the M34502T-MCU Figure 6.1 shows the connection circuit diagram of M34502T-MCU. This circuit diagram depicts the M34502T-MCU connection centering on circuits connected to the target system. Emulator control blocks and other similar circuits that are not connected to the target system are omitted in this diagram. Figure 6.
MEMO ( 34 / 38 )
7. External Dimensions of the Pitch Converter Board 7.1 M34501T-PTC Figure 7.1 shows the external dimensions of the M34501T-PTC. Figure 7.
Appendix A. 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.
M34502T-MCU User's Manual Rev.2.
M34502T-MCU User’s Manual 1753, Shimonumabe, Nakahara-ku, Kawasaki-shi, Kanagawa 211-8668 Japan REJ10J0273-0200Z