M34570T-MCU MCU Board for PC4504 Emulator System User's Manual Rev.1.
MS-DOS is a registered trademark of Microsoft Corporation. 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. Trouble with semiconductors may lead to personal injury, fire or property damage.
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 M34570T-MCU emulator board for Renesas 4570 group of 4-bit single-chip microcomputers. M34570T-MCU is an MCU board for the PC4504 emulator. For the PC4504 emulator main unit and the M3T-PD45 emulator debugger, 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. 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. 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 Actual MCU and Emulator: • Emulator operation differs from emulation of a mask MCU, as listed below. For details refer to "Chapter 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 / 34 )
2. Handling Precautions When using the M34570T-MCU board, pay attention to the following: (1) About the emulator To use the M34570T-MCU board, you always need to 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.
MEMO ( 10 / 34 )
3. Contents of the M34570T-MCU Package 3.1 Things to Check When Unpacking Table 3.1 shows the contents of the M34570T-MCU package. When unpacking your M34570TMCU package, check to see that all of these components are included. Table 3.
MEMO ( 12 / 34 )
4. M34570T-MCU 4.1 Outline By using with the PC4504 emulator main unit, M34570T-MCU can make up an emulator system which can be operated by a personal computer. Figure 4.1 shows the development support system configuration. Figure 4.
4.2 Specifications Table 4.1 lists specifications of M34570T-MCU. Table 4.1 M34570T-MCU Specifications Applicable MCUs M34570MX-XXXFP, M34570EXFP Evaluation MCU M34570E8FP (mounted) 3V Medium-speed mode: High-speed mode: 4.19MHz 1.0MHz 5V Medium-speed mode: High-speed mode: 4.19MHz 2.
4.3 Description of Switches The M34570T-MCU board has three switches. Figure 4.2 shows the positions of these switches. Tables 4.2 list the functions of the switches. Shown in Table 4.2 is the preset switch positions that are set before the MCU board is shipped from the factory. Figure 4.2 Positions of switches Table 4.2 Functions of switches Description Switch position Label OFF ON OFF Does not connect the VDD of the M34570T-MCU to the VDD of the target system.
4.4 Description of Connectors The M34570T-MCU board has five connectors. Table 4.3 lists the functions of these connectors. Figure 4.3 shows the positions of connectors on the MCU board. Table 4.3 Connectors Connector Function J1 Connects the evaluation MCU bus. J2 Connects the monitor CPU bus. J3 Connects the target system. (80-pin) J4 Connects the external trigger signal. (2-pin) J6 Connects the oscillator circuit board. (4-pin) Figure 4.
(1) Connector J3 Table 4.4 lists the pin assignments of the 80-wire half-pitch connector (J3) for connecting the PCA4029. And Figure 4.4 shows the connector J3 pin layout. Table 4.4 Pin assignments of the connector J3 Note: "I" in the direction column denotes "Input"; "O" denotes "Output"; "I/O" denotes "Input/ output"; "-" denotes "Not connected". Figure 4.
(2) Connector J4 Use the 2-wire cable for external trigger signals (included) for the connector J4 (for external trigger signals). Connect the black clip of the external trigger cable to GND, and use the white clip for external trigger signal input. External signals are used as external trigger breaks, or event input of trace points by an external trigger. Table 4.5 lists the pin assignments of the connector J4. Table 4.5 Pin assignments of connector J4 Pin No.
4.5 Connection to the Target System When connecting the M34570T-MCU board to the target system: Use the 40-wire normal-pitch cable (included) to connect the 40-pin dual-in-line pins on the target system. Following products are required for connection to the target system. • 80-wire half-pitch cable (40cm) • PCA4029 pitch converter board • 40-wire normal-pitch cable (10cm) Figure 4.7 depicts the M34570T-MCU board connected to the target system using the 40-wire normal-pitch cable. Table 4.
Table 4.7 40-wire normal-pitch cable pin assignments Figure 4.
Some signals connected to the target system are emulated on the M34570T-MCU board. For details, see "Chapter 6. Connection Circuit Diagram". • Pins connected directly to the target system (5 types, 15 lines) (1) P30 to P33 (2) P40 to P43 (3) CARR (4) D6 to D9 (5) VSS (6) VDCE • Pins connected to the target system via emulation circuits etc.
MEMO ( 22 / 34 )
5. Precautions to be Taken When Debugging 5.1 Reset The M34570T-MCU uses a 74AC14 for its RESET signal input buffer, so that its electrical characteristics differ from those of the actual chip. Table 5.1 lists the RESET signal input characteristics of the M34570T-MCU. Table 5.1 RESET signal input characteristics Item H-level threshold voltage L-level threshold voltage Hysteresis voltage Symbol VP VN VH Voltage Minimum Maximum VCC=3.0V - 2.2V VCC=4.5V - 3.2V VCC=5.5V - 3.9V VCC=3.0V 0.
5.4 Watchdog Timer The M34570T-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 M34570T-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 WRST instruction System clock XIN WRST Figure 5.1 Waveform output from check pin TP5 5.
5.7 Port I/O Timing (1) Port input timing Port input timings are the same as with the actual MCUs. (2) Port output timing When using the M34570T-MCU, output timings are different from those of the actual MCUs for the following ports that are configured with port emulation circuits: • Ports P00 to P03 • Ports P10 to P13 • Ports D0 to D5 With the actual MCUs, changes occur at the beginning of the T3 state of an output instruction.
5.8 Power-down Mode In the power-down mode, the M34570T-MCU operates differently from the actual chip of each MCU. (1) Power-down operation of M34570T-MCU Although the actual chip of each MCU is placed in the power-down mode by executing a combination of EPOF and POF instructions, the M34570T-MCU is placed in the power-down mode by only the POF instruction. In the M34570T-MCU, the EPOF instruction does not have any effect. Program example 5.1 Actual MCU The power-down mode works.
5.9 Program Execution (G, GB) The PC4504 and M34570T-MCU’s hardware are subject to the following restrictions with respect to the operation of the program execution commands (G and GB). (1) Continuous description of instructions Hardware breakpoints set in a continuous description of instructions following one after another do not cause a break to occur in the continuous description of instructions.
(2) Skip instructions (e.g. SNZP, INY, DEY, SZB, SEAM, SZC and RTS) When a skip instruction skips the next instruction, a breakpoint set in the skipped instruction does not cause execution to halt. (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 (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 clock 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 ( 30 / 34 )
6. Connection Circuit Diagram Figure 6.1 shows the connection circuit diagram of M34570T-MCU. This circuit diagram depicts the M34570T-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.
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.
M34570T-MCU User's Manual Rev.1.