Renesas SH7200, HS0720KCU01HE User Manual

p
r
REJ10J1465-0200
SuperHFamily E10A-USB Emulator
Supplementary Information on Using the SH2A_custom_SoC
Renesas Microcomputer Development Environment System
E10A-USB for SH2A_custom_SoC HS0720KCU01HE
Additional Document for User’s Manual
Rev.2.00 Revision Date: A
. 10, 2007
Notes regarding these materials
1. This document is provided for reference purposes only so that Renesas customers may select the appropriate Renesas products for their use. Renesas neither makes warranties or representations with respect to the accuracy or completeness of the information contained in this document nor grants any license to any intellectual property rights or any other rights of Renesas or any third party with respect to the information in this document.
2. Renesas shall have no liability for damages or infringement of any intellectual property or other rights arising out of the use of any information in this document, including, but not limited to, product data, diagrams, charts, programs, algorithms, and application circuit examples.
3. You should not use the products or the technology described in this document for the purpose of military applications such as the development of weapons of mass destruction or for the purpose of any other military use. When exporting the products or technology described herein, you should follow the applicable export control laws and regulations, and procedures required by such laws and regulations.
4. All information included in this document such as product data, diagrams, charts, programs, algorithms, and application circuit examples, is current as of the date this document is issued. Such information, however, is subject to change without any prior notice. Before purchasing or using any Renesas products listed in this document, please confirm the latest product information with a Renesas sales office. Also, please pay regular and careful attention to additional and different information to be disclosed by Renesas such as that disclosed through our website. (http://www.renesas.com )
5. Renesas has used reasonable care in compiling the information included in this document, but Renesas assumes no liability whatsoever for any damages incurred as a result of errors or omissions in the information included in this document.
6. When using or otherwise relying on the information in this document, you should evaluate the information in light of the total system before deciding about the applicability of such information to the intended application. Renesas makes no representations, warranties or guaranties regarding the suitability of its products for any particular application and specifically disclaims any liability arising out of the application and use of the information in this document or Renesas products.
7. With the exception of products specified by Renesas as suitable for automobile applications, Renesas products are not designed, manufactured or tested for applications or otherwise in systems the failure or malfunction of which may cause a direct threat to human life or create a risk of human injury or which require especially high quality and reliability such as safety systems, or equipment or systems for transportation and traffic, healthcare, combustion control, aerospace and aeronautics, nuclear power, or undersea communication transmission. If you are considering the use of our products for such purposes, please contact a Renesas sales office beforehand. Renesas shall have no liability for dama
8. Notwithstanding the preceding paragraph, you should not use Renesas products for the purposes listed below: (1) artificial life support devices or systems (2) surgical implantations (3) healthcare intervention (e.g., excision, administration of medication, etc.) (4) any other purposes that pose a direct threat to human life Renesas shall have no liability for damages arising out of the uses set forth in the above and purchasers who elect to use Renesas products in any of the foregoing applications shall indemnify and hold harmless Renesas Technology Corp., its affiliated companies and their officers, directors, and employees against any and all damages arising out of such applications.
9. You should use the products described herein within the range specified by Renesas, especially with respect to the maximum rating, operating supply voltage range, movement power voltage range, heat radiation characteristics, installation and other product characteristics. Renesas shall have no liability for malfunctions or damages arising out of the use of Renesas products beyond such specified ranges.
10. Although Renesas endeavors to improve the quality and reliability of its products, IC products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions. Please be sure to implement safety measures to guard against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a Renesas product, such as safety design for hardware and software including but not limited to redundancy, fire control and malfunction prevention, appropriate treatment for aging degradation or any other applicable measures. Among others, since the evaluation of microcomputer software alone is very difficult, please evaluate the safety of the final products or system manufactured by you.
11. In case Renesas products listed in this document are detached from the products to which the Renesas products are attached or affixed, the risk of accident such as swallowing by infants and small children is very high. You should implement safety measures so that Renesas products may not be easily detached from your products. Renesas shall have no liability for damages arising out of such detachment.
12. This document may not be reproduced or duplicated, in any form, in whole or in part, without prior written approval from Renesas.
13. Please contact a Renesas sales office if you have any questions regarding the information contained in this document, Renesas semiconductor products, or if you have any other inquiries.
ges arising out of the uses set forth above.

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 ............................................................... 3
1.3 Installing the H-UDI Port Connector on the User System ................................................4
1.4 Pin Assignments of the H-UDI Port Connector................................................................ 5
1.5 Recommended Circuit between the H-UDI Port Connector and the MCU ...................... 9
1.5.1 Recommended Circuit (36-Pin Type).................................................................. 9
1.5.2 Recommended Circuit (14-Pin Type).................................................................. 11
1.5.3 Recommended Circuit (38-Pin Type).................................................................. 13
Section 2 Software Specifications when Using the SH2A_custom_SoC..........15
2.1 Differences between the MCU and the Emulator ............................................................. 15
2.2 Specific Functions for the Emulator when Using the SH2A_custom_SoC ......................21
2.2.1 Event Condition Functions ..................................................................................21
2.2.2 Trace Functions.................................................................................................... 27
2.2.3 Notes on Using the JTAG (H-UDI) Clock (TCK)............................................... 39
2.2.4 Notes on Setting the [Breakpoint] Dialog Box .................................................... 39
2.2.5 Notes on Setting the [Event Condition] Dialog Box and
the BREAKCONDITION_ SET Command ........................................................40
2.2.6 Performance Measurement Function ................................................................... 40
i
ii
Section 1 Connecting the Emulator with the User System
1.1 Components of the Emulator
The E10A-USB emulator supports the SH2A_custom_SoC_1 and SH2A_custom_SoC_2. For the selection of the SH2A_custom_SoC_1 or SH2A_custom_SoC_2 when using the emulator, ask Renesas Technology Corp. via the sales office.
Table 1.1 lists the components of the emulator.
1
Table 1.1 Components of the Emulator
Classi­fication Component
Hard-
Emulator box 1 HS0005KCU01H:
ware
Appearance
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
User system interface
cable
User system interface
cable
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)
USB cable 1 Length: 150 cm, Mass: 50.6 g
Soft­ware
E10A-USB emulator setup program, SuperH
TM
Family E10A­USB Emulator User’s Manual, Supplementary Information on Using the SH2A_custom_SoC*, and Test program manual for HS0005KCU01H and HS0005KCU02H
1 HS0005KCU01SR,
HS0005KCU01HJ, HS0005KCU01HE,
HS0720KCU01HJ, HS0720KCU01HE,
HS0005TM01HJ, and HS0005TM01HE (provided on a CD-R)
Note: Additional document for the MCUs supported by the emulator is included. Check the target
MCU and refer to its additional document.
2
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 MCU. 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, HS0005KCU02H 14-pin connector Not available
HS0005KCU02H 38-pin connector Available
The H-UDI port connector has the 36-pin, 14-pin, and 38-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. Since the 14-pin type connector is smaller than the 36-pin type (1/2.5), the size of the area where the connector is installed on the user system can be reduced.
3. 38-pin type (with AUD function) The AUD trace function is supported. As well as the 36-pin type, a large amount of trace information can be acquired in realtime. Since the 38-pin type connector is smaller than the 36-pin type (1/2.5), the size of the area where the connector is installed on the user system can be reduced. To use the 38-pin type connector, however, an optional cable (HS0005ECK01H) is required.
3
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 &
38-pin connector 2-5767004-2 Tyco Electronics AMP K.K. 38-pin Mictor type
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. When designing the 38-pin connector layout on the user board, reduce cross-talk noise etc. by keeping other signal lines out of the region where the H-UDI port connector is situated. As shown in figure 1.1, an upper limit (5 mm) applies to the heights of components mounted around the user system connector.
DX10M-36S Screw type
DX10M-36SE, DX10G1M-36SE
Hirose Electric Co., Ltd.
Lock-pin type
14-pin straight type
Manufacturing Ltd.
4
E10A-USB optional 38-pin user system interface cable
50 mm
137
2-5767004-2
20 mm
5 mm
: Area to be kept free of other components
Target system
H-UDI port connector (top view)
38 2
Figure 1.1 Restriction on Component Mounting
1.4 Pin Assignments of the H-UDI Port Connector
Figures 1.2 through 1.4 show the pin assignments of the 36-pin, 14-pin, and 38-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.
5
(1) Pin Assignments of the 36-pin H-UDI Port Connector
Note: The signal names are standard for the SH7200 series MCU. For the pin names of MCUs
and recommended circuits for connection, ask Renesas Technology Corp. via the sales office.
Pin No.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
4.09
Signal
AUDC K
GND
AU DATA 0
GND
AU DATA 1
GND
AU DATA 2
GND
AU DATA 3
GND
AUDSYNC#
GND
N.C.
GND
N.C.
GND
TCK
GND
Notes:
φ
2.8
Input/Output
Output
*2
1. Input to or output from the user system.
2. The symbol (#) 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. When the user system interface cable is connected to this pin and the ASEMD# pin is set to 0, do not connect to GND but to the ASEMD# pin directly.
4
+0.1
2
0
3
1
: Pattern inhibited area
*1
Output
Output
Output
Output
Output
Input
Edge of the board (connected to the connector)
φ
1.27
21.59
37.61
43.51
Note
+0.1
0.7
0
H-UDI port connector (top view)
Pin No.
Signal
19
TMS
20
GND
21
TRST#
22
(GND)
23
TDI
24
GND
TDO
25
26
GND
ASEBRKAK#
27
/ ASEBRK#
28
GND
29
UVCC
30
GND
31
RES#
32
GND
33
GND
34
GND
35
N.C.
36
GND
36
4.5
1.1
9.0
1.905
35
Input/Output
*2
*4
*2
*2
*3
(Pin 1 mark)
H-UDI port connector (front view)
*1
Input
Input
Input
Output
Input/ output
Output
Output
Output
H-UDI port connector
Note
User reset
(top view)
M2.6
3.9
Unit: mm
x
0.45
9.0
0.3
4.8
Figure 1.2 Pin Assignments of the H-UDI Port Connector (36 Pins)
6
(2) Pin Assignments of the 14-pin H-UDI Port Connector
Note: The signal names are standard for the SH7200 series MCU. For the pin names of MCUs
and recommended circuits for connection, ask Renesas Technology Corp. via the sales office.
Pin No. Signal
1
2
3
4
5
6
7
8
9
11
10, 12,
and 13
14
Notes:
TCK
TRST#
TDO
ASEBRKAK#
/ ASEBRK#
TMS
TDI
RES#
N.C.
(GND)
UVCC
GND
GND
1. Input to or output from the user system.
2. The symbol (#) 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.
When the user system interface cable is connected to this pin and
4.
the ASEMD# pin is set to 0, do not connect to GND but to the ASEMD# pin directly.
Pin 1 mark
(2.54)
Input/Output*
Input
*2
*2
*2
*4
*3
H-UDI port connector
6 x 2.54 = 15.24
Input
Output
Input/
output
Input
Input
Output
Output
Output
25.0
23.0
1
(top view)
Note
User reset
H-UDI port connector
(top view)
Pin 8 Pin 1
Pin 1 mark
0.45
Pin 14 Pin 7
Unit: mm
Figure 1.3 Pin Assignments of the H-UDI Port Connector (14 Pins)
7
(3) Pin Assignments of the 38-pin H-UDI Port Connector
Pin
Signal
No.
N.C.
1
N.C.
2
3
ASEMD# (GND)
N.C.
4
UCON# (GND)
5
AUDCK
6
N.C.
7
ASEBRKAK#/
8
ASEBRK#
9
RES#
N.C.
10
TDO
11
UVCC_AUD
12
13
N.C.
14
UVCC
15
TCK
16
N.C.
17
TMS
18
N.C.
19
TDI
1. Input to or output from the user system.
Notes:
*4
*3
*2
*2
Input/ Output
Output
Input/ Output
Output
Output
Output
Output
Input
Input
Input
*1
Note
User reset
Pin No.
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Signal
N.C.
TRST#
N.C.
N.C.
AUDATA3
N.C.
AUDATA2
N.C.
AUDATA1
N.C.
AUDATA0
N.C.
AUDSYNC#
N.C.
N.C.
N.C.
N.C.
N.C.
N.C.
Input/
*1
Output
*2
Input
Output
Output
Output
Output
Output
2. The symbol (#) 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.
When the user system interface cable is connected to this pin and the ASEMD# pin is set to 0, do not connect to
4.
GND but to the ASEMD# pin directly.
5. The GND bus lead at the center of the H-UDI port connector must be grounded.
Note
137
6.91
38 2
25.4
H-UDI port connector (top view)
Unit: mm
Figure 1.4 Pin Assignments of the H-UDI Port Connector (38 Pins)
8
1.5 Recommended Circuit between the H-UDI Port Connector and the
MCU
1.5.1 Recommended Circuit (36-Pin Type)
The connection between the H-UDI and AUD port connectors and MCUs differs according to the internal circuits of the MCU in use. The following shows an example, however, ask Renesas Technology Corp. via the sales office for the pull-up, pull-down, and required logic ICs.
Figure 1.5 shows a recommended circuit for connection between the H-UDI and AUD port connectors (36 pins) and the MCU when the emulator is in use.
Notes: 1. The sections indicated by dotted lines in the figure are examples and may require logic
ICs.
2. Do not connect anything to the N.C. pins of the H-UDI port connector.
3. The ASEMD# pin must be 0 when the emulator is connected and 1 when the emulator
is not connected, respectively. (1) When the emulator is used: ASEMD# = 0 (2) When the emulator is not used: ASEMD# = 1 Figure 1.5 shows an example of circuits that allow the ASEMD# pin to be GND (0) whenever the emulator is connected by using the user system interface cable. When the ASEMD# pin is changed by switches, etc., ground pin 22. Do not connect this pin to the ASEMD# pin.
4. When a network resistance is used for pull-up, it may be affected by a noise. Separate
TCK from other resistances.
5. The pattern between the H-UDI port connector and the MCU must be as short as
possible. Do not connect the signal lines to other components on the board.
6. The AUD signals (AUDCK, AUDATA3 to AUDATA0, and AUDSYNC#) operate in
high speed. Isometric connection is needed if possible. Do not separate connection nor connect other signal lines adjacently.
7. The signal names in the figure mean the standard signals and may differ according to
the MCU in use.
8. For the pin processing in cases where the emulator is not used, refer to the hardware
manual of the related MCU.
9
When the circuit is connected as shown in figure 1.5, the switches of the emulator are set as SW2 = 1 and SW3 = 1. For details, refer to section 3.8, Setting the DIP Switches, in the SuperH
TM
Family E10A-USB Emulator User’s Manual.
H-UDI port connector (36-pin type)
2
GND
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
GND
GND
GND
GND
GND
GND
GND
GND
GND
(GND)
GND
GND
GND
GND
GND
GND
GND
AUDATA0
AUDATA1
AUDATA2
AUDATA3
AUDSYNC
ASEBRKAK /ASEBRK
AUDCK
N.C.
N.C.
TCK
TMS
TRST
TDI
TDO
UVCC
RES
GND
N.C.
PVcc
PVcc
PVcc
1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
35
Reset signal
PVcc
SoC
AUDCK
AUDATA0
AUDATA1
AUDATA2
AUDATA3
AUDSYNC
TCK
TMS
TRST
TDI
TDO
ASEBRKAK/ASEBRK
RES
ASEMD
User system
Figure 1.5 Recommended Circuit for Connection between the H-UDI Port Connector and
MCU when the Emulator is in Use (36-Pin Type)
Note: For the pin names of MCUs and recommended circuits for connection, ask Renesas
Technology Corp. via the sales office.
10
1.5.2 Recommended Circuit (14-Pin Type)
The connection between the H-UDI port connector and MCUs differs according to the internal circuits of the MCU in use. The following shows an example, however, ask Renesas Technology Corp. via the sales office for the pull-up, pull-down, and required logic ICs.
Figure 1.6 shows a recommended circuit for connection between the H-UDI port connector (14 pins) and the MCU when the emulator is in use.
Notes: 1. The sections indicated by dotted lines in the figure are examples and may require logic
ICs.
2. Do not connect anything to the N.C. pins of the H-UDI port connector.
3. The ASEMD# pin must be 0 when the emulator is connected and 1 when the emulator
is not connected, respectively. (1) When the emulator is used: ASEMD# = 0 (2) When the emulator is not used: ASEMD# = 1 Figure 1.6 shows an example of circuits that allow the ASEMD# pin to be GND (0) whenever the emulator is connected by using the user system interface cable. When the ASEMD# pin is changed by switches, etc., ground pin 9. Do not connect this pin to the ASEMD# pin.
4. When a network resistance is used for pull-up, it may be affected by a noise. Separate
TCK from other resistances.
5. The pattern between the H-UDI port connector and the MCU must be as short as
possible. Do not connect the signal lines to other components on the board.
6. The signal names in the figure mean the standard signals and may differ according to
the MCU in use.
7. For the pin processing in cases where the emulator is not used, refer to the hardware
manual of the related MCU.
11
Loading...
+ 37 hidden pages