Renesas SH7339, HS7339KCU01HE User Manual

REJ10B0166-0100
Additional Document for User’s Manual
Supplementary Information on Using the SH7339
Renesas Microcomputer Development Environment System
SuperH Family
E10A-USB for SH7339 HS7339KCU01HE
Rev.1.00 Revision Date: Dec. 24, 2004

Keep safety first in your circuit designs!

1. Renesas Technology Corp. puts the maximum effort into making semiconductor products better and more reliable, but there is always the possibility that trouble may occur with them. Trouble with semiconductors may lead to personal injury, fire or property damage. Remember to give due consideration to safety when making your circuit designs, with appropriate measures such as (i) placement of substitutive, auxiliary circuits, (ii) use of nonflammable material or (iii) prevention against any malfunction or mishap.

Notes regarding these materials

1. These materials are intended as a reference to assist our customers in the selection of the Renesas Technology Corp. product best suited to the customer's application; they do not convey any license under any intellectual property rights, or any other rights, belonging to Renesas Technology Corp. or a third party.
2. Renesas Technology Corp. assumes no responsibility for any damage, or infringement of any third­party's rights, originating in the use of any product data, diagrams, charts, programs, algorithms, or circuit application examples contained in these materials.
3. All information contained in these materials, including product data, diagrams, charts, programs and algorithms represents information on products at the time of publication of these materials, and are subject to change by Renesas Technology Corp. without notice due to product improvements or other reasons. It is therefore recommended that customers contact Renesas Technology Corp. or an authorized Renesas Technology Corp. product distributor for the latest product information before purchasing a product listed herein. The information described here may contain technical inaccuracies or typographical errors. Renesas Technology Corp. assumes no responsibility for any damage, liability, or other loss rising from these inaccuracies or errors. Please also pay attention to information published by Renesas Technology Corp. by various means, including the Renesas Technology Corp. Semiconductor home page (http://www.renesas.com).
4. When using any or all of the information contained in these materials, including product data, diagrams, charts, programs, and algorithms, please be sure to evaluate all information as a total system before making a final decision on the applicability of the information and products. Renesas Technology Corp. assumes no responsibility for any damage, liability or other loss resulting from the information contained herein.
5. Renesas Technology Corp. semiconductors are not designed or manufactured for use in a device or system that is used under circumstances in which human life is potentially at stake. Please contact Renesas Technology Corp. or an authorized Renesas Technology Corp. product distributor when considering the use of a product contained herein for any specific purposes, such as apparatus or systems for transportation, vehicular, medical, aerospace, nuclear, or undersea repeater use.
6. The prior written approval of Renesas Technology Corp. is necessary to reprint or reproduce in whole or in part these materials.
7. If these products or technologies are subject to the Japanese export control restrictions, they must be exported under a license from the Japanese government and cannot be imported into a country other than the approved destination. Any diversion or reexport contrary to the export control laws and regulations of Japan and/or the country of destination is prohibited.
8. Please contact Renesas Technology Corp. for further details on these materials or the products contained therein.

Contents

Section 1 Connecting the Emulator with the User System................................1
1.1 Components of the Emulator............................................................................................1
1.2 Connecting the Emulator with the User System ...............................................................2
1.3 Installing the H-UDI Port Connector on the User System................................................3
1.4 Pin Assignments of the H-UDI Port Connector................................................................3
1.5 Recommended Circuit between the H-UDI Port Connector and the MPU.......................6
1.5.1 Recommended Circuit (36-Pin Type)..................................................................6
1.5.2 Recommended Circuit (14-Pin Type)..................................................................9
Section 2 Software Specifications when Using the SH7339 .............................11
2.1 Differences between the SH7339 and the Emulator .........................................................11
2.2 Specific Functions for the Emulator when Using the SH7339..........................................16
2.2.1 Break Condition Functions..................................................................................16
2.2.2 Trace Functions....................................................................................................17
2.2.3 Notes on Using the JTAG (H-UDI) Clock (TCK) and AUD Clock (AUDCK)...23
2.2.4 Notes on Setting the [Breakpoint] Dialog Box....................................................23
2.2.5 Notes on Setting the [Break Condition] Dialog Box and
the BREAKCONDITION_ SET Command ........................................................25
2.2.6 Note on Setting the UBC_MODE Command......................................................25
2.2.7 Performance Measurement Function...................................................................26
2.2.8 Notes on U Standby State....................................................................................31
i
ii

Section 1 Connecting the Emulator with the User System

1.1 Components of the Emulator

Table 1.1 lists the components of the emulator.
Table 1.1 Components of the Emulator
Classi­fication Component Appearance
Hard­ware
Soft­ware
Note: Additional document for the MPUs supported by the emulator is included. Check the target
Emulator box 1 HS0005KCU01H:
User system interface cable
User system interface cable
USB cable 1 Length: 150 cm, Mass: 50.6 g
SH7339 E10A-USB emulator setup program, SuperH E10A-USB Emulator User’s Manual, Supplementary Information on Using the SH7339*, and Test program manual for HS0005KCU01H and HS0005KCU02H
MPU and refer to its additional document.
TM
Family
Quan­tity Remarks
Depth: 65.0 mm, Width: 97.0 mm, Height: 20.0 mm, Mass: 72.9 g
or HS0005KCU02H:
Depth: 65.0 mm, Width: 97.0 mm, Height: 20.0 mm, Mass: 73.7 g
1 14-pin type:
Length: 20 cm, Mass: 33.1 g
1 36-pin type:
Length: 20 cm, Mass: 49.2 g (only for HS0005KCU02H)
1 HS0005KCU01SR,
HS0005KCU01HJ, HS0005KCU01HE,
HS7339KCU01HJ, HS7339KCU01HE,
HS0005TM01HJ, and HS0005TM01HE (provided on a CD-R)
1

1.2 Connecting the Emulator with the User System

To connect the E10A-USB emulator (hereinafter referred to as the emulator), the H-UDI port connector must be installed on the user system to connect the user system interface cable. When designing the user system, refer to the recommended circuit between the H-UDI port connector and the MPU. In addition, read the E10A-USB emulator user's manual and hardware manual for the related device.
Table 1.2 shows the type number of the emulator, the corresponding connector type, and the use of AUD function.
Table 1.2 Type Number, AUD Function, and Connector Type
Type Number Connector AUD Function
HS0005KCU02H 36-pin connector Available HS0005KCU01H 14-pin connector Not available
The H-UDI port connector has the 36-pin and 14-pin types as described below. Use them according to the purpose of the usage.
1. 36-pin type (with AUD function) The AUD trace function is supported. A large amount of trace information can be acquired in realtime. The window trace function is also supported for acquiring memory access in the specified range (memory access address or memory access data) by tracing.
2. 14-pin type (without AUD function) The AUD trace function cannot be used because only the H-UDI function is supported. For tracing, only the internal trace function is supported. Since the 14-pin type connector is smaller than the 36-pin type (1/2.5), the area where the connector is installed on the user system can be reduced.
2

1.3 Installing the H-UDI Port Connector on the User System

Table 1.3 shows the recommended H-UDI port connectors for the emulator.
Table 1.3 Recommended H-UDI Port Connectors
Connector Type Number Manufacturer Specifications
36-pin connector
14-pin connector 2514-6002 Minnesota Mining &
DX10M-36S Screw type DX10M-36SE,
DX10G1M-36SE
Hirose Electric Co., Ltd.
Lock-pin type
14-pin straight type
Manufacturing Ltd.
Note: When designing the 36-pin connector layout on the user board, do not connect any
components under the H-UDI connector. When designing the 14-pin connector layout on the user board, do not place any components within 3 mm of the H-UDI port connector.

1.4 Pin Assignments of the H-UDI Port Connector

Figures 1.1 and 1.2 show the pin assignments of the 36-pin and 14-pin H-UDI port connectors, respectively.
Note: Note that the pin number assignments of the H-UDI port connector shown on the
following pages differ from those of the connector manufacturer. For the pin number assignments of the SH7339, refer to the hardware manual.
3
Pin
Signal
No.
AUDCK
1 2
GND
3
AUDATA0
4
GND
5
AUDATA1
6
GND AUDATA2
7 8
GND AUDATA3
9 10
GND
11
/AUDSYNC
12
GND
13
NC
14
GND
*2
15
/CA
16
GND
17
TCK
18
GND
1. Input to or output from the user system.
Notes:
Input/
*1
Output Output
Output
Output
Output
Output
*2
Output
Output
Input
SH7339 Pin No.
H2
J4
K2
J3
M3
P2
H3
J2
Note
Pin No.
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
Signal TMS
GND
*2
/TRST
*4
(GND) TDI GND
TDO GND
/ASEBRKAK
GND UVCC GND /RESETP
*2
GND
*3
GND GND NC GND
Input/ Output
Input
Input
Input
Output
*2
Output
Output
Output
Output
2. The slash (/) means that the signal is active-low.
3. The emulator monitors the GND signal of the user system and detects whether or not the user system is connected.
4. The /ASEMD0 pin must be 0 when the emulator is connected and 1 when the emulator is not connected, respectively. (1) When the emulator is used: /ASEMD0 = 0 (2) When the emulator is not used: /ASEMD0 = 1 To allow the /ASEMD0 pin to be GND by connecting the user system interface cable, connect pin 22 directly to the /ASEMD0 pin. Do not ground the pin.
*1
SH7339 Pin No.
K3
L2
K4
L3
N2
F5
Note
User reset
4.09
Edge of the board (connected to the connector)
4
2
+0.2
φ
2.8
0
3
1
21.59
37.61
43.51
: Pattern inhibited area
H-UDI port connector (top view)
1.27
+0.1
36
φ
0.7
0
4.5
1.1
9.0
1.905
35
H-UDI port connector (front view)
H-UDI port connector
(Pin 1 mark)
(top view)
M
2
.6 x 0.45
3.9
Unit: mm
9.0
0.3
4.8
Figure 1.1 Pin Assignments of the H-UDI Port Connector (36 Pins)
4
Input/
Pin No. Signal
1 2 3 4 5 6 7 8 9 11 10, 12, and 13 14
Notes:
TCK /TRST TDO /ASEBRKAK TMS TDI /RESETP /CA (GND) UVCC GND
GND
1. Input to or output from the user system.
2. The slash (/) means that the signal is active-low.
3. The emulator monitors the GND signal of the user system and detects whether or not the user system is connected.
4. The /ASEMD0 pin must be 0 when the emulator is connected and 1 when the emulator is not connected, respectively. (1) When the emulator is used: /ASEMD0 = 0 (2) When the emulator is not used: /ASEMD0 = 1 To allow the /ASEMD0 pin to be GND by connecting the user system interface cable, connect pin 22 directly to the /ASEMD0 pin. Do not ground the pin.
*2
*2
*2
*2 *4
*3
Output*
Input Input Output Output Input Input Output Output
Output
Output
1
SH7339 Pin No.
J2 L2 L3 N2 K3 K4 F5 H3
Note
User reset
Pin 1 mark
Pin 8 Pin 1
Pin 1 mark
H-UDI port connector
25.0
23.0
6 x 2.54 = 15.24
(2.54)
(top view)
H-UDI port connector
(top view)
Pin 14 Pin 7
0.45
Unit: mm
Figure 1.2 Pin Assignments of the H-UDI Port Connector (14 Pins)
5
1.5 Recommended Circuit between the H-UDI Port Connector and the
MPU

1.5.1 Recommended Circuit (36-Pin Type)

Figure 1.3 shows a recommended circuit for connection between the H-UDI and AUD port connectors (36 pins) and the MPU when the emulator is in use.
Notes: 1. Do not connect anything to the N.C. pins of the H-UDI port connector.
2. The /ASEMD0 pin must be 0 when the emulator is connected and 1 when the
emulator is not connected, respectively. (1) When the emulator is used: /ASEMD0 = 0 (2) When the emulator is not used: /ASEMD0 = 1 Figure 1.3 shows an example of a circuit that allow the /ASEMD0 pin to b e GND (0) whenever the emulator is connected by using the user system interface cable. When the /ASEMD0 pin is changed by switches, etc., ground pin 22. Do not connect this pin to the /ASEMD0 pin.
3. When a network resistance is used for pull-up, it may be affected by a noise. Separate
TCK from other resistances.
4. The /CA signal in the user system is input to the /CA pin of the MPU. Connect this
signal to the H-UDI port connector as the output from the user system.
5. When the emulator is used, the /CA pin must be pulled up by a resistance of several
kilo-ohms whether the U-standby function is used or not.
6. The /TRST pin must be at the low level for a certain period when the power is
supplied whether the H-UDI is used or not. Reduce the power supplied to the /TRST pin by pulling the pin up by a resistance of several kilo-ohms and setting HIZB8 = 0 in the HIZCRB register after a reset.
7. The pattern between the H-UDI port connector and the MPU must be as short as
possible. Do not connect the signal lines to other components on the board.
8. Since the H-UDI and the AUD of the MPU operate with the VccQH, supply only the
VccQH to the UVCC pin. Make the emulator’s switch settin gs so that the VccQH will be supplied (SW2 = 1 and SW3 = 1) (as shown in figure 1.3).
9. The resistance values shown in the figure are recommended.
10. For the pin processing in cases where the emulator is not used, refer to the hardware
manual of the related MPU.
11. Either 3.0 V or 1.8 V can be selected as VccQ for the /CA pin or the /RESETP pin due
to the MPU specifications. These pins must be pulled up by the voltage lev el of VccQ. In addition, when VccQ is selected as 1.8 V, VccQ is boosted because the lower limit of the emulator’s UVCC or VccQH voltage is 2.5 V. However, it does not affect MPU’s operation.
6
12. For the AUDCK pin, guard the pattern between the H-UDI port connector and the
MPU at GND level.
7
Loading...
+ 30 hidden pages