On April 1st, 2010, NEC Electronics Corporation merged with Renesas Technology
Corporation, and Renesas Electronics Corporation took over all the business of both
companies. Therefore, although the old company name remains in this document, it is a valid
Renesas Electronics document. We appreciate your understanding.
Send any inquiries to http://www.renesas.com/inquiry
.
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 information 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, copyrights, or other intellectual property rights
of third parties by or arising from the use of Renesas 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, whether 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 responsibility 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 should not use Renesas
Electronics products or the technology 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 incorporated into any products or systems whose manufacture, use, or sale is prohibited
under any applicable domestic or foreign laws or regulations.
6. Renesas Electronics has used reasonable care in preparing the information included in this document, but Renesas Electronics
does not warrant that such informatio n 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 Renesas Electronics product for any application categorized as “Specific” without the prior
written consent of Renesas Electronics. 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 “Specific” or for which the product is not intended where you have failed to obtain the prior written
consent of Renesas Electronics. The quality grade of each Renesas Electronics product is “Standard” unless otherwise
expressly specified in a Ren esas E lectronics data sheets or dat a books, etc.
“Standard”: Computers; office equipment; communications equipment; test and measurement equipment; audio and visual
equipment; home electron ic appliances; machine tools; personal electronic equipment; and industrial robots.
crime systems; safety equipment; and medical equipment not specifically designed for life support.
“Specific”: Aircraft; aerospace equipment; submersible repeaters; nuclear reactor control systems; medical equipment or
systems for life support (e.g. artificial life support devices or systems), surgical implantations, or healthcare
intervention (e.g. excision, etc.), and any other appl i cations or purposes that pose a d irect threat to human life.
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 other product characteristics. Renesas Electronics shall have no liability for malfunctions or
damages arising out of the use of Renesas Electronics products beyond such specified ranges.
9. Although Renesas Electronics endeavors to improve the quality and reliability of its products, semiconductor products have
specific characteristics such as t he occu rrence o f failure at a certai n rate an d malfunct io ns under cert ain u se con dition s. Further,
Renesas Electronics prod ucts are not subject to radiation resistance design. Please be sure to implement safety measures 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 an d also includes its majority-
owned subsidiaries.
(Note 2) “Renesas Electronics product(s)” means any product developed or manufactured by or for Renesas Electronics.
User’s Manual
SH7670 CPU Board
M3A-HS71
Installation Manual
Renesas 32-Bit RISC Microcomputers
SuperH™ RISC engine Family/SH7670 Series
Rev.1.01 2008.05
[Indication of Warnings and Cautions]
The following explains the warnings and cautions indicated for the handling of the product.
If the product is improperly handled without regard for this indication, there will be a
WANING
CAUTION
IMPORTANT
In addition to the above, the following will be indicated as necessary.
The mark indicates a warning or caution.
Example:
possibility of inflicting death or heavy wound on persons.
If the product is improperly handled without regard for this indication, there will be a
possibility of inflicting an injury on persons or physical damage.
Indicates other important information to be observed when using the product.
Be Careful About Electric Shock
The mark indicates a prohibition.
Example:
The mark indicates a compulsory or directive instruction.
Example:
Do Not Disassemble
Unplug from Socket
Important
Before using this product, be sure to read the user’s manual (this user's manual) carefully. Keep this user’s
manual, and refer to this when you have questions about this product.
About this product:
The term “this product” referred to here mean the product manufactured by Renesas Technology
Corporation.
It does not include the user systems and host machines of the customers.
Purpose of use of this product:
This product is developed for experiencing the development environment and specification of the Renesas
32-bit RISC MCU SuperH RISC engine family /SH7670. Be sure to use this product correctly according to
said purpose of use. Please avoid using this product for other than its intended purpose of use.
For those who use this product:
This product can only be used by those who have carefully read the user’s manual and know how to use it.
Use of this product requires the basic knowledge of electric circuits, logical circuits, and MCUs.
When using this product:
(1) This product is a development supporting unit for use in your program development and evaluation
stages.
In mass-producing your program you have finished developing, be sure to make a judgment on your own risk
that it can be put to practical use by performing integration test, evaluation, or some experiment else.
(2) In no event shall Renesas Solutions Corp. be liable for any consequence arising from the use of this
product.
(3) This product has been developed by assuming its use for program development and ev aluation in
laboratories. Therefore, it does not fall under the application of Electrical Appliance and Material Safety Law
and protection against electromagnetic interference when used in Japan.
(4) Renesas Solutions Corp. cannot predict all possible situations or possible cases of misuse where a
potential danger exists. Therefore, the warnings written in this user’s manual and the warning labels attached
to this product do not necessarily cover all of such possible situations or cases. Please be sure to use this
product correctly and safely on your own responsibility.
(5) This product is designed for use in program development and evaluation stages. It cannot be embedded
in your product for mass-production purposes.
(6) Even if this product has a deficiency in its internal microcomputer, it will not be replaced with a product
which has had the microcomputer deficiencies corrected.
(7) No parts incorporated in this product may be dismantled for diverted use in other products.
(8) For the products with socket mounted, it is likely to become a loose connection by the vibration and the
shocking In this case, please reinstalls IC again.
Usage restrictions:
This product has been developed as a means of supporting system development by users. Therefore, do not
use it as a device used for equipment-embedded applications. Also, do not use it for developing the systems
or equipment used for the following purposes either:
(1) Transportation and vehicular
(2) Medical (equipment where human life is concerned)
(3) Aerospace
(4) Nuclear power control
(5) Undersea repeater
If you are considering the use of this product for one of the above purposes, please be sure to consult your
local distributor.
About product changes:
We are constantly making efforts to improve the design and performance of this product. Therefore, the
specification or design of this product or its user’s manual may be changed without prior notice.
About the rights:
(1) We assume no responsibility for any damage or infringement on patent rights or any other rights arising
from the use of any information, products or circuits presented in this user’s manual.
(2) The information or data in this user’s manual does not implicitly or otherwise grant a license for patent
rights or any other rights belonging to us or third parties.
(3) This user’s manual and this product are copyrighted, with all rights reserved by us. This user’s manual
may not be copied, duplicated or reproduced, in whole or part, without prior written consent of us.
About diagrams:
The diagrams in this user’s manual may not all represent exactly the actual object.
Table of Contents
CHAPTER1 BEFORE USING THE SH7670 CPU BOARD.................................................................1-1
1.2.1 Symbols Used ...................................................................................................................................................... 1-3
1.3 Procedure for Introducing This Product........................................................................................................................ 1-4
1.4 Operating Guarantee for This Product .........................................................................................................................1-4
1.5 Items to Be Prepared by User...................................................................................................................................... 1-5
CHAPTER2 SETTING UP THE HARDWARE.....................................................................................2-1
2.1 Connections Between SH7670 CPU board and E10A-USB Emulator ......................................................................... 2-2
2.2 SH7670 CPU board Switch Setting.............................................................................................................................. 2-2
2.2.1 SH7670 CPU board DIP Switch Setting ............................................................................................................... 2-3
2.2.2 SH7670 CPU Board Jumper Switch Setting.........................................................................................................2-3
2.3 System Connections and Power-On Sequence...........................................................................................................2-4
2.4 Procedure for Disconnecting System Power Supply....................................................................................................2-4
CHAPTER3 SETTING UP THE SOFTWARE .....................................................................................3-1
3.1 About the HEW ............................................................................................................................................................3-2
3.2 Setting Up the E10A-USB Emulator Software.............................................................................................................. 3-5
3.2.2 Setting Up the E10A-USB Emulator ..................................................................................................................... 3-9
CHAPTER4 RUNNING THE SOFTWARE ..........................................................................................4-1
4.1 Running the Software................................................................................................................................................... 4-2
4.1.1 Preparing for Downloading the Sample Software.................................................................................................4-2
4.1.2 SH7670 CPU board and E10A-USB Startup Procedure (HEW Startup)............................................................... 4-2
CHAPTER5 CREATING AND RUNNING A NEW PROJECT WORKSPACE.....................................5-1
5.1 Creating a New Project Workspace ............................................................................................................................. 5-2
5.1.1 Preparing for Creating a New Project Workspace ................................................................................................ 5-2
5.1.2 Procedure for Creating a New Project Workspace ............................................................................................... 5-2
5.2 Setting Up the Flash Memory Download...................................................................................................................... 5-8
5.2.1 Setting Up the Flash Memory Download Function................................................................................................ 5-8
5.2.2 Specifying the Command Batch File Before Downloading.................................................................................... 5-9
Rev. 1.01 May 7, 2008
REJ1 1J0015-0101
(i)
5.2.3 Activating the Command Line Window...............................................................................................................5-10
5.3.2 Removing the Standard Source Files.................................................................................................................5-10
5.3.6 Writing the Main Function (Operation Confirmation)........................................................................................... 5-21
Rev. 1.01 May 7, 2008
REJ1 1J0015-0101
(ii)
*This page is blank*
Rev. 1.01
REJ1 1J0015-0101
May 7, 2008
iii
(
)
Chapter1Before Using the SH7670 CPU Board
Chapter1
Before Using the SH7670 CPU Board
1-1
Before Using the SH7670 CPU Board
1
1.1 Overview
1.1 Overview
The SH7670 CPU board(board type name: M3A-HS71) consists of the SH7670 CPU board and the sample software.
This installation manual describes mainly how to set up the SH7670 CP U board hardware and soft ware. For more
information about SH7670 hardware and programming manual, refer to the manuals in CD-ROM included with this
product.
If there is anything that you notice about the package contents of this product, please contact Renesas Technology
Corporation, Renesas Solutions Corporation, or Renesas Technology Sales Co., Ltd. or its distributor.
To Ensure Safe and Correct Use
Safety precaution:
z This manual uses various pictorial indications to ensure the correct use of the product and
thereby prevent inflicting an injury on users or other people or causing da mage to property.
•These pictorial indications are explained in the section 1.2, “Usage Precautions.” Please be sure
to understand the contents written in that section before you use the product.
1.2 Usage Precautions
The precautions described here must be observed in order to prevent inflicting an injury on users or other people or
causing damage to property, and to ensure that this product is used safely.
To ensure the correct use, be sure to read these precautions and understand the written contents before you use the
product. Not all precautions described in this manual relate to the Renesas product alone, some of them apply to an
entire personal computer system incorporating the Renesas product also.
The following explains the warnings and cautions indicated for the handling of this product.
<Warning Indication>
Regarding the handling of this product:
z Do not use this product outdoors. It can only be used indoors.
•Do not let foreign matters such as water, pieces of metal or inflammable material get into the
board or connectors.
Regarding installation:
•Do not install t he product in h umid or wet places. Should water get int o the internal circ uit of the
product, an unrecoverable fault may result.
Regarding the working environment:
•The upper-limit ambient temperature at which this product can be used (i.e., rated maximum
ambient temperature) is 50°C. Make sure this rated maximum ambient temperature is not
exceeded.
WARNING
Rev. 1.01 May 7, 2008
REJ1 1J0015-0101
1-2
1
<Caution Indication>
Regarding the reconstruction of this product:
•Do not reconstruct this product. If the product has gotten out of order for reasons of disassembly
or reconstruction, requests for repair may not be accepted.
Regarding the handling of this product:
z Handle this product with caution, not to let it drop or fall down or apply strong mechanical shock.
z Do not touch the communication interface connector pins or other connector pins directly with
your hand. The internal circuit may be broken by static electricity.
z When moving this product to another place of installation, be careful not to apply strong vibration
or mechanical shock to it.
z After connecting each piece of equipment with cable, check the cables again to see that they are
connected correctly. For details on how to connect, refer to Chapter 2, “Setting Up the Hardware.”
z Before turning on the power for each connected piece of equipment, make sure you’ve finished
connecting all cables. Do not connect or disconnect any cable when the power is turned on.
Regarding the operating procedure for this product:
Note • Exceptional conditions or precautions are noted in an operation procedure or explanatory
description when it is necessary to call the user’s attention.
1.2.1 Symbols Used
Table 1.2.1 lists the symbols used in this manual.
Before Using the SH7670 CPU Board
1.2.1 Symbols Used
CAUTION
Table 1.2.1 Symbol List
[Menu->Menu Option]
“File name”
“Directory”
“Button"
Symbol Meaning
The arrow “Æ” indicates a menu option.
Example: File menuÆSave As…
" … " indicates file names, directory, or button of dialog box.
Example :"C:¥Workspace¥Sample_softwawe¥ SH7670_sample "
"OK" button
"resetprg.c"
Rev. 1.01 May 7, 2008
REJ1 1J0015-0101
1-3
1
1.3 Procedure for Introducing This Product
In this manual, we follow the procedure outlined in
Before Using the SH7670 CPU Board
1.3 Procedure for Introducing This Product
Figure 1.3.1 to perform the installation.
Figure 1.3.1 SH7670 CPU board Installation Procedure
1.4 Operating Guarantee for This Product
This product (hardware and software) was developed for only helping users get hands-on experience on the
functionality and development environment of the SH7670, and does not guarantee the results arising from the use of it.
The SH7670 CPU board has the type of host computer designated as its operating environment (IBM PC/AT and its
compatible). This only indicates the operating environment assumed by Renesas, and d oes not guarantee that the
SH7670 CPU board will operate normally in all relevant types of machines or in all relevant environments (e.g., device
driver and peripheral device).
Rev. 1.01 May 7, 2008
REJ1 1J0015-0101
1-4
Before Using the SH7670 CPU Board
1
1.5 Items to Be Prepared by User
1.5 Items to Be Prepared by User
The following lists the items that need to be prepared by users separately from this product.
<For SH7670 CPU board>
You need to prepare the following power supply separately from the product package in order to supply power to the
SH7670 CPU board.
Table 1.5.1 Items to Be Prepared by User (For SH7670 CPU board)
No. Item to Be Prepared by User Remark
1
5 V DC output stabilizing power supply
<For the Development Environment>
The installation described here uses the tools made by Renesas.
To use this product following the installation, you need to prepare some items separately from the product package.
The table below lists the tools made by Renesas that users should prepare.
Table 1.5.2 Items to Be Prepared by User (Renesas Tools)
No. Item to Be Prepared by User
2
E10A-USB emulator for the SuperH family
3
SuperH RISC engine C/C++ compiler package
Integrated development environment tool,
4
HEW (High-performance Embedded Workshop)
Notes:
• If you already have the E10A-USB emulator main unit and are using any device group other than the SH-2A group,
you need to purchase an “additional device group license tool” separately from the product package.
• For details on how to set up a new device group in the E10A-USB emulator, refer to Section 3.2.2, “Setting Up the
E10A-USB Emulator” in Chapter 3 of this manual.
Product Type Name
HS0005KCU02H or
HS0005KCU01H
R0C40700XSW09R Ver.9.00 release01 or more
- Ver.4.03.00 or more
1.5 A
or more
Applicable Version
One that supports the
SH-2A
1.5.1 Recommended Host Computer Environment
To use the above Renesas tools, we recommend using the host computer and the OS version listed in
below.
Table 1.5.3 Operating Environment for the Renesas Development Tools
Host Computer
Specification
CPU
Memory
Hard disk capacity
OS Windows 2000, WindowsXP
IBM PC and its compatible incorporating Pentium III or later (600 MHz or greater
recommended) and USB 1.1/2.0 (Full Speed)
128 MB or more (at least twice the load module size recommended)
Installation requires 100 MB or more of hard disk capacity.
(With the swap area taken into consideration, at least twice the memory size must be
available (four times or more recommended).)
IBM PC/AT Series and Compatibles
Table 1.5.3
Rev. 1.01 May 7, 2008
REJ1 1J0015-0101
1-5
1
Before Using the SH7670 CPU Board
1.5 Items to Be Prepared by User
*This page is blank*
Rev. 1.01 May 7, 2008 1-6
REJ1 1J0015-0101
Chapter2Setting Up the Hardware
Chapter2
Setting Up the Hardware
2-1
2
2.1 Connections Between SH7670 CPU board and E10A-USB Emulator
2.1 Connections Between SH7670 CPU board and E10A-USB Emulator
Figure 2.1.1 shows how SH7670 CPU board and E10A-USB emulator should be connected.
Setting Up the Hardware
Figure 2.1.1 System Connection of SH7670 CPU board and E10A-USB Emulator
2.2 SH7670 CPU board Switch Setting
The following describes how to set the switches of SH7670 CPU board.
CAUTION
•Do not change DIP switch and jumper settings while the SH7670 CPU board is operating. Always
be sure to turn off the power before changing DIP switch or jumper settings. This is necessary to
prevent unrecoverable damage to the SH7670 CPU board that may otherwise occur.
Rev. 1.01 May 7, 2008
REJ1 1J0015-0101
2-2
Setting Up the Hardware
2
2.2.1 SH7670 CPU board DIP Switch Setting
To use the SH7670 CPU board following the installation described here, be sure to set the DIP switch SW8 to its
default settings as shown in
Switch No. Function Initial SettingsSetting
Figure 2.2.1 and Table 2.2.1.
ON
SW8
Figure 2.2.1 DIP Switch Setting
Table 2.2.1 Switch SW8 Functions
2.2.1 SH7670 CPU board DIP Switch Setting
Board
edge
SW8-1 Set clock mode to 0 ON
SW8-2 Set clock mode to 1
SW8-3 HIF pin enable ON Cancel HIF pin activation
SW8-4 HIF boot mode specified ON Do not activate from host interface (HIF)
SW8-5 NOR flash memory OFF Cancel write protection in NOR flash memory
ON
Clock mode 0
2.2.2 SH7670 CPU Board Jumper Switch Setting
To use the SH7670 CPU board following the installation described here, b e sure to set the jumpers to their default
settings as shown in
Jumper Default Setting Function
Figure 2.2.2 and Table 2.2.2.
Figure 2.2.2 System Connection of SH7670 CPU board and E10A-USB Emulator
Table 2.2.2 SH7670 Group Power Supply Selection Jumper Setting (JP2 to JP4)
JP2 1-2
JP3 1-2
JP4 1-2
Rev. 1.01 May 7, 2008
REJ1 1J0015-0101
Power supply from J15
3.3 V fixed power supply voltage (supplied from U10)
1.2 V fixed power supply voltage (supplied from U11)
2-3
Loading...
+ 57 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.