M34282T5-OPT
MCU Board for PC4400 Emulator System
User's Manual
Rev.1.00
September 1, 2003
REJ10J0272-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
2.1 Handling Precautions ............................................................................................9
3. Contents of M34282T5-OPT Package .............................................................................11
3.1 Package Components of M34282T5-OPT ..........................................................11
3.2 Other Necessary Products ...................................................................................11
4. M34282T5-OPT ...............................................................................................................13
4.1 Outline .................................................................................................................13
4.2 Specifications ......................................................................................................14
4.3 Switches ..............................................................................................................15
4.4 Check Pins...........................................................................................................17
4.5 Connectors...........................................................................................................17
4.6 Connecting MCU Board to Target System .........................................................20
4.7 LED .....................................................................................................................22
5. Precautions to Be Taken When Debugging......................................................................23
5.1 Reset ....................................................................................................................23
5.2 Capacity of Internal Memory (ROM, RAM) ......................................................23
5.3 Watchdog Timer..................................................................................................23
5.4 System Clock ......................................................................................................24
5.5 Real-time Capability of Timer ............................................................................24
5.6 Power-down Mode ..............................................................................................24
5.7 Program Execution (G, GB)................................................................................25
5.8 Pulldown Transistor Control ...............................................................................27
5.9 Port I/O Timing ...................................................................................................27
5.10 Port I/O Characteristics .....................................................................................28
5.11 External Trigger ................................................................................................29
5.12 Other Precautions ..............................................................................................29
6. LED of PC4000E..............................................................................................................31
6.1 LED Indication at Emulator Startup ...................................................................31
6.2 LED Indication during Emulator Operation .......................................................31
7. M34282T5-OPT Connection Circuit Diagram.................................................................33
8. External Dimensions of Emulator Probe ..........................................................................35
8.1 20-pin Pin Header ...............................................................................................35
Appendix A ..........................................................................................................................36
( 3 / 38 )
Download from Www.Somanuals.com. All Manuals Search And Download.
Preface
This instruction manual describes the specifications of the M34282T5-OPT emulator board for
Renesas 4282 Group of 4-bit CMOS single-chip MCUs. The M34282T5-OPT is the MCU board for
the PC4400 emulator system connected to the PC4000E emulator main unit and used with a control
board and a function expansion board.
To use the product properly
Precautions for Safety:
• Both in 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 / 38 )
Download from Www.Somanuals.com. All Manuals Search And Download.
1. Precautions for Safety
Both in this instruction 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 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
CAUTION
If the requirements shown in the "CAUTION"
sentences are ignored, the equipment may
malfunction.
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 / 38 )
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.
• Use caution when handling the main unit. Be careful not to apply a mechanical shock.
• Do not pull the pod probe by the cables (40-wire half-pitch cable or 20-wire normal-pitch cable).
• 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 / 38 )
Download from Www.Somanuals.com. All Manuals Search And Download.
IMPORTANT
Notes on Difference between Actual MCU and Emulator:
• Emulator operation differs from that 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 memory (ROM and RAM) capacities, etc.
(4) System clock
(5) Operation of the watchdog timer function
(6) Real-time capability of timer
(7) Operation in power-down mode
(8) Pulldown transistor control
(9) Port I/O timing and characteristics
(10) Low-power detection function
• Therefore, always be sure to evaluate your system with an evaluation MCU (OTP 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 Target System:
• The operation voltage of the M34282T5-OPT is +3.0 V. Therefore the target's supply voltage
should be in the range of +3.0 V ±10%.
Note on System Clock:
• The maximum operating frequency of the M34282T5-OPT is 4.0 MHz (STCK = f(XIN)/8) or 500
kHz (STCK = f(XIN)). When the instruction clock is set to f(XIN), set the system clock frequency
of the M34282T5-OPT to 500 kHz or less.
Notes on Connecting Target System:
• When connecting the target system, be sure to shut OFF the power of the emulator and target
system.
• When connecting the emulator probe, be careful of its orientation.
• When connecting the emulator probe, be careful of a warp of the cable. The warp may cause a break
in the wire.
( 7 / 38 )
Download from Www.Somanuals.com. All Manuals Search And Download.
MEMO
( 8 / 38 )
Download from Www.Somanuals.com. All Manuals Search And Download.
2. Handling Precautions
2.1 Handling Precautions
When using the M34282T5-OPT board, pay attention to the following:
(1) About an emulator system
To configure the emulator system with the M34282T5-OPT, the following products are required.
a. Emulator main unit (PC4000E)
This is an universal emulator main unit for the 720 Series.
b.Emulator card cage (PC4400)
This is an emulator card cage to contain the emulator main unit, control board, function
extension board and M34282T5-OPT board.
c. Control board (PCA4400A)
This is an emulator control board for the PC4400 system. The PCA4400A allows the user to
control program execution and reference/change contents of memory, as well as control break
functions etc. of the PC4400 system.
d.Function extension board (PCA4400R)
This is used by inserting into the PC4400, and allows the user to control real-time trace, program
execution time measurement, coverage analysis, etc. of the PC4400 system.
e. Power supply
As the PC4400 emulator system does not contain the power supply, the M34282T5-OPT should
be powered separately by an external power supply such as a switching power supply or a
stabilized power supply. For an external power supply, chose the one which suit to the
specifications below.
- For +5 V:
- For +12 V:
3.0 A or over
0.1 A or over
f. Emulator debugger (RTT72)
This consists of assembler and emulator debugger for the 720 Series. The RTT72 is used with
data files for 4282 Group.
For details, refer to the user's manual of RTT72.
(2) About the MCU board installation
Before installing (and removing) the MCU board, always be sure to power off the PC4000E
emulator main unit and unplug its power cord from the outlet.
(3) Registers that can be operated from the RTT72
Table 2.1 lists the registers that can be operated from the RTT72. The "Yes" means that the register
can be operated; "No" means that the register can not be operated.
Table 2.1 Registers that can be operated from RTT72
Register
Reference
Yes
Modify
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Register
V1
Reference
Modify
Yes
PC
CY
A
No
No
No
No
No
Yes
V2
Yes
Yes
LO
Yes
B
Yes
PU0
PU1
Yes
D
No
Yes
E
Yes
X
Yes
Y
Yes
*: "0" is always indicated when referencing the register Z.
( 9 / 38 )
Download from Www.Somanuals.com. All Manuals Search And Download.
MEMO
( 10 / 38 )
Download from Www.Somanuals.com. All Manuals Search And Download.
3. Contents of M34282T5-OPT Package
3.1 Package Components of M34282T5-OPT
Table 3.1 shows the package components of the M34282T5-OPT. When unpacking your package,
check to see that all of these components are included.
Table 3.1 Contents of M34282T5-OPT
Item
Quantity
M34282T5-OPT
1
1
1
1
1
1
1
1
1
40-wire half-pitch cable (40 cm)
20-wire normal-pitch cable (10 cm)
2-wire cable for external trigger signal (50 cm)
PCA4029 pitch converter board
Oscillator board OSC-2 (500 kHz)
Oscillator board OSC-2 (only J1 connector mounted)
M34282T5-OPT Instruction manual (this manual)
M34282T5-OPT Instruction Manual (Japanese)
*1 The M34282T5-OPT has a 4MHz oscillator circuit board OSC-2 that is incorporated when
shipped from the factory. In addition, an oscillator circuit board OSC-2 for 500 kHz and an
oscillator circuit board OSC-2 on which only J1 connector mounted are included.
*2 Keep the packaging carton and cushion material of the M34282T5-OPT to transport it for repair
or for other purposes in the future.
*3 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 4282 Group of 4-bit MCUs, the products listed in
Table 3.2 are necessary in addition to those contained in the package above. Get them separately to
be ready when necessary.
Table 3.2 Products required for program development on the 4282 Group MCUs
PC4000E (emulator main unit)
PC4400 (emulator card cage)
Emulator system
PCA4400A (control board)
PCA4400R (function expansion board)
RTT72
Emulator debugger
Serial programmer*
MSP-II
EFP-I (PROM & FLASH programmer main unit)
EF1SRP-01U (unit for serial writing)
Cable for connecting the target (3-line type)
MS4238-20F (for 20P2N-A package)
MS4280-20G (for 20P2E/F-A package)
PROM & FLASH programmer*
PROM programming adapters*
* The serial programmers and PROM programming adapters in Table 3.2 are products of Suisei
Electronics System Co., Ltd. For inquiries about these products, contact Suisei Electronics
System Co., Ltd.
Suisei Electronics System Co., Ltd.
Tsurumi 6-5-24, Tsurumi-ku, Osaka 538-0053, JAPAN
Tel: +81-6-913-4531
Fax: +81-6-913-4534
( 11 / 38 )
Download from Www.Somanuals.com. All Manuals Search And Download.
MEMO
( 12 / 38 )
Download from Www.Somanuals.com. All Manuals Search And Download.
4. M34282T5-OPT
4.1 Outline
By using with the PC4400 emulator for the 720 Series, the M34282T5-OPT can make up an emulator
system which can be operated by a personal computer.
Figure 4.1 shows the emulator system configuration.
Figure 4.1 Emulator system configuration
* For how to connect to the target system, refer to "4.6 Connecting MCU Board to Target System"
(page 20).
( 13 / 38 )
Download from Www.Somanuals.com. All Manuals Search And Download.
4.2 Specifications
Table 4.1 lists specifications of the M34282T5-OPT.
Table 4.1 Specifications of M34282T5-OPT
4282 Group MCUs
Applicable MCU
Evaluation MCU
M34282E2GP (on board)
System clock 4 MHz (using OSC-2 [4 MHz])*
Maximum operating
clock frequency
4.0 MHz (STCK=f(XIN)/8)
VDD = 3 V
500 kHz (STCK=f(XIN))
Target system
supply voltage
3 V
Power supply
Port emulation
Supplied from the PC4400 (+5 V, +12 V)
Port
D0 to D3
D4 to D7
G0 to G3
E0
Output type
Direction
Output
Device used
Input: 74HC541
Output: TD62787
P-channel
open drain
Input/output
E1
Input: 74HC4066
Output: 74HC4066
E2
-
Input
CARR
CMOS
Output
Output: 74VHC08
Board dimensions 233 mm (L) x 120 mm (W) x 26.0 mm (H)
Operating temperature 5 to 35°C (no dew)
M34282T5-OPT
40-wire half-pitch cable
Product
configuration
20-wire normal-pitch cable
External trigger cable
PCA4029
OSC-2 x2 (for 500 kHz, for changing the frequency)
* The M34282T5-OPT has a 4MHz oscillator circuit board OSC-2 that is incorporated when
shipped from the factory. In addition, an oscillator circuit board OSC-2 for 500 kHz and an
oscillator circuit board OSC-2 on which only J1 connector mounted are included.
( 14 / 38 )
Download from Www.Somanuals.com. All Manuals Search And Download.
4.3 Switches
Figure 4.2 shows the locations of switches of the M34282T5-OPT and Tables 4.2 and 4.3 list the
functions of each switch and its factory-settings.
Figure 4.2 Switch locations
Table 4.2 Functions of switches (1/2)
Switch
Switch setting
Description
Factory-setting
VDD
ON
Does not output the VDD from the
M34282T5-OPT to the target system.
OFF
ON
L
OFF
OFF
SW1
OFF
VDD
ON
Outputs the VDD from the M34282T5-
OPT to the target system.
CPUSE0
H
Sets the ROM type of MCU.
For M1: "L"
L
SW2
SW3
CPUEL0
H
For M2: "H"
H
H
H
L
CPUSEL1
H
This switch is not used.
Do not change the CPUSEL1 setting.
H
L
OFF
The pulldown resistors of ports G0
and G1 are OFF.
OFF
ON
ON
SW4
OFF
OFF
The pulldown resistors of ports G0
and G1 are ON.
ON
( 15 / 38 )
Download from Www.Somanuals.com. All Manuals Search And Download.
Table 4.3 Functions of switches (2/2)
Switch
Switch setting
OFF
Description
Factory-setting
The pulldown resistors of ports G2
and G3 are OFF.
OFF
ON
ON
SW5
OFF
OFF
The pulldown resistors of ports G2
and G3 are ON.
ON
OFF
The pulldown resistor of port D4 is
OFF.
OFF
ON
ON
SW6
SW7
SW8
SW9
SW10
OFF
OFF
The pulldown resistor of port D4 is
ON.
ON
OFF
The pulldown resistor of port D5 is
OFF.
OFF
ON
ON
OFF
OFF
The pulldown resistor of port D5 is
ON.
ON
OFF
The pulldown resistor of port D6 is
OFF.
OFF
ON
OFF
OFF
OFF
OFF
The pulldown resistor of port D6 is
ON.
ON
ON
OFF
The pulldown resistor of port D7 is
OFF.
OFF
ON
OFF
The pulldown resistor of port D7 is
ON.
ON
OFF
ON
ON
OFF
The pulldown resistor of port E0 is
OFF.
ON
OFF
The pulldown resistor of port E0 is
ON.
ON
( 16 / 38 )
Download from Www.Somanuals.com. All Manuals Search And Download.
4.4 Check Pins
The M34282T5-OPT has the check pins listed in Table 4.4.
Table 4.4 Check pins
Pin
Description
TP1
TP2
VDD
XIN
Outputs power voltage +3 V to the evaluation MCU.
Outputs system clock input to the evaluation MCU.
Outputs "H" level when executing WRST instruction.
TP4
TP5
WRST By observing pulse width, it is possible to confirm the initializing cycle of the
watchdog timer.
GND
GND
4.5 Connectors
Table 4.5 lists the functions of connectors of the M34282T5-OPT. Figure 4.3 shows the connector
locations.
Table 4.5 Connector list
Connector
Description
J1
J2
J3
J4
J5
Connects the evaluation MCU bus.
Connects the monitor CPU bus.
Connects the target system (40-pin).
Connects external trigger signal (2-pin).
Connects the oscillator board (4-pin).
Figure 4.3 Connector locations
( 17 / 38 )
Download from Www.Somanuals.com. All Manuals Search And Download.
(1) Connector J3
Table 4.6 lists the pin assignments of 40-wire half-pitch connector (J3) for connecting the
PCA4029. And Figure 4.4 shows the J3 connector pin layout.
Table 4.6 40-wire half-pitch connector (J3) for connecting PCA4029
Line A
Line B
Line C
Line D
Pin No. Signal
I/O Pin No. Signal
I/O Pin No. Signal
I/O Pin No. Signal
I/O
O
1
2
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
1
2
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
1
2
VSS
E2
O
I
1
2
VDD
CARR
D0
O
3
3
3
E1
I/O
-
3
O
4
4
4
XIN
XOUT
E0
4
D1
O
5
5
5
-
5
D2
O
6
6
6
I/O
I/O
I/O
I/O
I/O
6
D3
O
7
7
7
G0
7
D4
I/O
I/O
I/O
I/O
8
8
8
G1
8
D5
9
9
9
G2
9
D6
10
10
10
G3
10
D7
* "I" in the I/O column denotes "Input"; "O" denotes "Output"; "I/O" denotes "Input/output"; "-"
denotes "Not connected".
Figure 4.4 J3 connector pin layout
(2) J4 connector
For the J4 connector, use the 2-wire external trigger signal cable included with your M34282T5-
OPT board. Connect the black clip to GND and the white clip to the external trigger signal input.
An external trigger signal is used to cause an external trigger break or set an external trigger-
based trace point. Table 4.7 lists the pin assignments of the J4 connector.
Table 4.7 Pin assignments of J4 connector
Pin No.
Signal
TRIG
GND
Description
External trigger signal input
GND
1
2
( 18 / 38 )
Download from Www.Somanuals.com. All Manuals Search And Download.
(3) J5 connector
The J5 connector is a connector used to connect an oscillator board (OSC-2). Table 4.8 lists the
pin assignments of the J5 connector. Figure 4.5 shows the pin layout of the J5 connector. For the
4.0MHz operation with the OSC-2 oscillator board, see Figure 4.6.
Table 4.8 Pin assignments of J5 connector
Pin No.
Signal
VCC
Description
Power supply
GND
1
2
3
4
GND
CLK
Clock input
GND
GND
Figure 4.5 Pin layout of J5 connector
Figure 4.6 Circuit diagram of OSC-2 (4.0 MHz)
( 19 / 38 )
Download from Www.Somanuals.com. All Manuals Search And Download.
4.6 Connecting MCU Board to Target System
Figure 4.7 shows the connection to the target system using the 20-wire normal-pitch cable.
Connect the M34282T5-OPT with the IC socket for 2.54-mm-pitch 20-pin DIP (e.g. IC26-2003-GS4:
made by Yamaichi Electronics Co., Ltd.) on the target system using the included 20-wire normal-pitch
flat cable.
However, the M34282T5-OPT cannot be connected to the foot pattern of the MCU package (20P2N-
A or 20P2E/F-A).
For this connection, you need three accessory parts listed below:
(1) 40-wire half-pitch cable (40 cm)
(2) Pitch converter board PCA4029
(3) 20-wire normal-pitch cable (10 cm)
Table 4.9 lists the connector signal assignments of the 20-wire normal-pitch cable. Figure 4.8 shows
the pin layout of the 20-wire normal-pitch cable.
Figure 4.7 Connecting target system
( 20 / 38 )
Download from Www.Somanuals.com. All Manuals Search And Download.
Table 4.9 20-wire normal-pitch cable pin assignments
20-wire normal-pitch cable
1
2
VSS
20
19
18
17
16
15
14
13
12
11
VDD
CARR
D0
E2
3
E1
4
XIN (not connected)
D1
5
XOUT (not connected)
D2
6
E0
G0
G1
G2
G3
D3
7
D4
8
D5
9
D6
10
D7
*1 The VDD does not input the power supply voltage from the target system, but outputs from the
power circuit on the M34282T5-OPT to the target system.
The VDD can output by setting the switch SW1. For how to set the switches, refer to "4.3 Switches"
(page 15).
*2 XIN is input from the oscillator circuit board OSC-2 and cannot be input from the oscillator circuit
board on the target system.
When changing the system clock frequency, change the frequency of the oscillator circuit board
OSC-2 to use.
Figure 4.8 Pin layout of 20-wire normal-pitch cable
( 21 / 38 )
Download from Www.Somanuals.com. All Manuals Search And Download.
An evaluation MCU on the M34282T5-OPT and the target system are connected as shown below.
(1) Pin connected directly to the target system (1 type, 1 line)
• VSS
(2) Pins connected to the target system via emulation circuits etc. (5 types, 17 lines)
• G0 to G3
• D0 to D7
• E0 to E2
• CARR
• VDD
(3) Pins not connected to the target system (2 types, 2 lines)
• XIN
• XOUT
* With the M34282T5-OPT, XIN and XOUT pins are not connected to the target system. Therefore,
when changing the system clock frequency, change the frequency of the oscillator circuit board
OSC-2.
4.7 LED
Figure 4.9 shows the LED layout of M34282T5-OPT. The LED lights in green when the power is
supplied to the MCU board.
Figure 4.9 Layout of LED
( 22 / 38 )
Download from Www.Somanuals.com. All Manuals Search And Download.
5. Precautions to Be Taken When Debugging
5.1 Reset
The M34282T5-OPT can be reset by the reset command of emulator debugger RTT72, but cannot
emulate device operation at power-on reset. Use an evaluation MCU (OTP version) to verify the
operation associated with power-on reset.
5.2 Capacity of Internal Memory (ROM, RAM)
The M34282T5-OPT is equipped with the M34282E2GP as an evaluation MCU. The RAM and
ROM areas that can be referenced by emulator debugger RTT72 are specified by switches SW2 and
SW3 as listed in Table 5.1.
Table 5.1 Memory areas that can be referenced by emulator debugger RTT72
Switch setting
RAM area
ROM area
SW3
"H"
SW2
00h - 0Bh
000h - 3FFh
(9 bits x 1024 words)
10h - 1Bh
20h - 2Bh
30h - 3Bh
"L"
(4 bits x 48 words)
(4 bits x 64 words)
000h - 7FFh
(9 bits x 2048 words)
"H"
00h - 3Fh
* Addresses in the RAM area are shown as described below according to the data pointer registers
X and Y.
Example: RAM address XXh
Y (Y = 0 to B, or Y = 0 to F)
X (X = 0 to 3)
5.3 Watchdog Timer
With the M34282T5-OPT, the watchdog timer cannot be operated. Therefore use an evaluation MCU
(OTP version) to verify the operation associated with the watchdog timer function.
And with the M34282T5-OPT, when executing WRST instruction, the check pin TP4 outputs "H"
level (see Figure 5.1), so you can check the initializing cycle of the watchdog timer by monitoring
the pulse width frequency of TP4.
System clock XIN
WRST
Figure 5.1 Output waveform of check pin TP4
( 23 / 38 )
Download from Www.Somanuals.com. All Manuals Search And Download.
5.4 System Clock
Depending on how the instruction clock is set, use the M34282T5-OPT in the range of frequencies
listed in table 5.2.
When the instruction clock is set to STCK = f(XIN) and the system clock frequency is over 500 kHz,
the emulator may not work properly.
Table 5.2 Operating frequencies of the M34282T5-OPT
Voltage
Instruction clock
STCK = f(XIN)/8
STCK = f(XIN)
Frequency
4.0 MHz or less
500 kHz or less
3 V
* To change the system clock frequency, change the clock frequency of the oscillator circuit board
OSC-2. For details about the oscillation circuit constant, consult your oscillator manufacturer.
5.5 Real-time Capability of Timer
As the evaluation MCU is active even when program execution is stopped or when a command is
executed, its timer values are modified.
Examples: (1) When single-stepping instructions
(2) After program execution stopped
5.6 Power-down Mode
Although the M34282T5-OPT can execute a program using the POF instruction, there are precau-
tions and restrictions listed in Table 5.3.
Table 5.3 Precautions for power-down mode.
Description
Although SAFE and ERROR LEDs of the PC4000E light up in the power-down mode, it is not
an error condition.
1
Do not use the POF instruction when single-stepping a program. The POF instruction can not
be executed correctly when stepped through.
2
No debug command of emulator debugger RTT72 can be executed. In the power-down mode,
execute the debug command after resuming by the key-on wakeup function.
3
The real-time trace result of the area including the POF instruction cannot be displayed
normally.
4
( 24 / 38 )
Download from Www.Somanuals.com. All Manuals Search And Download.
5.7 Program Execution (G, GB)
The PC4400 and the M34282T5-OPT'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 break points 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 5.1)
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 5.2)
Program example 5.1
LA
LA
LA
XAM
0
1
2
3
POINT:
; Continuous description of instructions
POINT+2:
If a break is set at POINT, execution is halted immediately before the XAM instruction at
address POINT+2.
Program example 5.2
LA
LA
LA
XAM
0
1
2
3
POINT:
; Continuous description of instructions
POINT+1:
POINT+2:
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.
( 25 / 38 )
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 break point set in the skipped
instruction does not cause execution to halt. (See Program examples 5.3 and 5.4)
Program example 5.3
LXY 0,0
SZD
POINT:
POINT_A:
B
TAM
jmp_adr
0
; Skip when D(0) = 0
•
•
If a break point is set at POINT,
D(0) = 0: Execution is halted immediately before the instruction at POINT.
D(0) = 1: Execution is NOT halted because the instruction at POINT is skipped.
To halt execution immediately after a skip instruction, set break points at POINT and POINT_A.
Program example 5.4
RC
INY
POINT:
TABP
; Skip when (Y) = 0
LA
•
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.
( 26 / 38 )
Download from Www.Somanuals.com. All Manuals Search And Download.
5.8 Pulldown Transistor Control
Since ports D4 to D7, E0 and G0 to G3 contain emulation circuits, you can not control the pulldown
resistors using the pulldown control register. If you want to use the internal pulldown resistors, turn
on switches SW4 to SW10 when occasion demands. With the M34282T5-OPT, the port's resistance
value of the pulldown resistor is 150 kΩ.
When changing the resistance value of the pulldown resistor, replace RA1 (ports E0, G3 to G0) and
RA2 (ports G7 to G4) on the M34282T5-OPT. For the position of the pulldown resistor, see Figure 4.3.
5.9 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 M34282T5-OPT, output timings are different from those of the actual MCUs for
the ports D0 to D7, E0 and G0 to G3 that are configured with port emulation circuits.
With the actual MCUs, changes occur at the beginning of the T4 state of an output instruction.
With the M34282T5-OPT, changes occur at the beginning of the T2 state of the next output
instruction. Figure 5.2 shows the port timings of the actual MCUs and M34282T5-OPT.
Port output timings of ports E1, E2 and CARR are the same as with the actual MCUs.
Output Instruction
Next output Instruction
Instruction clock
STCK
Ports D, E and G
output timing
of actual MCU
Port D
output timing
of M34282T5-OPT
Port E
output timing
of M34282T5-OPT
Port G
output timing
of M34282T5-OPT
Figure 5.2 Ports D, E and G output timings
( 27 / 38 )
Download from Www.Somanuals.com. All Manuals Search And Download.
5.10 Port I/O Characteristics
With the M34282T5-OPT, port I/O characteristics are different from actual MCUs because there is
an emulation circuit in ports E0, G0 to G3 and D0 to D7. Table 5.4 lists port I/O characteristics of the
M34282T5-OPT.
Table 5.4 Emulation port I/O characteristics
Port
Device
Item
Voltage
VCC = 2.0 V
VCC = 4.5 V
VCC = 2.0 V
VCC = 4.5 V
-
Min.
Remarks
Max.
-
1.5 V
VIH
3.15 V
-
Input 74HC541
-
-
-
0.5 V
1.35 V
-100 µA
-1.8 V
-2.0 V
-
VIL
ICEX
E0
VOUT = -50 V
VIN = VIL, IOUT = -100 mA
VIN = VIL, IOUT = -350 mA
Output TD62787
Input 74HC541
Output TD62787
VCE(sat)
-
-
VCC = 2.0 V
VCC = 4.5 V
VCC = 2.0 V
VCC = 4.5 V
-
1.5 V
VIH
3.15 V
-
-
-
-
0.5 V
1.35 V
-100 µA
-1.8 V
-2.0 V
-
VIL
G0 to G3
ICEX
VOUT = -50 V
VIN = VIL, IOUT = -100 mA
VIN = VIL, IOUT = -350 mA
VCE(sat)
-
-
VCC = 2.0 V
VCC = 4.5 V
VCC = 2.0 V
VCC = 4.5 V
-
1.5 V
D0 to D3
D4 to D7
VIH
3.15 V
-
Input 74HC541
-
-
-
0.5 V
1.35 V
-100 µA
-1.8 V
-2.0 V
-
VIL
ICEX
VOUT = -50 V
Output
VIN = VIL, IOUT = -100 mA
VIN = VIL, IOUT = -350 mA
IOH = -50 µA
TD62787
74VHC08
VCE(sat)
-
-
VCC = 2.0 V
VCC = 4.5 V
VCC = 2.0 V
VCC = 4.5 V
1.5 V
VOH
VOL
IOH = -8 mA
3.15 V
-
CARR Output
IOL = 50 µA
-
-
0.1 V
0.44 V
IOL = 8 mA
( 28 / 38 )
Download from Www.Somanuals.com. All Manuals Search And Download.
5.11 External Trigger
(1) External trigger signal input timing
The latch timing of the external trigger signal is shown in Figure 5.3.
Output Instruction
Next output Instruction
Instruction clock
STCK
External trigger
signal
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 trigger 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 signals are shown in Table 5.5 below. See the table
before using external trigger signals.
Table 5.5 External trigger signal input characteristics
Item
Symbol
Voltage
Minimum
Maximum
VCC = 2.0 V
VCC = 4.5 V
VCC = 2.0 V
VCC = 4.5 V
1.5 V
-
H-level threshold voltage
VIH
3.15 V
-
-
-
0.5 V
1.35 V
VIL
L-level threshold voltage
5.12 Other Precautions
With the M34282T5-OPT, the system which uses the function below cannot be emulated. Therefore,
always be sure to evaluate your system with an evaluation MCU (OTP version).
• Low-voltage detection function
( 29 / 38 )
Download from Www.Somanuals.com. All Manuals Search And Download.
MEMO
( 30 / 38 )
Download from Www.Somanuals.com. All Manuals Search And Download.
6. LED of PC4000E
6.1 LED Indication at Emulator Startup
The emulator checks the PC4400 system immediately after startup. During system check the
PC4000E's SAFE LED flashes and the ERROR LED stays on steady. If the SAFE LED does not flash,
it means that the system check program is not operating. In such a case, check whether the PC4000E,
PC4400 card cage and each circuit board are fitted correctly. When the system check is completed,
the emulator status is indicated by the LEDs on the PC4000E.
Table 6.1 shows the LED indications at startup of PC4400.
Table 6.1 LED indication at emulator startup
LED display
Condition of PC4000E
SAFE
ERROR
Turned ON
Turned OFF
The emulator has started up properly.
Following may be considered:
• Some board in the PC4400 main unit slot is not fitted in
correctly. Check whether each board is fitted correctly.
• An error is detected by the PC4400's system check. The
PC4400 system may be faulty. Contact your local distributor for
repair.
Flash alternately
6.2 LED Indication during Emulator Operation
It is possible to check the emulator status during operation by its LED indicators.
Table 6.2 shows the LED indications during emulator operation.
Table 6.2 LED indications during emulator operation
LED display
Condition of PC4000E
SAFE
ERROR
The emulator is ready to execute debug commands of emulator
debugger RTT72.
Turned ON
Turned OFF
The evaluation MCU is in the power-down mode or the emulator
system has been reset.
In this case, no debug command of emulator debugger RTT72
can be executed.
Turned ON
Turned ON
In the power-down mode, execute the debug command after
resuming by the key-on wakeup function.
( 31 / 38 )
Download from Www.Somanuals.com. All Manuals Search And Download.
MEMO
( 32 / 38 )
Download from Www.Somanuals.com. All Manuals Search And Download.
7. M34282T5-OPT Connection Circuit Diagram
Figure 7.1 shows the M34282T5-OPT connection circuit diagram. This circuit diagram depicts the
M34282T5-OPT 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.
Figure 7.1 M34282T5-OPT connection circuit diagram
( 33 / 38 )
Download from Www.Somanuals.com. All Manuals Search And Download.
MEMO
( 34 / 38 )
Download from Www.Somanuals.com. All Manuals Search And Download.
8. External Dimensions of Emulator Probe
8.1 20-pin Pin Header
Figure 8.1 shows the external dimensions of the emulator probe 2.54-mm-pitch 20-pin pin header of
the M34282T5-OPT.
Figure 8.1 External dimensions of 20-pin pin header
( 35 / 38 )
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.
( 36 / 38 )
Download from Www.Somanuals.com. All Manuals Search And Download.
M34282T5-OPT User's Manual
Rev.1.00
September 1, 2003
REJ10J0272-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.
|