M34519T-MCU
MCU Board for 4500 Series 4518, 4519, 4583 and 4584 Group MCUs
User's Manual
Rev.2.00
July 1, 2004
REJ10J0071-0200Z
Download from Www.Somanuals.com. All Manuals Search And Download.
Preface
This user's manual describes the specifications of MCU board M34519T-MCU for the Renesas 4518,
4519, 4583 and 4584 Groups of 4-bit CMOS single-chip MCUs. The M34519T-MCU is an MCU
board for the PC4504 emulator. For emulator main unit PC4504 and emulator debugger M3T-PD45,
refer to each user's manual (online manual).
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.
( 3 / 36 )
Download from Www.Somanuals.com. All Manuals Search And Download.
Contents
Chapter 1. Precautions for Safety ...........................................................................................5
1.1 Safety Symbols and Meanings ..............................................................................5
Chapter 2. Package Contents ..................................................................................................9
2.1 Contents of the M34519T-MCU ...........................................................................9
2.2 Other Necessary Products ...................................................................................10
Chapter 3. M34519T-MCU ..................................................................................................11
3.1 Outline .................................................................................................................11
3.2 Specifications ......................................................................................................12
3.3 Switches ..............................................................................................................13
3.4 Check Pins...........................................................................................................14
3.5 Connectors...........................................................................................................14
3.6 Connection to the Target System ........................................................................18
3.7 How to Replace the MCU ...................................................................................22
Chapter 4. Precautions to Be Taken When Debugging a Program ......................................23
4.1 Reset ....................................................................................................................23
4.2 Watchdog Timer..................................................................................................23
4.3 RAM Backup Mode ............................................................................................24
4.4 Port I/O Timings .................................................................................................24
4.5 A-D Converter.....................................................................................................25
4.6 System Clock ......................................................................................................26
4.7 Real-time Capability of the Timer ......................................................................26
4.8 Pullup Transistor Control ....................................................................................26
4.9 Program Execution (G, GB)................................................................................27
4.10 External Trigger Signal .....................................................................................28
4.11 Other Precautions ..............................................................................................28
Chapter 5. Connection Circuit Diagrams .............................................................................29
5.1 Connection Circuit Diagrams..............................................................................29
Chapter 6. Pitch Converter Board External Dimensions ......................................................31
6.1 M34513T-PTCA .................................................................................................31
6.2 M34513T-PTCB .................................................................................................31
6.3 M34513T-PTCC .................................................................................................31
Chapter 7. Maintenance and Guarantee................................................................................33
7.1 Maintenance ........................................................................................................33
7.2 Guarantee ............................................................................................................33
7.3 Repair Provisions ................................................................................................33
7.4 How to Request for Repair..................................................................................34
( 4 / 36 )
Download from Www.Somanuals.com. All Manuals Search And Download.
Chapter 1. Precautions for Safety
Both in the M34519T-MCU user's manual and on the product, 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 precautions which should be taken in order to use the M34519T-MCU 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 / 36 )
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. 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-wire half-pitch cable etc.) 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.
IMPORTANT
Notes on Differences between Actual MCUs and the Emulator:
• Emulator operation differs from emulation of a mask MCU, as listed below. For details refer to
"Chapter 4. Precautions to Be Taken When Debugging a Program" (page 23).
(1) Reset condition
(2) Operation of the watchdog timer function
(3) Operation in RAM backup mode
(4) Port I/O timings and characteristics
(5) A-D conversion function
• Therefore, always be sure to evaluate your system with an evaluation MCU (OTP version). Also,
be sure to perform onboard evaluation with CS (Commercial Sample) version MCU to make final
confirmation of device operation before starting mask production.
Note on the Target System:
• Make sure that the target's supply voltage 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%.
( 6 / 36 )
Download from Www.Somanuals.com. All Manuals Search And Download.
IMPORTANT
Notes on Connecting the Target System:
• When connecting the target system, be sure to shut off the power of the emulator and the target
system.
• Connect the emulator probe carefully.
• When connecting the emulator probe, use care not to twist the cable. An excessive twist may cause
breaking of the wire.
Note on 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.
Note on Registers that Can be Operated from M3T-PD45
• The table below lists the registers that can be operated from M3T-PD45. The "Yes" in the table
means that the register can be operated; the "No" means that the register can not be operated.
Register
PC
CY
A
Reference Modification
Remarks
Register
W3
W4
W5
W6
J1
Reference Modification
Remarks
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
B
D
4518 and 4519 only
E
Q1
X
Q2
Y
Q3
Z
K0
V1
V2
I1
K1
K2
PU0
PU1
FR0
FR1
FR2
FR3
SI
I2
MR
RG
PA
W1
W2
No
No
No
Yes
Yes
No
4518 and 4519 only
4518 and 4519 only
Yes
( 7 / 36 )
Download from Www.Somanuals.com. All Manuals Search And Download.
MEMO
( 8 / 36 )
Download from Www.Somanuals.com. All Manuals Search And Download.
Chapter 2. Package Contents
2.1 Contents of the M34519T-MCU
Table 2.1 shows the contents of the M34519T-MCU package. When unpacking it, check to see that
all of these components are included.
Table 2.1 Contents of the M34519T-MCU package
Item
Product name
Quantity
1
M34519T-MCU
1
1
1
1
1
1
1
1
1
1
1
1
1
2
M34584MD-001FP (for replacement)
M4584 monitor ROM for the 4583 and 4584 Groups (for replacement)
100-wire half-pitch cable (40 cm)
3
4
5
50-wire normal-pitch cable (10 cm)
6
2-wire external trigger cable (50 cm)
Pitch converter board PCA4029
7
8
Pitch converter board M34513T-PTCA
Pitch converter board M34513T-PTCB
Pitch converter board M34513T-PTCC
Oscillator circuit board OSC-2 (only J1 mounted)
M34519T-MCU user's manual (this manual)
M34519T-MCU user's manual (Japanese)
9
10
11
12
13
IMPORTANT
Notes on Components of this Product:
• If you find any item missing or faulty, or any suggestion, contact your local
distributor.
• Keep the packaging carton and cushion material of the M34519T-MCU to transport
it for repair or for other purposes in the future.
• The M34519T-MCU has a preinstalled oscillator circuit board OSC-2 for 6.0 MHz
(main clock) and another oscillator circuit board OSC-2 on which only J1 is
mounted.
( 9 / 36 )
Download from Www.Somanuals.com. All Manuals Search And Download.
2.2 Other Necessary Products
To bring forward your program development with the 4518, 4519, 4583 and 4584 Groups of 4-bit
MCUs, the products listed in Table 2.2 are necessary in addition to those contained in the package.
Get them separately when necessary.
Table 2.2 Other products required for developing the 4518, 4519, 4583 and 4584 Group MCUs
Product type name
Product
PC4504
Emulator main unit
Emulator debugger
M3T-PD45
PCA7441 (for 4519 and 4584)
PCA7442FPG02 (for 4518 and 4583 LQFP)
PCA7442SP (for 4518 and 4583 SDIP)
Programming adapter
( 10 / 36 )
Download from Www.Somanuals.com. All Manuals Search And Download.
Chapter 3. M34519T-MCU
3.1 Outline
With emulator main unit PC4504, the M34519T-MCU can make up an emulator system which can
be operated by a host machine. Figure 3.1 shows an emulator system configuration. For details on
how to connect the target system, refer to "3.6 Connection to the Target System" (page 18).
CPU board PC4500E
Control board PCA4504A + PCA4504B
Function expansion board PCA4504R + PCA4504B
Emulator debugger M3T-PD45
CD-ROM
For 32-pin LQFP
MCU board M34519T-MCU
RS-232C
Host machine
M34513T-PTCA
M34513T-PTCB
M34513T-PTCC
Emulator main unit PC4504
For 32-pin SDIP
100-wire half-pitch cable
PCA4029
50-wire normal-pitch cable
M34513T-PTCA
Target system
For 42-pin SSOP
Figure 3.1 Emulator system configuration
Figure 3.2 shows the positions of the switches and connectors.
Figure 3.2 Positions of switches and connectors
( 11 / 36 )
Download from Www.Somanuals.com. All Manuals Search And Download.
3.2 Specifications
Table 3.1 lists specifications of the M34519T-MCU.
Table 3.1 M34519T-MCU specifications
Emulator PC4504
Emulator
4518 Group, 4519 Group, 4583 Group*1, 4584 Group*1
4518, 4519 Groups M34519M8-001FP (preinstalled)
4583, 4584 Groups M34584MD-001FP (included)
4518, 4519 Groups M4519 (preinstalled)
4583, 4584 Groups M4584 (included)
Applicable MCUs
Evaluation MCU
Monitor program
Clock
Main clock: 6.0 MHz (OSC-2 [6.0 MHz mounted])
Divide-by-8 mode (f(XIN)/8)
Divide-by-4 mode (f(XIN)/4)
5 V
Divide-by-2 mode (f(XIN)/2)
6.0 MHz
4.4 MHz
Through mode (f(XIN))
Divide-by-8 mode (f(XIN)/8)
Divide-by-4 mode (f(XIN)/4)
3 V
Divide-by-2 mode (f(XIN)/2)
Through mode (f(XIN))
Target system voltage
3 V ±10% or 5 V ±10%
Power supply to MCU
board
Supplied by the PC4504's internal power supply (+5 V, +12 V).
3 V is generated from +12 V.
Port emulation
Port
Direction
Input/output *2
Input/output
Device used
Input
74HC245
P00--P03,
P10--P13,
D0--D5
74ALS641 (N-ch)
74VHC125 (CMOS)
Output
P21, P22
Input/Output: 74HC4066
Emulated functions
Pin
Factor of return
Key-on wakeup input
in RAM backup mode
P00--P03,
INT0, INT1
Edge detection
or level detection
P10--P13
Pin
L-level detection
Control register
PU0
Pullup resistor control
Port output type control
P00--P03
P10--P13
Pin
PU1
Control register
P00--P03,
P10--P13
FR0
D0--D5
FR1, FR2
Board dimensions
233.35 x 135.00 x 1.60 mm
Operating temperature
Product configuration
5 to 35°C (non-condensing)
• M34519T-MCU
• 100-wire half-pitch cable
• PCA4029
• 50-wire normal-pitch cable
• 2-wire external trigger cable
• M34513T-PTCA
• M34513T-PTCB
• M34513T-PTCC
• OSC-2 (not mounted)
• M34584MD-001FP (MCU for replacement)
• M4584 (ROM for replacement)
*1. Available by changing MCUs
*2. N-ch open drain output and CMOS output are selectable by a control register.
( 12 / 36 )
Download from Www.Somanuals.com. All Manuals Search And Download.
3.3 Switches
Table 3.2 shows the functions of the switches and their factory-settings.
Table 3.2 Functions of the switches
Description
Factory-setting
Switch
Switch position
Label
Does not output VDD from the
M34519T-MCU to the target system.
OFF
ON
ON
OFF
SW1
Outputs VDD from the M34519T-MCU
to the target system.
OFF
OFF
ON
Set the MCU's ROM size.
• Set "2" for M2
• Set "4" for M4
• Set "6" for M6
• Set "8" for E8, M8
• Set "D" for ED, MD
SW2
SW3
ROMSIZE
8
Operates the evaluation MCU on the
M34519T-MCU at 5 V.
3 V
5 V
5 V
3 V
519
Operates the evaluation MCU on the
M34519T-MCU at 3 V.
5 V
3 V
5 V
518
519 Operates for the 4519 and 4584 Groups.
SW4
519
518
519
518
Operates for the 4518 and 4583 Groups.
CAUTION
Caution for Setting the Switches:
• Before changing switch settings, be sure to shut off the power.
( 13 / 36 )
Download from Www.Somanuals.com. All Manuals Search And Download.
3.4 Check Pins
Table 3.3 lists the check pins of the M34519T-MCU, and Figure 3.3 shows their positions.
Table 3.3 Check pins
Function
Outputs +3 V or +5 V (MCU voltage) according to the setting of SW3.
Outputs a system clock input to the evaluation MCU.
Ground
Pin
TP1
TP2
TP3
TP4
TP5
VDD
XIN
GND
RUN/STOP Held low when a user program is executed, held high when it is stopped.
WRST
Held high when WRST instruction is executed, and you can check the
initialization cycle of the watchdog timer by observing pulse widths.
Figure 3.3 Positions of the check pins
3.5 Connectors
Table 3.4 lists the functions of the connectors of the M34519T-MCU.
Table 3.4 Connectors
Connector
Function
Connects the evaluation MCU bus.
J1
J2
J3
J4
J6
Connects the monitor CPU bus.
Connects the target system. (100-pin)
Connects external trigger signal. (2-pin)
Connects oscillator circuit board OSC-2. (4-pin)
( 14 / 36 )
Download from Www.Somanuals.com. All Manuals Search And Download.
(1) Connector J3
Table 3.5 lists the pin assignments of the 100-wire half-pitch connector J3 for connecting the
PCA4029. And Figure 3.4 shows the pin layout of connector J3.
Table 3.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
P13
Line D
Signal
P12
Pin No.
1
I/O Pin No.
I/O Pin No.
I/O Pin No.
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I
1
1
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I
1
2
2
2
D0
2
P11
3
3
3
D1
3
P10
4
4
4
D2
4
P03
5
5
5
D3
5
P02
6
6
6
D4
6
P01
7
7
7
D5
7
P00
8
8
8
D6/CNTR0
D7/CNTR1
P50
8
P43/AIN7
P42/AIN6
P41/AIN5
P40/AIN4
P63/AIN3
P62/AIN2
P61/AIN1
P60/AIN0
P33
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
P51
P52
P53
P20/SCK
P21/SOUT
P22/SIN
RESET
CNVSS
XOUT
XIN
P32
-
P31/INT1
P30/INT0
VDCE
VDD
-
-
VSS
NC
-
-
-
-
NC
-
-
-
-
NC
NC
NC
NC
NC
NC
Figure 3.4 Connector J3 pin layout
( 15 / 36 )
Download from Www.Somanuals.com. All Manuals Search And Download.
Some signals which are connected to the target system are emulated by the M34519T-MCU. Table
3.6 lists the connections of the target system and each pin.
Table 3.6 Connection of the target system and each pin
Signal
Item
4519 Group
• P20/SCK
4584 Group
• P20--P23
• P21/SOUT
• P22/SIN
• P30/INT0, P31/INT1
• P40--P43
• P30/INT0, P31/INT1 • P50--P53
• P32, P33
• P40/AIN4--P43/AIN7 • P62, P63
• P50--P53
• P60/AIN0, P61/AIN1
Pins connected directly to the target system
(12 types 23 pins)
• D6/CNTR0
• P60/AIN0--P63/AIN3 • C/CNTR1
• D6/CNTR0
• D7/CNTR1
• VDCE
• VDCE
• VSS
• VSS
• P00--P03
• P10--P13
• D0--D5
• RESET
• VDD
Pins connected to the target system via an
emulation circuit etc. (5 types 16 pins)
• XIN
• XOUT
• CNVSS
Pins not connected to the target system
(3 types 3 pins)
CAUTION
Notes on Connecting the Evaluation MCU and Target System:
• VDD is not used for inputting power from the target system, but it is used for
outputting power from the power circuit on the M34519T-MCU to the target system.
Output of VDD (ON or OFF) is set by switch SW1, and the voltage (3 V or 5 V) is
set by switch SW3.
• XIN is input from the oscillator board OSC-2 on the M34519T-MCU, and it is not
input from the oscillator on the target system. To change a system clock frequency,
use another oscillator board OSC-2 (included) with other necessary parts.
(2) Connector J4
Connect the 2-wire external trigger cable included with the M34519T-MCU to 2-pin connector
J4 for external trigger signal. Connect the black clip of the 2-wire external trigger cable to GND,
and use the white clip for external trigger signal input.
External trigger signal is used for event input of external trigger breaks or external trace points.
Table 3.7 lists the pin assignments of connector J4.
Table 3.7 Pin assignments of connector J4
Pin No.
Signal
TRIG
GND
Function
External trigger signal input
GND
1
2
( 16 / 36 )
Download from Www.Somanuals.com. All Manuals Search And Download.
(3) Connector J6
Connector J6 is a connector used to connect oscillator circuit board OSC-2. Table 3.8 lists the pin
assignments of connector J6. Figure 3.5 shows the pin layout of connector J6. Figure 3.6 shows
a connection diagram of oscillator circuit board OSC-2 (6.0 MHz).
Table 3.8 Pin assignments of connector J6
Pin No.
Signal
VCC
GND
CLK
Function
Power supply
GND
1
2
3
4
Clock input
GND
GND
Figure 3.5 Pin layout of connector J6
Figure 3.6 Connection diagram of the oscillator circuit
CAUTION
Notes on Changing a Clock Frequency:
• When changing a clock frequency, be sure to shut off the power supply to replace
the oscillator circuit board (OSC-2).
• For details about the oscillation circuit constant, consult your oscillator manufac-
turer.
( 17 / 36 )
Download from Www.Somanuals.com. All Manuals Search And Download.
3.6 Connection to the Target System
Connections of the M34519T-MCU and target systems are shown in Figure 3.7 below.
50-wire normal-pitch cable
M34513T-PTCA
M34513T-PTCA
M34513T-PTCB
M34513T-PTCC
TQPACK032SA
FFC-50BSM1
ME-2-1
(1) Connection to 2.54-mm-pitch
50-pole dual-in-line pin
(2) Connection to IC socket
for 32-pin SDIP
(3) Connection to 32-pin LQFP
foot pattern
Figure 3.7 Connections to target systems
( 18 / 36 )
Download from Www.Somanuals.com. All Manuals Search And Download.
(1) Connection to 2.54-mm-pitch 50-pole dual-in-line pins (for 42-pin SSOP)
Connect this product to 50-pole dual-in-line pins using the included 50-wire normal-pitch cable.
Use the following products:
(1) 100-wire half-pitch cable (40 cm)
(2) Pitch converter board PCA4029
(3) 50-wire normal-pitch cable (10 cm)
Table 3.9 lists the connector assignments of the 50-wire normal-pitch cable, and Figure 3.8 shows
the pin layout of the 50-wire normal-pitch cable. Be careful not to connect the cable in a wrong
direction.
Table 3.9 Connector assignments of the 50-wire normal-pitch cable
Connector pin No.
MCU pin No.
Signal
Connector pin No.
MCU pin No.
Signal
P12
1
1
2
P13
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
42
41
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
-
2
D0
P11
3
3
D1
P10
4
4
D2
P03
5
5
D3
P02
6
6
D4
P01
7
7
D5
P00
8
8
D6/CNTR0
D7/CNTR1
P50
P43/AIN7
P42/AIN6
P41/AIN5
P40/AIN4
P63/AIN3
P62/AIN2
P61/AIN1
P60/AIN0
P33
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
-
P51
P52
P53
P20/SCK
P21/SOUT
P22/SIN
RESET
NC (CNVSS)
NC (XOUT)
NC (XIN*2)
VSS
P32
P31/INT1
P30/INT0
VDCE
VDD*1
NC
NC
-
NC
-
NC
-
NC
-
NC
-
NC
-
NC
*1: VDD is not used for inputting power from the target system, but it is used for outputting power
from the power circuit on the M34519T-MCU to the target system. Output of VDD (on/off) is set by
switch SW1. For details, refer to "3.3 Switches" (page 13).
*2: XIN is input from oscillator board OSC-2 on the M34519T-MCU, and it is not input from the
oscillator circuit on the target system. To change a system clock frequency, change the frequency of
oscillator board OSC-2.
CAUTION
Note on Connecting the Target System:
• Always shut OFF power before connecting the target system. Otherwise internal
circuits of the target system and the emulator may be damaged.
( 19 / 36 )
Download from Www.Somanuals.com. All Manuals Search And Download.
(2) Connection to the IC socket for 32-pin SDIP
Attach pitch converter board M34513T-PTCA to the 50-wire normal-pitch cable, and connect it
to an IC socket for 32-pin SDIP on the target system.
Use the following products:
(1) 100-wire half-pitch cable (40 cm)
(2) Pitch converter board PCA4029
(3) 50-wire normal-pitch cable (10 cm)
(4) Pitch converter board M34513T-PTCA
Table 3.10 lists the connector assignments of pitch converter board M34513T-PTCA. When
attaching the pitch converter board, check the No. 1 pin positions of the cable and the connector.
Be careful not to connect the cable in a wrong direction.
Table 3.10 Connector assignments of pitch converter board M34513T-PTCA
Connector pin No.
MCU pin No.
Signal
D0
Connector pin No.
MCU pin No.
32
Signal
P13
1
2
1
2
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
D1
31
P12
3
3
D2
30
P11
4
4
D3
29
P10
5
5
D4
28
P03
6
6
D5
27
P02
7
7
D6/CNTR0
D7/CNTR1
P20/SCK
P21/SOUT
P22/SIN
RESET
CNVSS
XOUT
XIN*2
26
P01
8
8
25
P00
9
9
24
P63/AIN3
P62/AIN2
P61/AIN1
P60/AIN0
P31/INT1
P30/INT0
VDCE
VDD*1
10
11
12
13
14
15
16
10
11
12
13
14
15
16
23
22
21
20
19
18
VSS
17
*1: VDD is not used for inputting power from the target system, but it is used for outputting power
from the power circuit on the M34519T-MCU to the target system. Output of VDD (on/off) is set by
switch SW1. For details, refer to "3.3 Switches" (page 13).
*2: XIN is input from oscillator board OSC-2 on the M34519T-MCU, and it is not input from the
oscillator circuit on the target system. To change a system clock frequency, change the frequency of
oscillator board OSC-2.
50-wire normal-pitch cable
PCA4029
Unit: mm
Figure 3.8 Pin layout of the 50-wire normal-pitch cable
( 20 / 36 )
Download from Www.Somanuals.com. All Manuals Search And Download.
(3) Connection to a 32-pin LQFP foot pattern
Attach pitch converter boards M34513T-PTCA and M34513T-PTCB to the included 50-wire
normal-pitch cable, and connect them to the TQPACK032SA soldered on a 32-pin LQFP foot
pattern of the target system via the M34513T-PTCC.
Use the following products:
(1) 100-wire half-pitch cable (40 cm)
(2) Pitch converter board PCA4029
(3) 50-wire normal-pitch cable (10 cm)
(4) Pitch converter board M34513T-PTCA
(5) Pitch converter board M34513T-PTCB
(6) Pitch converter board M34513T-PTCC (including TQPACK032SA)
Table 3.11 lists the pin assignments of the TQPACK032SA. Solder the TQPACK032SA on a 32-
pin LQFP foot pattern of the target system. Attach the M34513T-PTCC to the TQPACK032SA
matching the No. 1 pin positions (see Figure 3.9). Be careful not to connect them improperly.
Table 3.11 Pin assignments of the TQPACK032SA
Connector pin No.
MCU pin No.
Signal
D3
Connector pin No.
MCU pin No.
32
Signal
D2
1
2
1
2
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
D4
31
D1
3
3
D5
30
D0
4
4
D6/CNTR0
D7/CNTR1
P20/SCK
P21/SOUT
P22/SIN
RESET
CNVSS
XOUT
29
P13
5
5
28
P12
6
6
27
P11
7
7
26
P10
8
8
25
P03
9
9
24
P02
10
11
12
13
14
15
16
10
11
12
13
14
15
16
23
P01
22
P00
XIN*2
21
P63/AIN3
P62/AIN2
P61/AIN1
P60/AIN0
P31/INT1
VSS
VDD*1
20
19
VDCE
18
P30/INT0
17
*1: VDD is not used for inputting power from the target system, but it is used for outputting power
from the power circuit on the M34519T-MCU to the target system. Output of VDD (on/off) is set by
switch SW1. For details, refer to "3.3 Switches" (page 13).
*2: XIN is input from oscillator board OSC-2 on the M34519T-MCU, and it is not input from the
oscillator circuit on the target system. To change a system clock frequency, change the frequency of
oscillator board OSC-2.
No. 1 pin
No. 1 pin
(Bevel edge)
M34513T-PTCC
TQPACK032SA
Figure 3.9 Pin layouts of the TQPACK032SA and M34513T-PTCC
( 21 / 36 )
Download from Www.Somanuals.com. All Manuals Search And Download.
3.7 How to Replace the MCU
For debugging the 4583 and 4584 Group MCUs, it is necessary to replace the evaluation MCU to the
included M34584MD-001FP. When replacing the MCU, match the No. 1 pin of the IC socket and
that of the MCU as shown in Figure 3.10. Incorrect insertion may cause a fatal damage to the MCU.
The M34519M8-001FP is mounted when shipped from the factory.
Top view
42
1
22
M34584MD-001FP
21
Figure 3.10 Replacing the MCU
CAUTION
Cautions for Replacing the MCU:
• Before replacing the MCU, be sure to shut off the power supply.
• When mounting the evaluation MCU, be sure to match the No. 1 pin. Incorrect
insertion may cause a fatal damage to the MCU.
• When opening and closing the IC socket, hold the adapter horizontally. Otherwise
the inside of the IC socket may become damaged and cause an electrical insulation
failure.
• When debugging a 4583 or 4584 Group MCU, it is necessary to replace the MCU
to the included M34584MD-001FP and change the setting of switch SW4. For
switch setting, see "3.3 Switches" (page 13).
( 22 / 36 )
Download from Www.Somanuals.com. All Manuals Search And Download.
Chapter 4. Precautions to Be Taken for Debugging a Program
4.1 Reset
The M34519T-MCU uses a 74HC14 for its RESET signal input buffer, so that its electrical
characteristics differ from those of an actual MCU. Table 4.1 lists the RESET signal input
characteristics of the M34519T-MCU.
Table 4.1 RESET signal input characteristics
Item
Symbol
Voltage
Min.
1.0 V
2.3 V
3.0 V
0.3 V
1.13 V
1.5 V
0.3 V
0.6 V
0.8 V
Max.
1.5 V
3.15 V
4.2 V
0.9 V
2.0 V
2.6 V
1.0 V
1.4 V
1.7 V
VCC = 2.0 V
VCC = 4.5 V
VCC = 6.0 V
VCC = 2.0 V
VCC = 4.5 V
VCC = 6.0 V
VCC = 2.0 V
VCC = 4.5 V
VCC = 6.0 V
H-level threshold voltage
VP
VN
VH
L-level threshold voltage
Hysteresis voltage
4.2 Watchdog Timer
The M34519T-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 M34519T-MCU outputs a signal whose waveform is shown below from check pin TP5 during
WRST instruction execution cycles. This signal allows you to check the initialization cycle of a
watchdog timer.
System clock
XIN
CNVSS
WRST
Figure 4.1 Waveform output from check pin TP5
( 23 / 36 )
Download from Www.Somanuals.com. All Manuals Search And Download.
4.3 RAM Backup Mode
In RAM backup mode, the M34519T-MCU operates differently from the actual MCUs. Although the
actual MCU enters RAM backup mode depending on a combination of instructions EPOF and POF,
the M34519T-MCU is placed in RAM backup mode by executing instruction POF only. Instruction
EPOF has no effect on the M34519T-MCU.
[Actual MCU]
Program example 4.1
Placed in RAM backup mode
RC
INY
EPOF
POF
•
[M34519T-MCU]
Placed in RAM backup mode
•
Program example 4.2
[Actual MCU]
RC
INY
POF
•
Not placed in RAM backup mode
[M34519T-MCU]
•
Placed in RAM backup mode
4.4 Port I/O Timings
(1) Port input timings
Port input timings are the same as with actual the MCUs.
(2) Port output timings
When using the M34519T-MCU, output timings are different from those of the actual MCUs,
because the following ports that are configured with the port emulation circuits.
• Ports D0--D5
• Ports P00--P03
• Ports P10--P13
With the actual MCUs, changes occur at the beginning of the T3 state of an output instruction.
With the M34519T-MCU, changes occur at the beginning of the T2 state of the next output
instruction. Figure 4.2 shows the port output timings of the actual MCUs and M34519T-MCU.
For the other ports, the output timings are the same as with the actual MCUs.
Output instruction
Next output instruction
System clock
XIN
Ports D, P0, P1
output timings
on actual MCUs
Ports D, P0, P1
output timings of
M34519T-MCU
Figure 4.2 Ports D, P0 and P1 output timings
( 24 / 36 )
Download from Www.Somanuals.com. All Manuals Search And Download.
(3) Port I/O Characteristics
With the M34519T-MCU, port I/O characteristics are different from actual MCUs because there
are emulation circuits in ports P00--P03, P10--P13 and D0--D5. Table 4.2 lists port I/O
characteristics of the M34519T-MCU.
Table 4.2 Emulation port I/O characteristics
Port
Device
Item
Condition
Min.
Max.
-
Remarks
Standard
VCC = 2.0 V 1.50 V
VCC = 4.5 V 3.15 V
-
VIH
-
-
Input
74HC245
VCC = 2.0 V
VCC = 4.5 V
VCC = 4.5 V
VCC = 5.0 V
-
-
-
-
0.50 V
1.35 V
0.5 V
48 mA
-
-
VIL
-
P0, P1,
D0--D5
VOL
IOL
0.35 V
74ALS641
74VHC125
-
VCC = 3.0 V 2.48 V
VCC = 4.5 V 3.94 V
IOH = -4 mA
IOH = -8 mA
IOL = 4 mA
IOL = 8 mA
-
Output*1
VOH
-
-
VCC = 3.0 V
VCC = 4.5 V
VCC = 2.0 V
VCC = 4.5 V
VCC = 4.5 V
VCC = 12 V
VCC = 12 V
-
-
-
-
-
-
-
0.44 V
0.44 V
-
-
VOL
-
160 Ω
96 Ω
10 Ω
-
RON
200 Ω
-
Input/
P21, P22
74HC4066
RON
IOFF
IZ
Output
±1 µA
±1 µA
-
*1 According to the setting of the output method control register FRx, change its device for output
in the emulation circuit.
• When N-ch open drain output chosen: 74ALS641
• When CMOS output chosen: 74VHC125
4.5 A-D Converter
For the M34519T-MCU, its voltage is fixed at 3 V or 5 V. Therefore, because of the difference of
voltage, the results of its A/D conversions are slightly different from the theoretical values. And, some
characteristics are different from those of actual MCUs, because a flat cable and pitch converter board
and other devices are used between the evaluation MCU and target system.
( 25 / 36 )
Download from Www.Somanuals.com. All Manuals Search And Download.
4.6 System Clock
Depending on the supply voltage and operation mode, use one of the following frequencies listed in
Table 4.3.
Table 4.3 M34519T-MCU operating frequencies
Mode
Frequency
Voltage
5 V
Divide-by-8
Divide-by-4
Divide-by-2
Through
6.0 MHz or less
Divide-by-8
Divide-by-4
Divide-by-2
Through
6.0 MHz or less
4.4 MHz or less
3 V
To change a clock frequency, attach the necessary parts to the included oscillator circuit board OSC-2.
For details about the oscillation circuit constant, consult your oscillator manufacturer.
4.7 Real-time Capability of the Timer
The M34519T-MCU has its internal clock operating even during emulation, so that the timer values
keep changing.
Examples: (1) When single-stepping the program
(2) When registers or internal RAM are referenced or modified
4.8 Pullup Transistor Control
Because the M34519T-MCU has an emulation circuit present in ports P0 and P1, you cannot use the
MCU's internal pullup transistors. Therefore, the M34519T-MCU controls on/off of external pullup
resistors by decoding the pullup control register transfer instructions (TPU0A and TPU1A).
The M34519T-MCU contains 150kΩ pullup resistors for use with the 4518, 4519, 4583 and 4584
Groups. If these pullup resistors need to be changed, replace the RA5 resistor array.
( 26 / 36 )
Download from Www.Somanuals.com. All Manuals Search And Download.
4.9 Program Execution (G, GB)
The PC4504 and M34519T-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 4.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 4.4.)
Program example 4.3
LA
LA
LA
0
1
2
POINT:
; Continuous description of instructions
POINT+2: XAM 3
If a break is set at POINT, execution is halted immediately before the XAM instruction at address
POINT+2.
Program example 4.4
LA
LA
0
1
2
POINT:
; Continuous description of instructions
POINT+1: LA
POINT+2: XAM 3
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.
(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 4.5 and 4.6.)
Program example 4.5
LXY 0,0
SZD
POINT:
B
jmp_adr
; Skips when D(0)=0
POINTA: TAM 0
•
•
If a breakpoint is set at address POINT, the program stops before executing the instruction at
POINT when D(0)=1, but does not stop running when D(0)=0 because the instruction at POINT
is skipped. To stop the program immediately after executing a skip instruction, be sure to set
a breakpoint at both POINT and POINT_A.
Program example 4.6
RC
INY
TABP
LA
•
0,0
0
POINT:
; Skips when D(0)=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.
( 27 / 36 )
Download from Www.Somanuals.com. All Manuals Search And Download.
4.10 External Trigger Signal
(1) External trigger signal input timing
The latch timing of the external trigger signal is shown in Figure 4.3.
Instruction
Next Instruction
System clock
XIN
External trigger
signal TRIG
Figure 4.3 Latch timing of the external trigger signal
(2) External trigger signal input characteristics
Trigger breaks work according to the conditions (leading edge/trailing edge) of signals input from
the external trigger cable. External trigger signals of trace points and break points use the same
signals. The input characteristics of external trigger signals are shown in Table 4.4 below. See the
table before using external trigger signals.
Table 4.4 External trigger signal input characteristics
Item
Symbol
Voltage
Min.
Max.
VCC = 2.0 V
VCC = 4.5 V
VCC = 2.0 V
VCC = 4.5 V
1.5 V
-
VIH
H-level voltage
3.15 V
-
0.5 V
1.35 V
-
-
L-level voltage
VIL
4.11 Other Precautions
With the M34519T-MCU, you cannot evaluate systems that use some functions as described below.
In such a case, therefore, the system needs to be evaluated using an evaluation-purpose MCU (OTP
version).
(1) Because an emulation circuit exists in the RESET pin, systems that use RESET output cannot be
evaluated.
(2) Because the M34519T-MCU has its power supply voltage fixed at 3 V or 5 V, systems that use
a power-down detect function cannot be evaluated. Therefore, results of A-D conversions may
be different from expected values.
(3) Power-on reset operation cannot be verified.
(4) Because the M34519T-MCU is clocked by the system clock on the board, its clock source cannot
be changed to an on-chip oscillator, CR or crystal oscillator. When using an emulator, do not use
the CMCK, CRCK and CYCK instructions in a program.
(5) With the M34519T-MCU, you cannot use the SRST instruction. When it is used, it will be
executed as a NOP instruction.
( 28 / 36 )
Download from Www.Somanuals.com. All Manuals Search And Download.
Chapter 5. Connection Circuit Diagrams
5.1 Connection Circuit Diagrams
Figures 5.1 and 5.2 show the connection circuit diagrams of the M34519T-MCU. These circuit
diagrams depict the M34519T-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 5.1 Connection circuit diagram (1/2)
( 29 / 36 )
Download from Www.Somanuals.com. All Manuals Search And Download.
Figure 5.2 Connection circuit diagram (2/2)
( 30 / 36 )
Download from Www.Somanuals.com. All Manuals Search And Download.
Chapter 6. Pitch Converter Board External Dimensions
6.1 M34513T-PTCA
Figure 6.1 shows external dimensions of the M34513T-PTCA.
Unit: mm
Figure 6.1 External dimensions of the M34513T-PTCA
6.2 M34513T-PTCB
Figure 6.2 shows external dimensions of the M34513T-PTCB.
Unit: mm
Figure 6.2 External dimensions of the M34513T-PTCB
6.3 M34513T-PTCC
Figure 6.3 shows external dimensions of the M34513T-PTCC.
Unit: mm
Figure 6.3 External dimensions of the M34513T-PTCC
( 31 / 36 )
Download from Www.Somanuals.com. All Manuals Search And Download.
MEMO
( 32 / 36 )
Download from Www.Somanuals.com. All Manuals Search And Download.
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.2 Guarantee
If your product becomes faulty within twelve months after its purchase while being used under good
conditions by observing "Precautions for Safety" described in Chapter 1 of this user's manual, we will
repair or replace your faulty product free of charge. Note, however, that if your product's fault is raised
by any one of the following causes, we will repair it or replace it with new one with extra-charge:
• Misuse, abuse, or use under extraordinary conditions
• Unauthorized repair, remodeling, maintenance, and so on
• Inadequate user's system or misuse of it
• Fires, earthquakes, and other unexpected disasters
In the above cases, contact your local distributor. If your product is being leased, consult the leasing
company or the owner.
7.3 Repair Provisions
(1) Repair with extra-charge
The products elapsed more than twelve months after purchase can be repaired with extra-charge.
(2) Replacement with extra-charge
If your product's fault falls in any of the following categories, the fault will be corrected by
replacing the entire product instead of repair, or you will be advised to purchase new one,
depending on the severity of the fault.
• Faulty or broken mechanical portions
• Flaw, separation, or rust in coated or plated portions
• Flaw or cracks in plastic portions
• Faults or breakage caused by improper use or unauthorized repair or modification
• Heavily damaged electric circuits due to overvoltage, overcurrent or shorting of power supply
• Cracks in the printed circuit board or burnt-down patterns
• Wide range of faults that makes replacement less expensive than repair
• Unlocatable or unidentified faults
(3) Expiration of the repair period
When a period of twelve months elapses after the model was dropped from production, repairing
products of the model may become impossible.
(4) Transportation fees at sending your product for repair
Please send your product to us for repair at your expense.
( 33 / 36 )
Download from Www.Somanuals.com. All Manuals Search And Download.
7.4 How to Request for Repair
If your M34519T-MCU is found faulty, follow the procedure below to send your product for repair.
Customer
Distributor
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.
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 the
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 the
product (usually a blue bag). When you use other bags, they may cause a trouble on your product
because of static electricity.
( 34 / 36 )
Download from Www.Somanuals.com. All Manuals Search And Download.
M34519T-MCU User's Manual
Rev.2.00
July 1, 2004
REJ10J0071-0200Z
COPYRIGHT ©2004 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.
|