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 damages arising out of the uses set forth above.
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.
R0E530640MCU00 User’s Manual Preface
Preface
The R0E530640MCU00 is a full-spec emulator for M16C/60 Series M16C/64 Group MCUs. This user's manual mainly
describes specifications of the R0E530640MCU00 and how to setup it. For details on the emulator debugger included in this
product, refer to the product's user's manual.
All the components of this product are shown in “
this product, contact your local distributor.
The related manuals for using this product are listed below. You can download the latest manuals from the Renesas Tools
homepage (http://www.renesas.com/tools).
Related manuals
Item Manual
R0E0100TNPFJ00 User’s Manual Accessory
R0E0100TNPFK00 User’s Manual
Integrated development environment High-performance Embedded Workshop User’s Manual
Emulator debugger R0E530640MCU00 User’s Manual
C compiler C Compiler Package for R8C/Tiny, M16C/60, 30, Tiny, 20 and 10 Series
C Compiler User's Manual
Assembler C Compiler Package for R8C/Tiny, M16C/60, 30, Tiny, 20 and 10 Series
Assembler User's Manual
1.1 Package Components” (page 16). If there is any question or doubt about
REJ10J1733-0100 Rev.1.00 Apr. 01, 2008
Page 3 of 229
R0E530640MCU00 User’s manual Important
Important
Before using this product, be sure to read this user’s manual carefully.
Keep this user’s manual, and refer to it when you have questions about this product.
Emulator:
The emulator in this document refers to the following products that are manufactured by Renesas Technology Corp.:
(1) E100 emulator main unit
(2) MCU unit
(3) Pitch converter board for connecting the user system
The emulator herein does not include the customer’s user system and host machine.
Purpose of use of the emulator:
This emulator is a device to support the development of a system that uses the M16C Family M16C/60 Series M16C/64 Group
of Renesas 16-bit single-chip MCUs. It provides support for system development in both software and hardware.
Be sure to use this emulator correctly according to said purpose of use. Please avoid using this emulator for other than its
intended purpose of use.
For those who use this emulator:
This emulator can only be used by those who have carefully read the user’s manual and know how to use it.
Use of this emulator requires the basic knowledge of electric circuits, logical circuits, and MCUs.
When using the emulator:
(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 Technology Corp. be liable for any consequence arising from the use of this product.
(3) Renesas Technology Corp. strives to renovate or provide a workaround for product malfunction at some charge or
without charge. However, this does not necessarily mean that Renesas Technology Corp. guarantees the renovation or the
provision under any circumstances.
(4) This product has been developed by assuming its use for program development and evaluation 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.
(5) Renesas Technology 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 emulator do not
necessarily cover all of such possible situations or cases. Please be sure to use this emulator correctly and safely on your
own responsibility.
(6) This product is not qualified under UL or other safety standards and IEC or other industry standards. This fact must be
taken into account when taking this product from Japan to some other country.
REJ10J1733-0100 Rev.1.00 Apr. 01, 2008
Page 4 of 229
R0E530640MCU00 User’s manual Important
Usage restrictions:
This emulator 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 emulator 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 emulator. Therefore, the specification or
design of this emulator 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 emulator 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.
REJ10J1733-0100 Rev.1.00 Apr. 01, 2008
Page 5 of 229
R0E530640MCU00 User’s Manual Precautions for safety
Precautions for Safety
Definitions of Signal Words
In both the user’s manual and on the product itself, several icons are used to insure proper handling of this product and also to
prevent injuries to you or other persons, or damage to your properties.
This chapter describes the precautions which should be taken in order to use this product safely and properly. Be sure to read
this chapter before using this product.
This symbol represents a warning about safety. It is used to arouse caution about a potential
DANGER
WARNING
CAUTION
CAUTION
IMPORTANT
In addition to the five above, the following are also used as appropriate.
means WARNING or CAUTION.
Example:
danger that will possibly inflict an injury on persons. To avoid a possible injury or death,
please be sure to observe the safety message that follows this symbol.
DANGER indicates an imminently dangerous situation that will cause death or heavy wound
unless it is avoided. However, there are no instances of such danger for the product presented
in this user's manual.
WARNING indicates a potentially dangerous situation that will cause death or heavy wound
unless it is avoided.
CAUTION indicates a potentially dangerous situation that will cause a slight injury or a
medium-degree injury unless it is avoided.
CAUTION with no safety warning symbols attached indicates a potentially dangerous
situation that will cause property damage unless it is avoided.
This is used in operation procedures or explanatory descriptions to convey exceptional
conditions or cautions to the user.
CAUTION AGAINST AN ELECTRIC SHOCK
means PROHIBITION.
Example:
DISASSEMBLY PROHIBITED
means A FORCIBLE ACTION.
Example:
UNPLUG THE POWER CABLE FROM THE RECEPTACLE.
REJ10J1733-0100 Rev.1.00 Apr. 01, 2008
Page 6 of 229
R0E530640MCU00 User’s Manual Precautions for safety
WARNING
Warnings for AC Power Supply:
z If the attached AC power cable does not fit the receptacle, do not alter the AC power cable and do not plug it
forcibly. Failure to comply may cause electric shock and/or fire.
z Use an AC power cable which complies with the safety standard of the country.
z Do not touch the plug of the AC power cable when your hands are wet. This may cause electric shock.
z This product is connected signal ground with frame ground. If your developing product is transformless (not
having isolation transformer of AC power), this may cause electric shock. Also, this may give an unrepairable
damage to this product and your developing one.
While developing, connect AC power of the product to commercial power through isolation transformer in
order to avoid these dangers.
z If other equipment is connected to the same branch circuit, care should be taken not to overload the circuit.
z When installing this equipment, insure that a reliable ground connection is maintained.
z The rated voltage for this cable is 125 volts. When you connect to a power supply of more than 125V, use an
appropriate cable for the voltage.
z If you smell a strange odor, hear an unusual sound, or see smoke coming from this product, then disconnect
power immediately by unplugging the AC power cable from the outlet.
Do not use this as it is because of the danger of electric shock and/or fire. In this case, contact your local
distributor.
z Before setting up this emulator and connecting it to other devices, turn off power or remove a power cable to
prevent injury or product damage.
Warnings to Be Taken for This Product:
z Do not disassemble or modify this product. Personal injury due to electric shock may occur if this product is
disassembled and modified. Disassembling and modifying the product will void your warranty.
z Make sure nothing falls into the cooling fan on the top panel, especially liquids, metal objects, or anything
combustible.
Warning for Installation:
z Do not set this product in water or areas of high humidity. Make sure that the product does not get wet. Spilling
water or some other liquid into the product may cause unrepairable damage.
Warning for Use Environment:
z This equipment is to be used in an environment with a maximum ambient temperature of 35°C. Care should be
taken that this temperature is not exceeded.
REJ10J1733-0100 Rev.1.00 Apr. 01, 2008
Page 7 of 229
R0E530640MCU00 User’s Manual Precautions for safety
Cautions to Be Taken for Turning On the Power:
z Turn ON/OFF the power of the emulator and user system as simultaneously as possible.
z When turning on the power again after shutting off the power, wait about 10 seconds.
Cautions to Be Taken for Handling This Product:
z Use caution when handling the main unit. Be careful not to apply a mechanical shock.
z Do not touch the connector pins of the emulator main unit and the target MCU connector pins directly. Static
electricity may damage the internal circuits.
z Do not pull this emulator by the communications interface cable or the flexible cable. And, excessive flexing or
force may break conductors.
z Do not flex the flexible cable excessively. The cable may cause a break.
z Do not use inch-size screws for this equipment. The screws used in this equipment are all ISO (meter-size) type
screws. When replacing screws, use same type screws as equipped before.
Caution to Be Taken for System Malfunctions:
z If the emulator malfunctions because of interference like external noise, shut OFF the emulator once and then
reactivate it.
CAUTION
REJ10J1733-0100 Rev.1.00 Apr. 01, 2008
Page 8 of 229
Precautions for Safety ..................................................................................................................................................6
User Registration ........................................................................................................................................................14
1.2 Other Tool Products Required for Development ...........................................................................................16
1.3 System Configuration ....................................................................................................................................17
1.3.1 System Configuration ..................................................................................................................17
1.3.2 Names and Functions of each part of the emulator.....................................................................18
2.1 Flowchart of Starting Up the Emulator ..........................................................................................................22
2.2 Installing the Included Software ....................................................................................................................24
2.3 Connecting/Disconnecting the MCU Unit to/from the E100 Emulator Main Unit ..........................................25
2.4 Connecting the Host Machine .......................................................................................................................26
2.5 Connecting the Emulator Power Supply........................................................................................................27
2.6 Turning ON the Power...................................................................................................................................28
2.6.1 Checking the Connections of the Emulator System ....................................................................28
2.6.2 Turning ON/OFF the Power .........................................................................................................28
2.8.2 Using an Internal Oscillator Circuit Board....................................................................................31
2.8.3 Using the Oscillator Circuit on the User System..........................................................................32
2.8.4 Using the Internal Generator Circuit ............................................................................................32
2.9 Connecting the User System.........................................................................................................................33
2.9.1 Connecting to a 100-pin 0.65mm Pitch Foot Pattern...................................................................34
2.9.2 Connecting to a 100-pin 0.5mm Pitch Foot Pattern.....................................................................35
3.2 Starting the High-performance Embedded Workshop ..................................................................................37
3.3 Connecting the Emulator ...............................................................................................................................37
3.4 Downloading the Tutorial Program................................................................................................................38
3.4.1 Downloading the Tutorial Program ..............................................................................................38
3.4.2 Displaying the Source Program ...................................................................................................39
3.6 Executing the Program ..................................................................................................................................41
3.6.1 Resetting the CPU .......................................................................................................................41
3.6.2 Executing the Program ................................................................................................................41
3.12 Showing Local Variables .............................................................................................................................48
REJ10J1733-0100 Rev.1.00 Apr. 01, 2008
Page 9 of 229
R0E530640MCU00 User’s Manual Contents
3.13 Single-Stepping a Program .........................................................................................................................48
3.13.1 Executing Step In Command .......................................................................................................49
3.13.2 Executing the Step Out Command ..............................................................................................50
3.13.3 Executing the Step Over Command ............................................................................................51
3.14 Forcibly Breaking a Program .......................................................................................................................52
3.19 What Next?..................................................................................................................................................66
4. Preparing to Debug.................................................................................................................................................67
4.1 Starting the High-performance Embedded Workshop ...............................................................................67
4.2 Creating a New Workspace (Toolchain Unused).......................................................................................68
4.3 Creating a New Workspace (Toolchain Used)...........................................................................................70
4.4 Opening an Existing Workspace................................................................................................................73
4.5 Connecting the Emulator............................................................................................................................74
4.5.1 Connecting the Emulator .............................................................................................................74
4.5.2 Reconnecting the Emulator .........................................................................................................74
4.6 Disconnecting the Emulator .......................................................................................................................75
4.6.1 Disconnecting the Emulator.........................................................................................................75
4.7 Quitting the High-performance Embedded Workshop ...............................................................................75
4.8 Setting Up the Debug.................................................................................................................................76
4.8.1 Specifying a Download Module ...................................................................................................76
4.8.2 Setting Up Automatic Execution of Command Line Batch Files..................................................77
5.1.8 Showing Progress in Boot-up Processing ...................................................................................87
5.2 Downloading a Program.............................................................................................................................89
5.2.1 Downloading a Program ..............................................................................................................89
5.2.2 Showing the Source Code ...........................................................................................................89
5.2.3 Turning columns in all source files off..........................................................................................91
5.2.4 Turning columns in one source file off.........................................................................................91
5.2.5 Showing Assembly Language Code............................................................................................92
5.2.6 Correcting Assembly Language Codes .......................................................................................93
5.3 Displaying Memory Contents in Real Time................................................................................................94
5.3.1 Displaying Memory Contents in Real Time .................................................................................94
5.3.4 Clearing RAM Monitor Error Detection Data ...............................................................................95
5.4 Showing the Current Status .......................................................................................................................96
5.4.1 Showing the Emulator Status ......................................................................................................96
5.4.2 Showing the Emulator Status in the Status Bar...........................................................................97
REJ10J1733-0100 Rev.1.00 Apr. 01, 2008
Page 10 of 229
R0E530640MCU00 User’s Manual Contents
5.5 Periodically Reading Out and Showing the Emulator Status.....................................................................98
5.5.1 Periodically Reading Out and Showing the Emulator Information...............................................98
5.5.2 Selecting the Items to Be Displayed............................................................................................99
5.6 Using Software Breakpoints.....................................................................................................................100
5.6.1 Using Software Breakpoints ......................................................................................................100
5.7 Using Events ............................................................................................................................................104
5.7.1 Using Events..............................................................................................................................104
5.8.3 Saving/Loading the Set Contents of Hardware Breaks .............................................................119
5.9 Looking at Trace Information ...................................................................................................................120
5.9.1 Looking at Trace Information .....................................................................................................120
5.11.16 Inhibiting Updating of Information ..............................................................................................164
5.11.17 Saving Code Coverage Information to Files..............................................................................165
5.11.18 Loading Code Coverage Information from Files........................................................................165
5.11.19 About Coverage Information File Load Modes ..........................................................................166
5.11.20 Showing Code Coverage Results in the Editor Window............................................................168
5.12 Measuring Data Coverage .......................................................................................................................169
5.12.1 Measuring Data Coverage.........................................................................................................169
5.12.2 Opening the Data Coverage Window ........................................................................................169
5.12.3 Allocating Data Coverage Memory (Hardware Resource) ........................................................170
5.12.4 Measuring an Address Range ...................................................................................................172
5.14.5 Detecting a Performance Overflow............................................................................................203
5.14.6 Detecting a Realtime Profile Overflow.......................................................................................203
5.14.7 Detecting a Trace Memory Overflow .........................................................................................204
5.14.8 Detecting a Task Stack Access Violation ..................................................................................204
5.14.9 Setting a Task Stack Area .........................................................................................................205
5.14.10 Detecting an OS dispatch ..........................................................................................................208
5.15 Using the Start/Stop Function ..................................................................................................................209
5.15.1 Opening the Start/Stop Function Setting Dialog Box.................................................................209
5.15.2 Specifying the Routine to be executed ......................................................................................209
5.15.3 Limitations of the Start/Stop Function........................................................................................209
5.15.4 Limitations to the Statements written in a Specified Routine ....................................................210
REJ10J1733-0100 Rev.1.00 Apr. 01, 2008
Page 12 of 229
R0E530640MCU00 User’s Manual Contents
6. Troubleshooting (Action on Error).........................................................................................................................211
6.1 Flowchart to Remedy the Troubles .............................................................................................................211
6.3 Error at Debugger Startup ...........................................................................................................................213
6.4 How to Request for Support ........................................................................................................................215
7.4.1 External Dimensions of the E100 Emulator ...............................................................................219
7.4.2 External Dimensions of the Converter Board R0E0100TNPFJ00.............................................220
7.4.3 External Dimensions of the Converter Board R0E0100TNPFK00 ............................................221
7.5 Notes on Using This Product.......................................................................................................................222
8. Maintenance and Guarantee ................................................................................................................................226
8.1 User Registration.........................................................................................................................................226
(Address, data, status, CPU status, bus status, target status, task ID, time stamp, 32
external trigger inputs)
Trace mode Fill until stop/full/point and delay/repeat (free)/repeat (full)
Trace extract/delete Capture/Do not Capture by events
or
Specified data access instruction extraction/trace extraction before and after point
Real-time RAM monitor - 16,384 bytes (512 bytes × 32 blocks)
- Data/last access
Time measurement - Execution time between program start and stop
- Maximum/minimum/average execution time and pass counts of specified eight
sections
- Count clock: Equal to MCU Clock or 10ns—1.6us
Coverage measurement 2 MB (256 KB × 8 blocks)
Profile 1 MB (128 KB × 8 blocks)
Connection to user system 100-pin 0.65mm pitch QFP R0E0100TNPFJ00
100-pin 0.5mm pitch LQFP R0E0100TNPFK00
Emulator power supply Supplied from included AC adapter (power supply voltage: 100--240 V, 50/60 Hz)
REJ10J1733-0100 Rev.1.00 Apr. 01, 2008
Page 20 of 229
R0E530640MCU00 User’s Manual 1. Outline
1.5 Operating Environment
Make sure to use this emulator in the operating environments listed in Tables 1.6 and 1.7.
Table 1.6 Operating environmental conditions
Item Description
Operating temperature 5 to 35°C (no dew)
Storage temperature -10 to 60°C (no dew)
Table 1.7 Operating environment of the host machine
Item Description
Host machine IBM PC/AT compatibles
OS Windows XP [*1]
Windows 2000
CPU Pentium IV 1.6 GHz or more recommended
Interface USB 2.0 [*2]
Memory 768 MB or greater (more than 10 times the file size of the load module)
recommended
Pointing device such as mouse Mouse or any other pointing device usable with the above OS that can be
connected to the host machine.
CD drive Needed to install the emulator debugger or refer to the user’s manual
Notes:
1. Windows and Windows NT are either registered trademarks or trademarks of Microsoft Corporation in the United States
and other countries.
2. USB interface does not guarantee the operations with all combinations of host machine, USB device and USB hub.
REJ10J1733-0100 Rev.1.00 Apr. 01, 2008
Page 21 of 229
R0E530640MCU00 User’s Manual 2. Setup
2. Setup
This chapter describes the preparation for using this product, the procedure for starting up the emulator and how to change
settings.
2.1 Flowchart of Starting Up the Emulator
The procedure for starting up the emulator is shown in Figures 2.1 and 2.2. For details, refer to each section hereafter. If the
emulator does not start up normally, refer to “
1 Check the package components. Refer to “1.1 Package Components” (page 16).
2 User registration Refer to “User Registration” (page 14).
3 Install the included software, etc. Install them from the included CD-ROM.
Connect the MCU unit to the E100 main
4
5 Connect the host machine.
6 Connect the emulator power supply. Connect an emulator power supply to the power connector.
7 Turn on the power supply. Turn ON the power to the emulator.
8 Check the LED display of the emulator.
Try to use the emulator debugger according
9
Create a project in the High-performance
10
Start up the emulator debugger from the
11
High-performance Embedded Workshop.
12 Set up the target MCU and system.
13 Execute self-check
Figure 2.1 Flowchart of starting up the emulator (For the first time)
Embedded Workshop.
▼
▼
▼
unit.
▼
▼
▼
▼
▼
to the tutorial.
▼
▼
▼
▼
6. Troubleshooting (Action on Error)” (page 211).
Refer to “
E100 Emulator Main Unit” (page
Connect the USB interface connector of the emulator and the USB
port of the host machine.
Check that the system status LED is lighting. When the user system
is not connected, the POWER LED does not light up.
When using the emulator debugger for the first time, try to use the
emulator functions, referring to “3. Tutorial” (page
If the emulator debugger does not start, follow steps 10 through 13
in this chart to perform a self-check.
Start up the High-performance Embedded Workshop and create a
project by following “
Start up the High-performance Embedded Workshop to launch the
emulator debugger by following “
Set Device Setting dialog box of the emulator debugger and check
“Start booting up on successful completion of self checking” by
following “
2.3 Connecting/Disconnecting the MCU Unit to/from the
25)
4. Preparing to Debug” (page 67).
4. Preparing to Debug” (page 67).
4. Preparing to Debug” (page 67).
36).
REJ10J1733-0100 Rev.1.00 Apr. 01, 2008
Page 22 of 229
R0E530640MCU00 User’s Manual 2. Setup
14 Change the settings.
▼
Change the settings of the power supply to MCUs or clock supply,
according to the use condition.
15 Connect the user system. Connect the user system as occasion demands.
▼
16 Turn on the power supply.
▼
Turn ON the power to the emulator and the user system as
simultaneously as possible.
Check that system status LEDs, and POWER and RESET of the
17 Check the LED display of the emulator.
target status LED are lighting. When the user system is not
connected, the POWER LED does not light up.
Start up the emulator debugger from the
18
High-performance Embedded Workshop.
▼
Start up the High-performance Embedded Workshop to launch the
emulator debugger.
▼
19 Set up the target MCU and system.
Debug a program with various functions of
20
the emulator debugger
▼
Check the contents set in the step 12 in Figure 2.1. Do not check
“Start booting up on successful completion of self checking”.
Refer to the High-performance Embedded Workshop and “
Debugging Functions” (page
Figure 2.2 Flowchart of starting up the emulator (After the self-check)
5.
78).
REJ10J1733-0100 Rev.1.00 Apr. 01, 2008
Page 23 of 229
R0E530640MCU00 User’s Manual 2. Setup
2.2 Installing the Included Software
If you have Windows XP or 2000 on the host machine, this installation must be executed by a user with administrator rights.
Note that users without administrator rights cannot complete the installation.
When you insert the included CD-ROM to a CD-ROM drive, a message will appear. Install the software following a displayed
message.
A dialog for entering the user information (user, company, address, install destination) will appear. The entered information
will be formatted in the user registration sheet by mail.
REJ10J1733-0100 Rev.1.00 Apr. 01, 2008
Page 24 of 229
R0E530640MCU00 User’s Manual 2. Setup
2.3 Connecting/Disconnecting the MCU Unit to/from the E100 Emulator Main Unit
Figure 2.3 shows the procedure for connecting the MCU Unit to the E100 Emulator Main Unit.
Connecting
MCU Unit
R0E530640MCU00
0
0
U
C
M
0
5
6
0
3
5
E
0
R
E100 emulator main unit
R0E001000EMU00
Disconnecting
Insert the MCU unit
following the inside
rails of the main unit.
1
0
HI
G
H
0
PE
R
F
O
EM
R
U
M
L
AN
AT
CE
O
R
SY
S
T
EM
0
0
U
C
M
0
5
6
0
3
5
E
0
R
Pull the MCU unit up.
Push the MCU unit down
to check it is attached properly.
0
0
U
C
M
0
5
6
0
3
5
E
0
R
1
0
H
I
G
H
0
P
ER
F
O
EM
RM
UL
A
AT
N
C
O
E
R
SY
ST
EM
1
0
H
I
G
H
0
PER
F
O
EM
R
M
U
L
AN
A
T
C
O
E
R
S
YST
EM
Figure 2.3 Connecting/Disconnecting the MCU Unit to/from the E100 Emulator Main Unit
CAUTION
Note on Connecting the MCU Unit to the E100 Emulator Main Unit:
z Always shut OFF power when connecting the MCU unit to the E100 emulator main unit. Otherwise, internal
circuits may be damaged.
REJ10J1733-0100 Rev.1.00 Apr. 01, 2008
Page 25 of 229
R0E530640MCU00 User’s Manual 2. Setup
2.4 Connecting the Host Machine
USB interface is used for connecting the emulator to the host machine. The USB cable is connected to the USB cable
connector of the emulator and the USB port of the host machine.
Figure 2.4 Connecting the host machine
REJ10J1733-0100 Rev.1.00 Apr. 01, 2008
Page 26 of 229
R0E530640MCU00 User’s Manual 2. Setup
2.5 Connecting the Emulator Power Supply
Power is supplied from the included AC adapter to the emulator. The following shows how to connect the AC adapter.
(1) Turn OFF the emulator.
(2) Connect the DC cable of the AC adapter to the emulator.
(3) Connect the AC power cable to the AC adapter.
(4) Connect the AC power cable to the outlet.
Figure 2.5 Connecting the emulator power supply
Cautions for AC Adapter:
z Use only the AC adapter included in the E100 package.
z The included AC adapter is exclusively for the E100 emulator main unit. Do not use it for other products.
z Before installing this product or connecting it to other equipment, disconnect the AC power cable from the
outlet to prevent injury or accident.
z The DC plug of the included AC adapter has the below polarity.
z The included AC adapter has no power supply switch. The AC adapter is always active while connecting to the
AC power cable.
CAUTION
REJ10J1733-0100 Rev.1.00 Apr. 01, 2008
Page 27 of 229
R0E530640MCU00 User’s Manual 2. Setup
2.6 Turning ON the Power
2.6.1 Checking the Connections of the Emulator System
Before turning the power ON, check the connection of the interface cable with the host machine, emulator, and user system.
2.6.2 Turning ON/OFF the Power
- Turn ON/OFF the power of the emulator and user system as simultaneously as possible.
- When the SAFE LED of the system LEDs is flashing, check that the USB cable is connected to the host machine. When each
of the target status LEDs is flashing, check that the MCU unit is connected.
- When turning ON the power again after shutting OFF the power, wait for about 10 seconds.
IMPORTANT
Notes on Power Supply:
z The emulator pin Vcc is connected to the user system in order to monitor user system voltage. For this reason,
the emulator cannot supply power to the user system. Supply power to the user system separately.
The voltage of the user system should be as follows.
2.7 V ≤ Vcc1 = Vcc2 ≤ 5.5 V
z When you start the emulator without the user system, do not attach a converter board. When starting with a
converter board, the MCU will be in a reset status.
z When you start the emulator without the user system, take care that metallic pieces are not touched to the
connector at the head of the flexible cable.
z Do not leave either the emulator or user system powered on. The internal circuits may be damaged due to
leakage current.
REJ10J1733-0100 Rev.1.00 Apr. 01, 2008
Page 28 of 229
R0E530640MCU00 User’s Manual 2. Setup
2.7 Self-check
The self-check is to check the emulator functions operate properly. To run the self-check function of the emulator, follow the
procedure below. While the self-check is in progress, the LEDs will change as shown in Figure 2.6. In case of ERROR,
because the target status LEDs will change depending on errors, check the system status LEDs.
(1) If the user system is connected, disconnect the converter board and the user system.
(2) Turn on the emulator.
(3) Launch the emulator debugger, and select the Start booting up on successful completion of self checking check box in the
Device Setting dialog box.
(4) When you click OK, the self-check will start. If the normal result is displayed in about 60 seconds, the self-check ends
normally.
M
E
T
S
Y
S
R
E
W
O
P
E
F
A
S
T
E
G
R
A
T
R
E
W
O
P
T
E
S
E
R
N
U
R
Emulator turned on
: ON
: OFF
: Flashing
: ON or OFF
: Indefinite
M
E
T
S
Y
S
R
E
W
O
P
E
F
A
S
T
E
G
R
A
T
R
E
W
O
P
T
E
S
E
R
N
U
R
Self-check started
Self-check executed
or
M
E
T
S
Y
S
R
E
W
O
P
E
F
A
S
T
E
G
R
A
T
R
E
W
O
P
T
E
S
E
R
N
U
R
Self-check
terminated normarlly
M
E
T
S
Y
S
R
E
W
O
P
E
F
A
S
T
E
G
R
A
T
R
E
W
O
P
T
E
S
E
R
N
U
R
Self-check error
Note:
See the error display of the debugger
Figure 2.6 LED displays during the self-check
REJ10J1733-0100 Rev.1.00 Apr. 01, 2008
Page 29 of 229
R0E530640MCU00 User’s Manual 2. Setup
2.8 Selecting Clock Supply
2.8.1 Clocks
You can choose a clock supplied to the evaluation MCU by the Emulator tab in the Configuration properties dialog box of the
emulator debugger. Table 2.1 shows the clocks and their initial settings.
Table 2.1 Clock supply to the MCU
Clock
Main (XIN-XOUT)
Sub (XCIN-XCOUT)
Display of
emulator debugger
Emulator IC17 mounting oscillator module Yes
User Oscillator circuit on the user system -
Generate
Emulator
User Oscillator circuit on the user system -
Description Default setting
Internal generator circuit
(1.0--20.0 MHz)
Internal oscillator circuit
(32.768 kHz)
-
Yes
IMPORTANT
Notes on Changing the Clock Supply:
z The clock supply can be set by the Configuration properties dialog box when starting up the emulator debugger
or inputting emulator_clock command on the Command Line window.
REJ10J1733-0100 Rev.1.00 Apr. 01, 2008
Page 30 of 229
Loading...
+ 199 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.