Renesas SH7362 User Manual

To our customers,
Old Company Name in Catalogs and Other Documents
On April 1st, 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas companies.
Therefore, although the old company name remains in this document, it is a valid
Renesas Electronics document. We appreciate your understanding.
Issued by: Renesas Electronics Corporation (http://www.renesas.com) Send any inquiries to http://www.renesas.com/inquiry
Electronics Corporation took over all the business of both
Renesas Electronics website: http://www.renesas.com
st
, 2010
April 1 Renesas Electronics Corporation
.
Notice
1. All information included in this document 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 Electronics products listed herein, please confirm the latest product information with a Renesas Electronics sales office. Also, please pay regular and careful attention to additional and different inform ation to be disclosed by Renesas Electronics such as that disclosed through our website.
2. Renesas Electronics does not assume any liability for infringement of patents, copyrig hts, or other intellectual property rights
of third parties by or arising from the use of Renesa s Electronics products or technical information described in this document. No license, express, implied or otherwise, is granted hereby under any patents, copyrights or other intellectual property rights of Renesas Electronics or others.
3. You should not alter, modify, copy, or otherwise misappropriate any Renesas Electronics product, w hether in whole or in part.
4. Descriptions of circuits, software and other related information in this document are provided only to illustrate the operation of
semiconductor products and application examples. You are fully responsible for the incorporation of these circuits, software, and information in the design of your equipment. Renesas Electronics assumes no responsi bility for any losses incurred by you or third parties arising from the use of these circuits, software, or information.
5. When exporting the products or technology described in this document, you should comply with the applicable export control
laws and regulations and follow the procedures required by such laws and regulations. You sho uld not use Renesas Electronics products or the technolog y described in this document for any purpose relating to military applications or use by the military, including but not limited to the development of weapons of mass destruction. Renesas Electronics products and technology may not be used for or incorporate d into any products or systems whose manufac ture, use, or sale is prohibited under any applicable domestic or foreign laws or regulations.
6. Renesas Electronics has used reasonable ca re in preparing the information included in this document, but Renesas Electronics
does not warrant that such information is error free. Renesas Electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein.
7. Renesas Electronics products are classified according to the following three quality grades: “Standard”, “High Quality”, and
“Specific”. The recommended applications for each Renesas Electronics product depends on the product’s quality grade, as indicated below. You must check the quality grade of each Renesas Electronics product before using it in a particular application. You may not use any Renesa s Electronics product for any application categorized as “Specific” without the prior written consent of Renesas Electronic s. Further, you may not use any Renesas Electronics product for any application for which it is not intended without the prior written consent of Renesas Electronics. Renesas Electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for an application categorized as “Spec ific” or for which the product is not intended where you have failed t o obtain the prior written consent of Renesas Electronics. The quality grade of each Renesas Electronics product is “Standard” unless otherwise expressly specified in a Renesas Electronics data sheets or data books, etc.
“Standard”: Computers; office equipment; communications equipment; test and measurement equipment; audio and visual
“High Quality”: Transportation equipment (automobiles, trains, ships, etc.); traffic control systems; anti-disaster systems; anti-
“Specific”: Aircraft; aerospace equipment; submersible repeaters; nuclear reactor control systems; medical equipment or
8. You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics,
especially with respect to the maximum rating, operating supply voltage range, movement power voltage range, heat radiation characteristics, installation and othe r product characteristics. Renesas Elec tronics shall have no liability for malfunctions or damages arising out of the use of Renesa s Electronics products beyond such specified ranges.
9. Although Renesas Electronics endeavors to improve the quality and reliability of its products, se miconductor products have
specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions. Further, Renesas Electronics products are not subject to radiation resistance design. Please be sure to implement safety measure s to guard them against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a Renesas Electronics 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 appropriate measures. Because the evaluation of microcomputer software alone is very difficult, please evaluate the safety of the final products or system manufactured by you.
10. Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental
compatibility of each Renesas Electronics product. Please use Renesas Electronics products in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances, including without limitation, the EU RoHS Directive. Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations.
11. This document may not be reproduced or duplicated, in any form, in whole or in part, without prior written consent of Renesas
Electronics.
12. Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this
document or Renesas Electronics products, or if you have any other inquiries.
(Note 1) “Renesas Electronics” as used in this document means Renesas Electronics Corporation and also includes its majority-
owned subsidiaries.
(Note 2) “Renesas Electronics product(s)” means any product developed or manufactured by or for Renesas Electronics.
equipment; home electronic applianc es; machine tools; personal electronic equipment; and industrial robots.
crime systems; safety equipment; and medical equipment not specifically designed for life support.
systems for life support (e.g. artificial life support devices or systems), surgical implantations, or healthcare intervention (e.g. excision, etc.), and any other applications or purposes that pose a direct threat to human life.
User’s Manual
SuperH™ Family E10A-USB Emulator
Additional Document for User’s Manual Supplementary Information on Using the SH7362
Renesas Microcomputer Development Environment System SuperH™ Family
E10A-USB for SH7362 HS7362KCU01HE
Rev.1.00 2007.08

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 ............................................................... 2
1.3 Installing the H-UDI Port Connector on the User System ................................................ 3
1.4 Pin Assignments of the H-UDI Port Connector................................................................ 4
1.5 Recommended Circuit between the H-UDI Port Connector and the MPU....................... 8
1.5.1 Recommended Circuit (36-Pin Type).................................................................. 8
1.5.2 Recommended Circuit (14-Pin Type).................................................................. 10
1.5.3 Recommended Circuit (38-Pin Type).................................................................. 12
Section 2 Software Specifications when Using the SH7362 .............................15
2.1 Differences between the SH7362 and the Emulator ......................................................... 15
2.2 Specific Functions for the Emulator when Using the SH7362..........................................20
2.2.1 Event Condition Functions ..................................................................................20
2.2.2 Trace Functions.................................................................................................... 28
2.2.3 Notes on Using the JTAG (H-UDI) Clock (TCK) and AUD Clock (AUDCK)... 38
2.2.4 Notes on Setting the [Breakpoint] Dialog Box .................................................... 38
2.2.5 Notes on Setting the [Event Condition] Dialog Box and
the BREAKCONDITION_SET Command ........................................................ 40
2.2.6 Note on Setting the UBC_MODE Command ...................................................... 40
2.2.7 Note on Setting the PPC_MODE Command ....................................................... 40
2.2.8 Performance Measurement Function ................................................................... 41
i
ii

Section 1 Connecting the Emulator with the User System

1.1 Components of the Emulator

The E10A-USB emulator supports the SH7362. Table 1.1 lists the components of the emulator.
Table 1.1 Components of the Emulator
Classi­fication Component
Hard­ware
User system interface
User system interface
USB cable 1 Length: 150 cm, Mass: 50.6 g
Soft­ware
Note: Additional document for the MPUs supported by the emulator is included. Check the target
Emulator box 1 HS0005KCU01H:
cable
cable
E10A-USB emulator setup program, SuperHTM Family E10A­USB Emulator User’s Manual, Supplementary Information on Using the SH7362*, and Test program manual for HS0005KCU01H and HS0005KCU02H
MPU and refer to its additional document.
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
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,
HS7362KCU01HJ, HS7362KCU01HE,
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 an example of recommended connection between the connector and the MPU shown in this manual. 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.
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 &
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.
3
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.
4
Pin No.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Signal
AUDC K
Input/ Output
Output
SH7362
*1
Pin No.
M15
GND
AU D ATA0
Output
L14
GND
AU D ATA1
Output
L15
GND
AU D ATA2
Output
M13
GND
AU D ATA3
Output
M14
GND
/AUDSYNC
*2
Output
M16
GND
N.C.
GND
N.C.
GND
TCK
Input
J17
GND
Notes:
1. Input to or output from the user system.
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
/ASEBRK / BRKACK
GND
UVCC
GND
/RESETP /RESETA
GND
*3
GND
GND
N.C.
GND
Input/ Output
Input
Input
Input
Output
Input/
*2
output
Output
*2
Output Output
Output
*1
SH7362 Pin No.
K13
L13
K14
K15
N13
D15 D12
User reset
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 MPMD pin is set to 0, do not connect to GND but to the MPMD pin directly.
5. Connect /RESETP and /RESETA to the user system if required, as shown in figure 1.5.
Edge of the board (connected to the connector)
4
+0.1
2
φ
2.8
0
+0.1
36
φ
0.7
0
4.5
H-UDI port connector
Note
*5
(top view)
1.1
9.0
4.09
3
1
: Pattern inhibited area
21.59
37.61
43.51
1.27
H-UDI port connector (top view)
1.905
35
H-UDI port connector (front view)
(Pin 1 mark)
Figure 1.2 Pin Assignments of the H-UDI Port Connector (36 Pins)
M
2.6
Unit: mm
x 0.45
3.9
9.0
0.3
4.8
5
1
SH7362 Pin No.
J17
L13
K15
N13
K13
K14
D15
D12
Input/
Pin No. Signal
1
2
3
4
5
6
7
8
9
11
10, 12,
and 13
14
Notes:
TCK
/TRST
TDO
/ASEBRK
/BRKACK
TMS
TDI
/RESETP
/RESETA
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.
4.
When the user system interface cable is connected to this pin and the MPMD pin is set to 0, do not connect to GND but to the MPMD pin directly.
5.
Connect /RESETP and /RESETA to the user system if required, as shown in figure 1.6.
Pin 1 mark
Output*
Input
*2
Input
Output
*2
Input/
output
Input
Input
Output
*2
Output
*4
Output
*3
Output
H-UDI port connector
Note
User reset
*5
(top view)
Pin 8 Pin 1
Pin 1 mark
25.0
23.0
6 x 2.54 = 15.24
(2.54)
H-UDI port connector
(top view)
Pin 14 Pin 7
0.45
Unit: mm
Figure 1.3 Pin Assignments of the H-UDI Port Connector (14 Pins)
6
Pin
Signal
No.
N.C.
1
N.C.
2
3
MPMD (GND)
N.C.
4
/UCON (GND)
5
AUDCK
6
N.C.
7
/ASEBRK/
8
BRKACK
/RESETP
9
/RESETA
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:
Input/ Output
*4
*3
Output
*2
*2
Input/ Output
Output
Output
Output
Output
Input
Input
Input
*1
SH7362 Pin No.
M15
N13
D15 D12
K15
J17
K13
K14
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.
AU D ATA3
N.C.
AU D ATA2
N.C.
AU D ATA1
N.C.
AU D ATA0
N.C.
/AUDSYNC
N.C.
N.C.
N.C.
N.C.
N.C.
N.C.
Input/ Output
*2
Input
Output
Output
Output
Output
*2
Output
SH7362
*1
Pin No.
L13
M14
M13
L15
L14
M16
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 MPMD pin is set to 0, do not connect to
4.
GND but to the MPMD pin directly.
5. The GND bus lead at the center of the H-UDI port connector must be grounded.
6. Connect /RESETP and /RESETA to the user system if required, as shown in figure 1.7.
137
Note
6.91
38 2
Unit: mm
25.4
H-UDI port connector (top view)
Figure 1.4 Pin Assignments of the H-UDI Port Connector (38 Pins)
7

1.5 Recommended Circuit between the H-UDI Port Connector and the MPU

1.5.1 Recommended Circuit (36-Pin Type)

Figure 1.5 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 MPMD pin must be 0 when the emulator is connected and 1 when the emulator is
not connected, respectively. (1) When the emulator is used: MPMD = 0 (2) When the emulator is not used: MPMD = 1 Figure 1.5 shows an example of circuits that allow the MPMD pin to be GND (0) whenever the emulator is connected by using the user system interface cable.
3. When a network resistance is used for pull-up, it may be affected by a noise. Separate
TCK from other resistances.
4. 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 down by a resistance of 1 kilo-ohm and setting PUL15 = 0 in the PULCR register after a reset.
5. 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.
6. Since the H-UDI and the AUD of the MPU operate with the VccQ, supply only the
VccQ to the UVCC pin. Make the emulator’s switch settings so that the user power will be supplied (SW2 = 1 and SW3 = 1).
7. The resistance values shown in figure 1.5 are for reference.
8. For the pin processing in cases where the emulator is not used, refer to the hardware
manual of the related MPU.
9. For the AUDCK pin, guard the pattern between the H-UDI port connector and the
MPU at GND level.
8
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.
VccQ_SR = 2.85-V/1.8-V I/O power supply VccQ_MFI = 2.85-V/1.8-V I/O power supply VccQ = 2.85-V I/O power supply
All pulled-up at 4.7 kΩ or more
VccQ_SR
*2
VccQ_SR
Level-shift circuit
VccQ_SR
SH7362
AUDCK
AUDATA0
AUDATA1
AUDATA2
AUDATA3
AUDSYNC
TCK
TMS
TRST
TDI
TDO
ASEBRK /BRKACK
*1
RESETP
RESETA
*3
MPMD
H-UDI port connector (36-pin type)
2
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
(GND)
GND
GND
GND
GND
GND
GND
GND
AUDCK
AUDATA0
AUDATA1
AUDATA2
AUDATA3
AUDSYNC
ASEBRK / BRKACK
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
N.C.
N.C.
TCK
TMS
TRST
TDI
TDO
UVCC
RESET
GND
N.C.
VccQ_SR
1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
35
VccQ_SRVccQ_SR
1 kΩ
Power-on reset signal
Reset signal
User system
Figure 1.5 Recommended Circuit for Connection between the H-UDI Port Connector and
MPU when the Emulator is in Use (36-Pin Type)
Notes: 1. Do not use /RESETP in the emulator after the user system has been activated.
When reset signals are used for debugging, use /RESETA.
2. Fix /RESETA as high level when it is not used.
9
3. When the voltage level of VccQ_SR (power supply for H-UDI and AUD) is 2.85 V
and that of VccQ_MFI (power supply for /RESETA) is 1.8 V, a level-shift circuit is required as shown in the figure.

1.5.2 Recommended Circuit (14-Pin Type)

Figure 1.6 shows a recommended circuit for connection between the H-UDI port connector (14 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 MPMD pin must be 0 when the emulator is connected and 1 when the emulator is
not connected, respectively. (1) When the emulator is used: MPMD = 0 (2) When the emulator is not used: MPMD = 1 Figure 1.6 shows an example of circuits that allow the MPMD pin to be GND (0) whenever the emulator is connected by using the user system interface cable.
3. When a network resistance is used for pull-up, it may be affected by a noise. Separate
TCK from other resistances.
4. 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 down by a resistance of 1 kilo-ohm and setting PUL15 = 0 in the PULCR register after a reset.
5. 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.
6. Since the H-UDI of the MPU operates with the VccQ, supply only the VccQ to the
UVCC pin. Make the emulator’s switch settings so that the user power will be supplied (SW2 = 1 and SW3 = 1).
7. The resistance values shown in figure 1.6 are for reference.
8. For the pin processing in cases where the emulator is not used, refer to the hardware
manual of the related MPU.
10
When the circuit is connected as shown in figure 1.6, 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.
VccQ_SR = 2.85-V/1.8-V I/O power supply VccQ_MFI = 2.85-V/1.8-V I/O power supply VccQ = 2.85-V I/O power supply
VccQ_SR
VccQ_SR
VccQ_SR
All pulled-up at 4.7 kΩ or more
VccQ_SR
VccQ_SR
VccQ_SR
H-UDI port connector (14-pin type)
9
(GND)
10
GND
ASEBRK
GND
GND
GND
/ BRKACK
RESET
12
13
14
TCK
TRST
TDO
TMS
TDI
N.C.
UVCC
1
2
3
4
5
6
7
8
11
1 kΩ
User system
Level-shift
*2
circuit
*3
SH7362
TCK
TRST
TDO
ASEBRK/BRKACK
TMS
TDI
RESETP
*1
RESETA
MPMD
Power-on reset signal
Reset signal
Figure 1.6 Recommended Circuit for Connection between the H-UDI Port Connector and
MPU when the Emulator is in Use (14-Pin Type)
Notes: 1. Do not use /RESETP in the emulator after the user system has been activated.
When reset signals are used for debugging, use /RESETA.
2. Fix /RESETA as high level when it is not used.
3. When the voltage level of VccQ_SR (power supply for H-UDI and AUD) is 2.85 V and that of VccQ_MFI (power supply for /RESETA) is 1.8 V, a level-shift circuit is required as shown in the figure.
11

1.5.3 Recommended Circuit (38-Pin Type)

Figure 1.7 shows a recommended circuit for connection between the H-UDI and AUD port connectors (38 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 MPMD pin must be 0 when the emulator is connected and 1 when the emulator is
not connected, respectively. (1) When the emulator is used: MPMD = 0 (2) When the emulator is not used: MPMD = 1 Figure 1.7 shows an example of circuits that allow the MPMD pin to be GND (0) whenever the emulator is connected by using the user system interface cable. When the MPMD pin is changed by switches, etc., ground pin 3. Do not connect this pin to the MPMD 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 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.
5. 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.
6. Supply only the VCCQ voltage (I/O power supply) to the UVCC and UVCC_AUD
pins because the H-UDI and AUD of the MPU operate at the VCCQ voltage, respectively. Make the emulator’s switch settings so that the user power will be supplied (SW2 = 1 and SW3 = 1).
7. The resistance value shown in figure 1.7 is for reference.
8. For the AUDCK pin, guard the pattern between the H-UDI port connector and the
MPU at GND level.
9. When the power is supplied, the TRST# pin must be low during a specified period
regardless of whether or not the H-UDI is used.
10. The GND bus lead at the center of the H-UDI port connector must be grounded.
11. For the pin processing in cases where the emulator is not used, refer to the hardware
manual of the related MPU.
12
Loading...
+ 46 hidden pages