M34551T2-MCU
MCU Board for PC4504 Emulator System
User's Manual
Rev.1.00
September 1, 2003
REJ10J0276-0100Z
Download from Www.Somanuals.com. All Manuals Search And Download.
Contents
Preface ....................................................................................................................................4
1. Precautions for Safety.........................................................................................................5
1.1 Safety Symbols and Meanings ..............................................................................5
2. Handling Precautions..........................................................................................................9
3. Contents of the M34551T2-MCU Package ......................................................................11
3.1 Things to Check When Unpacking .....................................................................11
3.2 Other Necessary Products ...................................................................................11
4. M34551T2-MCU..............................................................................................................13
4.1 Outline .................................................................................................................13
4.2 Specifications ......................................................................................................14
4.3 Description of Switches ......................................................................................15
4.4 Description of Connectors...................................................................................17
4.5 Connection to the Target System ........................................................................21
4.6 LED .....................................................................................................................23
5. Using as an Evaluation Board ..........................................................................................25
5.1 System Configuration..........................................................................................25
5.2 Mounting the EPROM ........................................................................................25
5.3 Mounting the Rubber Legs..................................................................................26
5.4 Switch Settings ....................................................................................................27
5.5 Connection to the Target System ........................................................................27
5.6 Connection to the External Power Source ..........................................................27
5.7 Turning the Power On .........................................................................................27
6. Precautions to Be Taken When Debugging......................................................................29
6.1 Reset ....................................................................................................................29
6.2 System Clock ......................................................................................................29
6.3 Real-time Capability of Timer ............................................................................29
6.4 Watchdog Timer..................................................................................................30
6.5 Pullup Transistors................................................................................................30
6.6 Port I/O Timing ...................................................................................................30
6.7 Characteristics of I/O Ports .................................................................................31
6.8 Power-down Mode ..............................................................................................32
6.9 Program Execution (G, GB)................................................................................33
6.10 External Trigger ................................................................................................35
7. Connection Circuit Diagram.............................................................................................37
Appendix A ..........................................................................................................................38
( 3 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
Preface
This user's manual describes the specifications of the M34551T2-MCU emulator board for Renesas
4551 and 4555 groups of 4-bit single-chip microcomputers.
The M34551T2-MCU is the MCU board for the PC4504 emulator.
For the PC4504 emulator main unit and the M3T-PD45 emulator debugger, refer to their user's
manuals.
To use the product properly
Precautions for Safety
• In both this 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.
• The icons' graphic images and meanings are given in "Chapter 1. Precautions for
Safety". Be sure to read this chapter before using the product.
( 4 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
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.1 Safety Symbols and Meanings
If the requirements shown in the "WARNING"
sentences are ignored, the equipment may
cause serious personal injury or death.
WARNING
If the requirements shown in the "CAUTION"
sentences are ignored, the equipment may
malfunction.
CAUTION
It means important information on using this
product.
IMPORTANT
In addition to the three above, the following are also used as appropriate.
means WARNING or CAUTION.
Example:
CAUTION AGAINST AN ELECTRIC SHOCK
means PROHIBITION.
Example:
DISASSEMBLY PROHIBITED
means A FORCIBLE ACTION.
Example:
UNPLUG THE POWER CABLE FROM THE RECEPTACLE.
The following pages describe the symbols "WARNING", "CAUTION", and "IMPORTANT".
( 5 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
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. Disassembling or modifying this product can cause
damage. Disassembling and modifying the product will void your warranty.
• Use caution when handling the main unit. Be careful not to apply a mechanical shock.
• Do not pull the emulator probe (100-pin half-pitch cable or 50-pin normal-pitch cable) to
disconnect from the emulator main unit.
• Do not use inch-size screws for this equipment. The screws used in this equipment are all ISO
(meter-size) type screws. When replacing screws, use same type screws as equipped before.
( 6 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
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 6. Precautions to be Taken When Debugging".
(1) Reset condition
(2) Initial values of internal resource data at power-on
(3) Internal RAM and ROM capacities, etc.
(4) Electrical characteristics
(5) Operation in the power-down mode
(6) Operation of the watchdog timer function
• Therefore, always be sure to evaluate your system with an evaluation MCU (onetime version).
Also, be sure to perform board-mounted evaluation with ES (Engineering Sample) version MCU
to make final confirmation of device operation before starting mask production.
Note on the Target System:
• The operating voltage of the M34551T2-MCU is +3.0 V or +5.0 V. Therefore the target's supply
voltage should be in the range of +3.0 V ±10 % or 5.0 V ±10 %.
Notes on Connecting the Target System:
• When connecting the emulator probe, be careful to the wrong connection.
• When connecting the emulator probe, be careful to the warp of the cable. The warp may cause
breaking the wire.
( 7 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
MEMO
( 8 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
2. Handling Precautions
When using the M34551T2-MCU board, pay attention to the following:
(1) About the emulator
To use the M34551T2-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. Set-up" in the PC4504 System User’s Manual.
(3) Emulator debugger
When using the M34551T2-MCU board to debug your program, you need to have the M3T-PD45
emulator debugger (sold separately). You need also the data file for 4551/4555 Group included
with M3T-PD45.
(4) Registers that can be operated from M3T-PD45
Table 2.1 lists the registers that can be operated from the M3T-PD45. The "O" in the table means
that the register can be operated; the "X" means that the register cannot be operated.
Table 2.1 Registers that can be operated from M3T-PD45
Register
Reference Modification
Register
W1
W2
W3
C1
Reference Modification
PC
CY
A
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
X
O
O
O
O
X
O
O
O
O
O
O
O
O
O
O
O
O
B
X
C2
Y
CR
O
O
O
O
X
Z
PU0
RLC
MR
R1
D
E
SP
V1
V2
I1
O
O
O
L1
X
L2
X
(5) About the system clock frequency
When setting both bit 3 and bit 0 in the MR clock control register to "0" (high-speed mode, system
clock = f(XIN)), the system clock frequency should be in the following ranges.
• VDD = 3.0 V: XIN ≤ 1.0 MHz
• VDD = 5.0 V: XIN ≤ 2.0 MHz
( 9 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
MEMO
( 10 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
3. Contents of the M34551T2-MCU Package
3.1 Things to Check When Unpacking
Table 3.1 shows the contents of the M34551T2-MCU package. When unpacking your M34551T2-
MCU package, check to see that all the following components are included.
Table 3.1 Contents of M34551T2-MCU
Item
1
Product name
Quantity
1
M34551T2-MCU*
1
1
1
1
1
1
1
1
4
1
1
2
100-wire half-pitch cable (40 cm)
3
50-wire normal-pitch cable (10 cm)
2-wire cable for external trigger signal (50 cm)
PCA4029 pitch converter board
4
5
2
6
M34551E8FP (MCU for replacement)*
3
7
OSC-2 oscillator circuit board (J1 connector mounted)*
4
8
Power code*
4
9
Rubber legs*
10
11
M34551T2-MCU English user's manual (this manual)
M34551T2-MCU Japanese user's manual
*1 "M34551T-MCU" is printed on the board.
*2 M34551T2-MCU is shipped from the factory with the M34555M4-002FP mounted as an
evaluation MCU. If using with the 4551 Group, replace the evaluation MCU with the M34551E8FP
(included).
*3 The M34551T2-MCU is equipped with the OSC-2 oscillator circuit board for 4.0 MHz when
shipped from the factory. The OSC-2 oscillator circuit board mounted with only J1 connector for
clock frequency alteration is included with the product.
*4 The power cable and rubber legs are used when using the M34551T2-MCU as an evaluation
board.
*5 Keep the packaging carton and cushion material of the M34551T2-MCU to transport it for repair
or for other purposes in the future.
*6 If you find any item missing or faulty, or any suggestion, contact your local distributor.
3.2 Other Necessary Products
To bring forward program development on the 4551/4555 Group, the products given below are
necessary in addition to those contained in the package above. Get them separately to be ready when
necessary.
(1) Emulator main unit:
(2) Emulator debugger:
(3) Programming adapter:
PC4504
M3T-PD45
PCA7414 (for M34551E8FP)
* An evaluation MCU is not provided for 4555 Group.
( 11 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
MEMO
( 12 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
4. M34551T2-MCU
4.1 Outline
By using with the PC4504 emulator main unit, the M34551T2-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.1 Development support system configuration
( 13 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
4.2 Specifications
Table 4.1 lists specifications of the M34551T2-MCU.
Table 4.1 M34551T2-MCU Specifications
M34551MX-XXXFP
Applicable MCUs
M34555MX-XXXFP
M34551E8FP (included)
M34555M4-002FP (mounted)
Evaluation MCUs
Medium-speed mode*1: 4.0 MHz
High-speed mode: 1.0 MHz
Maximum operating
clock frequency
3 V
5 V
Medium-speed mode*1: 8.0 MHz
High-speed mode: 2.0 MHz
3 V / 5 V XC clock: 32 kHz (using the crystal oscillator on the board)
Target system voltage
Power supply
3 V or 5 V
Supplied by the PC4504's internal power supply (+5 V, +12 V)
Port
Output type
-
Direction
Input
Devices used
Port emulation
P20, P21 *2
P10 - P13
P00 - P03
D0 - D5
Input: 74HC4066
N-channel
open drain
Input: 74HC541
Output: 74LS06
Input/output
233 (L) x 135 (W) x 26 (H) mm
Board dimensions
5 to 35 °C (non-condensing)
Operating temperature
Product configuration
M34551T2-MCU *3
100-wire half-pitch cable
50-wire normal-pitch cable
External trigger cable
PCA4029
M34551E8FP (for replacement)
OSC-2 (for changing frequencies) *4
Power code
Rubber legs (4 pieces)
*1 Operates in the medium-speed mode (instruction clock: f (XIN)/12) immediately after reset
termination.
*2 Ports P20 and P21 are used with both SEG16 and SEG17, and function as output ports when the
segment output is selected.
*3 "M34551T-MCU" is printed on the board.
*4 The M34551T2-MCU has an oscillator circuit board OSC-2 (for 4.0 MHz) when shipped from
the factory. In addition, it comes with an oscillator circuit board OSC-2, with only a connector
J1 mounted.
( 14 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
4.3 Description of Switches
The M34551T2-MCU board has nine switches. Figure 4.2 shows the positions of these switches.
Tables 4.2 and 4.3 list the functions of the switches and 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 (1/2)
Description
Factory-setting
Label
Switch position
Does not connect the VDD of the M34551T2-
MCU to the VDD of the target system.
ON
ON
OFF
OFF
OFF
SW1
Connects the VDD of the M34551T2-MCU to
the VDD of the target system.
ON
OFF
Sets the MCU’s ROM size.
SW2 ROMSIZE
• M4, set SW2 to "4".
• E8, set SW2 to "8".
4
Operates the target MCU at +5 V.
Operates the target MCU at +3 V.
5 V
5 V
3 V
SW3
5 V
3 V
3 V
5 V
( 15 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
Table 4.3 Functions of the switches (2/2)
Factory-setting
Label
Switch position
Description
Does not connect the pullup resistor 68 kΩ to
the port P10.
OFF
SW4
SW5
SW6
SW7
Connects the pullup resistor 68 kΩ to the port
P10.
ON
OFF
Does not connect the pullup resistor 68 kΩ to
the port P11.
OFF
ON
Connects the pullup resistor 68 kΩ to the port
P11.
OFF
Does not connect the pullup resistor 68 kΩ to
the port P12.
OFF
ON
Connects the pullup resistor 68 kΩ to the port
P12.
OFF
OFF
Does not connect the pullup resistor 68 kΩ to
the port P13.
OFF
ON
Connects the pullup resistor 68 kΩ to the port
P13.
PORT
PORT
XC
Uses the ports D6 and D7.
SW8
SW9
Uses the sub-clock oscillator circuit.
XC
551
555
PORT
555
XC
PORT
Operates the M34551T2-MCU for 4551 group.
Operates the M34551T2-MCU for 4555 group.
551
551
555
555
( 16 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
4.4 Description of Connectors
The M34551T2-MCU board has eight connectors. Table 4.4 lists the functions of these connectors.
Figure 4.3 shows the positions of connectors on the MCU board.
Table 4.4 Connectors
Connector
Function
Connects the evaluation MCU bus.
Connects the monitor CPU bus.
Connects the target system. (100-pin)
Connects the external trigger signal. (2-pin)
Connects the evaluation board.
Connects the oscillator circuit board. (4-pin)
Connects PCA7745.
J1
J2
J3
J4
J5
J6
J7, J8
Figure 4.3 Positions of connectors
( 17 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
(1) Connector J3
Table 4.5 lists the pin assignments of 100-wire half-pitch connector (J3) for connecting the
PCA4029. And Figure 4.4 shows the connector J3 pin layout.
Table 4.5 Pin assignments of connector J3
Line A
Signal
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
Line B
Signal
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
Line C
Signal
Line D
Signal
Pin No.
1
I/O Pin No.
1
I/O Pin No.
1
I/O
I/O
Pin No.
1
EP22/SEG18 I/O
EP23/SEG19 I/O
EP21/SEG17 I/O
EP20/SEG16 I/O
2
2
2
2
3
3
3
EP00
EP01
EP02
EP03
EP10
EP11
EP12
EP13
ED0
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
O
SEG15
SEG14
SEG13
VSS
O
O
O
3
4
4
4
4
5
5
5
5
6
6
6
6
7
7
7
SEG12
SEG11
SEG10
SEG9
SEG8
SEG7
SEG6
SEG5
SEG4
SEG3
SEG2
SEG1
SEG0
COM3
COM2
COM1
COM0
ERESET*
NC
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
I
7
8
8
8
8
9
9
9
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
ED1
O
ED2
O
ED3
O
ED4
O
ED5/INT
CARR
VDD
I/O
O
VSS
XIN
-
-
XOUT
CNVSS
ED6/XCIN
ED7/XCOUT
NC
-
I/O
O
-
-
Note: "I" denotes "Input"; "O" denotes "Output"; "I/O" denotes "Input/output"; "-" denotes "Not
connected".
Figure 4.4 Connector J3 pin layout
( 18 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
(2) Connector J4
To use the external trigger signal as event input of trigger breaks or trace points, connect the 2-
wire cable (for external trigger signal) included with your M34551T2-MCU board to the
connector J4. Connect the black clip of the external trigger cable to GND, and use the white clip
for external trigger signal input. Table 4.6 lists the pin assignments of the connector J4.
Table 4.6 Pin assignments of connector J4
Pin No.
Signal
TRIG
GND
Function
External trigger signal input
GND input
1
2
(3) Connector J6
The connector J6 is a connector used to connect an oscillator circuit board OSC-2. When changing
the frequency of the oscillator, use the OSC-2 oscillator circuit board (only the connector J1
mounted) included.
When changing the frequency, the constants depend on the oscillator you use. It's advisable to
refer to the values recommended by the manufacturers.
Table 4.7 lists the pin assignments of the connector J6. Figure 4.5 shows the pin layout of the
connector J6. For the 4 MHz operation with an oscillator board OSC-2, see Figure 4.6.
Table 4.7 Pin assignments of connector J6
Pin No.
Signal
Function
Power supply
GND
1
2
3
4
VCC
GND
CLK
Clock input
GND
GND
Figure 4.5 Pin layout of connector J6
( 19 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
Figure 4.6 Schematic circuit diagram of OSC-2 (4.0 MHz)
( 20 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
4.5 Connection to the Target System
When connecting the M34551T2-MCU board to the target system:
Connect the 50-wire normal-pitch cable included with the MCU board to the 50-pin dual-in-line pins
on the target system. Following products are required for connection to the target system.
(1) 100-wire half-pitch cable (40 cm)
(2) PCA4029 pitch converter board
(3) 50-wire normal-pitch cable (10 cm)
Figure 4.7 depicts the M34551T2-MCU board connected to the target system using the 50-wire
normal-pitch cable. Table 4.8 lists the connector signal assignments of the 50-wire normal-pitch
cable. Figure 4.8 shows the pin layout of the 50-wire normal-pitch cable.
Figure 4.7 Connecting the MCU board to the target system using dual-in-line pins
( 21 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
Table 4.8 50-wire normal-pitch cable pin assignments
Pin No.
Signal
EP22/SEG18
EP23/SEG19
EP00
EP01
EP02
EP03
EP10
EP11
EP12
EP13
ED0
Pin No.
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
Signal
EP21/SEG17
EP20/SEG16
SEG15
SEG14
SEG13
VSS
1
2
3
4
5
6
7
SEG12
SEG11
SEG10
SEG9
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
SEG8
ED1
SEG7
ED2
SEG6
ED3
SEG5
ED4
SEG4
ED5/INT
CARR
VDD
SEG3
SEG2
SEG1
VSS
SEG0
NC
COM3
COM2
COM1
COM0
ERESET*
NC
NC
NC
ED6/NC
ED7/NC
NC
Figure 4.8 Pin layout of the 50-wire normal-pitch cable
( 22 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
Some signals connected to the target system are emulated on the M34551T2-MCU board. For details,
see "Chapter 7. Connection Circuit Diagram".
• Pins connected directly to the target system (6 types, 24 lines)
(1) SEG0 - SEG15
(2) COM0 - COM3
(3) CARR
(4) D6*
(5) D7*
(6) VSS
• Pins connected to the target system via emulation circuits, etc. (6 types, 20 lines)
(1) P00 - P03
(2) P10 - P13
(3) P20 - P23
(4) D0 - D5
(5) RESET *
(6) VDD
• Pins not connected to the target system (5 types, 5 lines)
(1) XIN
(2) XOUT
(3) CNVSS
(4) XCIN *
(5) XCOUT *
* Not connected to the target system when the sub-clock is selected (switch SW8: "XC"). The
external clock signal (32.768 kHz) is input to the XCIN pin from the oscillator of the M34551T2-
MCU board. And the XCOUT pin is not connected.
4.6 LED
Figure 4.9 shows the LED layout of the M34551T2-MCU. The LED lights in green when the power
is supplied to the MCU board.
Figure 4.9 Layout of the LED
( 23 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
MEMO
( 24 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
5. Using as an Evaluation Board
Mounting the EPROM containing the program and supplying power enables the M34551T2-MCU
to be used as an evaluation board. Use to evaluate the functions that cannot be evaluated with the
evaluation MCU of the 4551 Group. Use an evaluation MCU (OTP version) for 4551 Group
evaluation.
5.1 System Configuration
System configuration when using the M34551T2-MCU as an evaluation board is as shown in Figure
5.1.
Figure 5.1 System configuration for using as evaluation board
5.2 Mounting the EPROM
Load HEX file data generated by ASM45 into the EPROM and mount in the IC socket on the
PCA7745. Prepare two EPROM loaded with the same data, and mount them in the IC sockets on the
PCA7745 while checking the position of pin No. 1 (High and Low side sequence differs for EPROM).
Figure 5.2 shows the EPROM mounting position on the PCA7745.
Figure 5.2 EPROM mounting position on the PCA7745
( 25 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
5.3 Mounting the Rubber Legs
Mount the rubber legs (included) in the four corners of the board if using the M34551T2-MCU board
as an evaluation board. Figure 5.3 shows the positions of the mounting holes and method of mounting
the rubber legs. When mounting them, securely fasten the screws with a screwdriver, etc. Using the
board without the rubber legs could result in damage of the M34551T2-MCU board and target system
due to a short, etc.
Figure 5.3 Positions of the mounting holes and method of mounting the rubber legs
( 26 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
5.4 Switch Settings
The PCA7745 board is equipped with switch SW1 for setting the ROM type. Set switch SW1
according to the type of EPROM to be used as shown in Table 5.1.
Table 5.1 Setting switch SW1 on PCA7745
Setting
Device
256
M5M27C2566AK
M5M27C512ALK
512
5.5 Connection to the Target System
For method of connecting the MCU board to the target system when using this product as an
evaluation board, refer to "4.5 Connecting the MCU board to the Target System".
5.6 Connection to the External Power Source
If using the M34551T2-MCU board as an evaluation board, you must supply power from an external
source. Use a power source capable of delivering +5 V or +12 V. Table 5.2 gives the pin positions
for the external power source input cable.
Table 5.2 Pin positions for the external power source input cable
Pin No.
Color
Red
Black
White
-
Function
Input (+5 V)
GND
1
2
3
4
Input (+12 V)
Not used
5.7 Turning the Power On
After checking connection of the target system and external power source for the evaluation board,
turn the target system and external power supply on. And turn on the power to each equipment
following the procedure below successively.
(1) Turn on the target system.
(2) Turn on the external power source for the evaluation board.
Also, follow steps (1) and (2) when powering off.
(1) Turn off the target system.
(2) Turn off the external power source for the evaluation board.
( 27 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
MEMO
( 28 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
6. Precautions to Be Taken When Debugging
6.1 Reset
The M34551T2-MCU uses 74AC14 for the reset signal input buffer, and electrical characteristics
therefore differ from those of an actual chip.
Table 6.1 lists the RESET signal input characteristics on the M34551T2-MCU.
Table 6.1 RESET signal input characteristics
Item
Symbol
Voltage
Min.
-
Max.
2.2 V
3.2 V
3.9 V
-
VCC=3.0 V
VCC=4.5 V
VCC=5.5 V
VCC=3.0 V
VCC=4.5 V
VCC=5.5 V
VCC=3.0 V
VCC=4.5 V
VCC=5.5 V
H-level threshold voltage
VP
-
-
0.5 V
0.9 V
1.1 V
0.3 V
0.4 V
0.5 V
L-level threshold voltage
Hysteresis voltage
VN
VH
-
-
1.2 V
1.4 V
1.6 V
6.2 System Clock
Use the product within the range of MCU specifications and within the frequency range given in
Table 6.2 in accordance with power source voltage and operation mode.
Table 6.2 Maximum operating frequencies of the M34551T2-MCU
Voltage
3 V
Mode
Maximum operating frequency
Medium-speed mode
High-speed mode
Medium-speed mode
High-speed mode
Up to 4.0 MHz
Up to 1.0 MHz
Up to 8.0 MHz
5 V
Up to 2.0 MHz
Use components required for the OSC-2 oscillator circuit board (included) if changing frequency in
accordance with the target system.
For details about the oscillation circuit constants, consult the manufacturer of your oscillator.
6.3 Real-time Capability of Timer
Since the clock on the MCU board is active even during emulation, its timer values are modified.
Examples:
(1) When single-stepping instructions
(2) When referencing or modifying registers or the internal RAM
( 29 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
6.4 Watchdog Timer
The watchdog timer does not operate on the M34551T2-MCU board. Use an evaluation MCU (OTP
version) to verify the watchdog timer-related operations.
6.5 Pullup Transistors
Since the P1 port of the M34551T2-MCU contains emulation circuits, you cannot control the pullup
transistors using the pullup control register PU0. When you want to use the internal pullup transistors,
turn on switches SW4 to SW7 to activate the pullup resistors of the M34551T2-MCU. The port P1's
resistance value of the pullup resistor is 68 kΩ by the settings (SW4 to SW7).
And the port P0's (M34551T2-MCU) resistance value of the pullup register is 68 kΩ.
6.6 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 M34551T2-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.
With the M34551T2-MCU, changes occur at the beginning of the T2 state of the next output
instruction. Figure 6.1 shows the port output timings of the M34551T2-MCU.
For the other ports, the output timings are the same as with the actual MCUs.
Next output instruction
Output instruction
System clock XIN
P0, P1, and D port
output timings on
actual MCUs
P0, P1, and D port
output timings on
M34551T2-MCU
Figure 6.1 P0, P1 and D port output timings
( 30 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
6.7 Characteristics of I/O Ports
Characteristics of Ports P0, P1, P2, D0 to D7 of the M34551T2-MCU differ from those of actual MCU,
because the M34551T2-MCU have emulation circuit. Table 6.3 shows characteristics of the
emulation ports.
Table 6.3 Characteristics of emulation ports
Port
I/O
Device
Item
Voltage
Min.
Max.
Remarks
Vcc=2.0 V
Vcc=4.5 V
Vcc=2.0 V
Vcc=4.5 V
1.5 V
-
VIH
3.15 V
-
Input
74HC541
-
0.5 V
1.35 V
VIL
-
P0, P1
-
250 µA VOH=MAX
IOH
IOL
-
40 mA
Output
74LS06
Vcc=4.75 V
-
0.4 V
0.7 V
-
IOL=16 mA
IOL=MAX
VOL
-
Vcc=2.0 V
Vcc=4.5 V
160 Ω
70 Ω
VI/O=Vcc to GND
II/O≤1 mA
130 Ω
RON
Input/
Output
VI/O=Vcc or GND
II/O≤1 mA
P2
74HC4066
96 Ω
200 Ω
VI/O=Vcc to GND
II/O≤1 mA
RON
VIH
VIL
Vcc=4.5 V
10 Ω
-
Vcc=2.0 V
Vcc=4.5 V
Vcc=2.0 V
Vcc=4.5 V
1.5 V
-
3.15 V
-
D5
Input
74HC541
74LS06
-
-
-
-
-
-
0.5 V
1.35 V
250 µA VOH=MAX
IOH
IOL
40 mA
Vcc=4.75 V
D5 - D0
Output
0.4 V
0.7 V
IOL=16 mA
IOL=MAX
VOL
( 31 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
6.8 Power-down Mode
The power-down mode of the M34551T2-MCU operates differently from that of the actual MCUs.
(1) Power-down operation of the M34551T2-MCU
While with the actual MCUs the power-down mode works by the "EPOF" and "POF" instructions,
with the M34551T2-MCU the power-down mode works only by the "POF" instruction.
With the M34551T2-MCU, the "EPOF" instruction is invalid.
Example program 6.1
Actual MCU
The power-down mode works.
RC
INY
EPOF
POF
•
•
M34551T2-MCU
The power-down mode works.
Example program 6.2
Actual MCU
The power-down mode does NOT work.
RC
INY
POF
•
•
•
M34551T2-MCU
The power-down mode works.
( 32 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
6.9 Program Execution (G, GB)
The PC4504 and the M34551T2-MCU’s hardware is 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. A break occurs only
after fetching the address where the continuous description of instructions is discontinued. (See
Program example 6.3.)
However, a break does occur even in a continuous description of instructions when an external
trigger break or forced break is encountered. For execution to be resumed in this case, you need
to make sure that the execution start address is next to the continuous description of instructions.
(See Program example 6.4.)
Program example 6.3
LA
0
1
2
3
POINT:
LA
; Continuous description of instructions
LA
POINT+2:
XAM
If a break is set at POINT, execution is halted immediately before the XAM institution at
address POINT+2.
Program example 6.4
LA
0
1
2
3
POINT:
LA
; Continuous description of instructions
POINT+1:
POINT+2:
LA
XAM
If a forced or external trigger break is applied at POINT, execution is halted at POINT+1.
When resuming program execution after the break, make sure that the start address is at
POINT+2, an address immediately after the continuous description of instructions is
discontinued.
( 33 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
(2) Skip instructions (e.g. SNZP, INY, DEY, SZB, SEAM, SZC and RTS)
In cases when a skip instruction skips the next instruction, a breakpoint set in the skipped
instruction does not cause execution to halt. (See Program examples 6.5 and 6.6)
Program example 6.5
RC
RC
SZC
TABP
TAM
SZC
TABP
TAM
POINT:
POINT:
POINTA:
0
POINTA:
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.
Program example 6.6
RC
; Skip instruction
INY
POINT:
TABP
TAM
0
•
•
If a break with pass count is set at address POINT, the count is taken and execution is halted only
when the instruction at address POINT is executed.
( 34 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
6.10 External Trigger
(1) External trigger input timing
The latch timing of the external trigger is shown in Figure 6.2.
Instruction
Next instruction
System clock
XIN
External trigger signal
TRIG
Figure 6.2 Latch timing of the 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. The external trigger signals of the trace points and the external trigger
signals of the break points use the same signals.
The input characteristics of the external trigger are shown in the Table 6.4 below.
Table 6.4 External trigger input characteristics
Item
Symbol
Voltage
Max.
-
Min.
1.5 V
Vcc = 2.0 V
H-level input Voltage
VIH
-
3.15 V
Vcc = 4.5 V
Vcc = 2.0 V
Vcc = 4.5 V
0.5 V
1.35 V
-
-
L-level input voltage
VIL
( 35 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
MEMO
( 36 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
7. Connection Circuit Diagram
Figure 7.1 shows the M34551T2-MCU connection circuit diagram. This circuit diagram depicts the
M34551T2-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.
: Connected to IC23-8.
: Control signal
Figure 7.1 Connection circuit diagram
( 37 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
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.
Distributor
After checking the contents of fault, the distributor should please send
the faulty product along with the Repair Request Sheet to Renesas
Solutions Corp.
Renesas Solutions When the faulty product is repaired, it will be returned to the customer
at the earliest convenience.
CAUTION
Note on Transporting the Product:
• When sending your product for repair, use the packing box and cushion material supplied with this
product when delivered to you and specify handling caution for it to be handled as precision
equipment. If packing of your product is not complete, it may be damaged during transportation.
When you pack your product in a bag, make sure to use conductive polyvinyl supplied with this
product (usually a blue bag). When you use other bags, they may cause a trouble on your product
because of static electricity.
( 38 / 40 )
Download from Www.Somanuals.com. All Manuals Search And Download.
M34551T2-MCU User's Manual
Rev.1.00
September 1, 2003
REJ10J0276-0100Z
COPYRIGHT ©2003 RENESAS TECHNOLOGY CORPORATION
AND RENESAS SOLUTIONS CORPORATION ALL RIGHTS RESERVED
Download from Www.Somanuals.com. All Manuals Search And Download.
Download from Www.Somanuals.com. All Manuals Search And Download.
|