Renesas M306NKT-EPB, M16C, М6N4, М6N5, М6NN, М6N, М6NL User Manual
Specifications and Main Features
Frequently Asked Questions
User Manual
REJ10J0519-0200(T)
M306NKT-EPB
User’s Manual
Emulation Probe for M16C/6N Group M16C/6N4, 6N5, 6NK, 6NL, 6NM, 6NN
Rev.2.00
Oct. 16, 2006
Keep safety first in your circuit designs!
1. Renesas Technology Corp. puts the maximum effort into making semiconductor products
better and more reliable, but there is always the possibility that trouble may occur with them.
Trouble with semiconductors may lead to personal injury, fire or property damage.
Remember to give due consideration to safety when making your circuit designs, with appropriate measures such as (i) placement of substitutive, auxiliary circuits, (ii) use of nonflammable material or (iii) prevention against any malfunction or mishap.
Notes regarding these materials
1. These materials are intended as a reference to assist our customers in the selection of the
Renesas Technology Corp. product best suited to the customer's application; they do not
convey any license under any intellectual property rights, or any other rights, belonging to
Renesas Technology Corp. or a third party.
2. Renesas Technology Corp. assumes no responsibility for any damage, or infringement of any
third-party's rights, originating in the use of any product data, diagrams, charts, programs,
algorithms, or circuit application examples contained in these materials.
3. All information contained in these materials, including product data, diagrams, charts, programs and algorithms represents information on products at the time of publication of these
materials, and are subject to change by Renesas Technology Corp. without notice due to
product improvements or other reasons. It is therefore recommended that customers contact
Renesas Technology Corp. or an authorized Renesas Technology Corp. product distributor
for the latest product information before purchasing a product listed herein.
The information described here may contain technical inaccuracies or typographical errors.
Renesas Technology Corp. assumes no responsibility for any damage, liability, or other loss
rising from these inaccuracies or errors.
Please also pay attention to information published by Renesas Technology Corp. by various
means, including the Renesas Technology Corp. Semiconductor home page (http://
www.renesas.com).
4. When using any or all of the information contained in these materials, including product data,
diagrams, charts, programs, and algorithms, please be sure to evaluate all information as a
total system before making a final decision on the applicability of the information and
products. Renesas Technology Corp. assumes no responsibility for any damage, liability or
other loss resulting from the information contained herein.
5. Renesas Technology Corp. semiconductors are not designed or manufactured for use in a
device or system that is used under circumstances in which human life is potentially at stake.
Please contact Renesas Technology Corp. or an authorized Renesas Technology Corp.
product distributor when considering the use of a product contained herein for any specific
purposes, such as apparatus or systems for transportation, vehicular, medical, aerospace,
nuclear, or undersea repeater use.
6. The prior written approval of Renesas Technology Corp. is necessary to reprint or reproduce
in whole or in part these materials.
7. If these products or technologies are subject to the Japanese export control restrictions, they
must be exported under a license from the Japanese government and cannot be imported
into a country other than the approved destination.
Any diversion or reexport contrary to the export control laws and regulations of Japan and/ or
the country of destination is prohibited.
8. Please contact Renesas Technology Corp. for further details on these materials or the
products contained therein.
M306NKT-EPB User’s Manual Preface
Preface
The M306NKT-EPB is an emulation probe for The M16C/6N Group M16C/6N4, M16C/6N5, M16C/6NK, M16C/6NL,
M16C/6NM, M16C/6NN. The M306NKT-EPB is used by connecting to the PC7501 emulator main unit.
This user's manual mainly describes specifications of the M306NKT-EPB emulation probe and how to setup it. For details on
the emulator main unit and emulator debugger which are used with the M306NKT-EPB, refer to each product's user's manual.
All the components of this product are shown in "1.1 Package Components" (page 13). If there is any question or doubt about
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/en/tools).
Related manuals
Item Manual
Emulator main unit PC7501 User’s Manual
Integrated development environment High-performance Embedded Workshop 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
REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 3 of 104
M306NKT-EPB 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 this 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) PC7501 main unit
(2) Emulation probe
(3) Package 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/6N Group
M16C/6N4, M16C/6N5, M16C/6NK, M16C/6NL, M16C/6NM, M16C/6NN 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 Solutions Corp. be liable for any consequence arising from the use of this product.
(3) Renesas Solutions 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 Solutions 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 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 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.
REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 4 of 104
M306NKT-EPB 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.
REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 5 of 104
M306NKT-EPB 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.
REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 6 of 104
M306NKT-EPB 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 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.
REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 7 of 104
M306NKT-EPB User’s Manual Precautions for safety
CAUTION
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 Do not leave either the emulator or user system powered on, because of leakage current the internal circuits may
be damaged.
zWhen 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 for connecting to the emulator main unit and emulation probe 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, do the following to remedy the trouble.
(1) Press the RESET button on the PC7501’s front panel.
(2) If normal operation is not restored after step (1), shut OFF the emulator once and then reactivate it.
Caution to Be Taken for External Trigger Input Voltage:
z Keep an external trigger input voltage of the emulator main unit less than a Vcc2 voltage. Overvoltage may
cause damage to the internal circuits.
REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 8 of 104
Precautions for Safety ..................................................................................................................................................6
User Registration ........................................................................................................................................................11
1.2 Other Tool Products Required for Development ...........................................................................................14
1.3 System Configuration ....................................................................................................................................15
1.3.1 System Configuration..........................................................................................................................15
1.3.2 Names and Functions of the PC7501 Upper Panel LEDs ..................................................................16
2.2.1 Installing the Emulator Debugger........................................................................................................22
2.3 Connecting the Host Machine .......................................................................................................................23
2.4 Connecting the PC7501 ................................................................................................................................24
2.5 Connecting the Power Supply for the Emulator ............................................................................................25
2.6 Turning ON the Power...................................................................................................................................26
2.6.1 Checking the Connections of the Emulator System............................................................................26
2.6.2 Turning ON/OFF the Power ................................................................................................................26
2.6.3 LED Display When the Emulator Starts Up Normally .........................................................................27
2.8.2 If an Error is Detected in the Self-check..............................................................................................30
2.9 Connecting the User System.........................................................................................................................31
2.9.1 Connecting to a 100-pin LCC Socket..................................................................................................33
2.9.2 Connecting to a 100-pin 0.65mm Pitch Foot Pattern (Part 1).............................................................34
2.9.3 Connecting to a 100-pin 0.65mm Pitch Foot Pattern (Part 2).............................................................35
2.9.4 Connecting to a 100-pin 0.65mm Pitch Foot Pattern (Part 3).............................................................36
2.9.5 Connecting to a 100-pin 0.5mm Pitch Foot Pattern (Part 1)...............................................................37
2.9.6 Connecting to a 100-pin 0.5mm pitch Foot Pattern (Part 2) ...............................................................38
2.9.7 Connecting to a 128-pin 0.5mm pitch Foot Pattern ............................................................................39
3.3 Program Execution ........................................................................................................................................58
4.5.1 External Dimensions of the Emulation Probe .....................................................................................87
4.5.2 External Dimensions of the M30800T-PTC ........................................................................................88
4.5.3 External Dimensions of the Converter Board M3T-F160-100NRB .....................................................89
4.5.4 External Dimensions of the Converter Board M3T-F160-100NSD .....................................................89
4.5.5 External Dimensions of the Converter Board M3T-F160-128NRD.....................................................90
4.6 Notes on Using This Product.........................................................................................................................91
5.1 Flowchart to Remedy the Troubles ...............................................................................................................96
5.2 When the Emulator Debugger Does Not Start Up Properly ..........................................................................97
5.3 How to Request for Support ........................................................................................................................100
6. Maintenance and Guarantee ................................................................................................................................101
6.1 User Registration.........................................................................................................................................101
Required according to a
foot pattern of a user
system
Refer to “2.9 Connecting
the User System” (page 31)
REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 14 of 104
M306NKT-EPB User’s Manual 1. Outline
1.3 System Configuration
1.3.1 System Configuration
Figure 1.1 shows a configuration of the M306NKT-EPB system.
Host machine interface
(LPT, USB or LAN)
(4) Host machine (3) Emulator
PC7501
(2) Converter board
M30800T–PTC
(1) Emulation probe
M306NKT-EPB
(5) User system
Figure 1.1 System configuration
(1) Emulation probe M306NKT-EPB (this product)
This is an emulation probe for the M16C/6N Group M16C/6N4, M16C/6N5, M16C/6NK, M16C/6NL, M16C/6NM,
M16C/6NN and contains an evaluation MCU.
(2) Pitch converter board M30800T-PTC (included)
This is a pitch converter board for connecting to 100-pin 0.65mm pitch LCC socket IC61-1004-051 on the user system. For
details, refer to "2.9 Connecting the User System" (page 31).
(3) Emulator main unit PC7501
The emulator main unit for the M16C Family to be used with this product.
(4) Host machine
A personal computer to control the emulator.
(5) User system
This is your application system.
This emulator cannot supply the power to the user system. Therefore design your system so that the user system is powered
separately.
REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 15 of 104
M306NKT-EPB User’s Manual 1. Outline
1.3.2 Names and Functions of the PC7501 Upper Panel LEDs
Figure 1.2 shows the names of the LEDs on the upper panel of the emulator.
System status
LEDs
Target status
LEDs
Figure 1.2 Names of the LEDs on the upper panel of the PC7501
(1) System Status LEDs
The system status LEDs indicate the emulator PC7501's power supply, firmware operating status, etc. Table 1.3 lists the
definition of each system status LED.
Table 1.3 Definitions of the system status LEDs
Name Status Meaning
ON Emulator system power supply is turned ON. POWER
OFF Emulator system power supply is turned OFF.
SAFE
ON Emulator system is operating normally.
Flashing
1. The self-check is being executed.
2. Downloaded firmware is being written into memory.
3. If the ERROR LED is flashing on at the same time or alternately, it indicates that the
self-check error occurred.
PC7501 system is not operating normally.
PC7501 system is not operating normally (system status error).
1. Firmware is being downloaded.
ERROR
OFF
ON
Flashing
2. If the SAFE LED is flashing at the same time or alternately, it indicates that the selfcheck error occurred.
OFF
PC7501 system is operating normally.
REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 16 of 104
M306NKT-EPB User’s Manual 1. Outline
(2) Target Status LEDs
The target status LEDs indicate operating status of the target MCU and power supply of the user system. Table 1.4 lists the
definition of each target status LED.
Table 1.4 Definition of the target status LEDs
Name Status Meaning
ON Power is supplied to the user system. POWER
OFF Power is not supplied to the user system.
ON Clock is supplied to the target MCU. CLOCK
OFF Clock is not supplied to the target MCU.
ON Target MCU is being reset, or reset signal of the user system is held low. RESET
OFF Target MCU is not being reset.
ON User program is being executed. RUN
OFF User program has been halted.
ON Addresses 00000h and 00001h have been read out wrongly. WARNING
OFF Addresses 00000h and 00001h have not been read out wrongly.
IMPORTANT
Note on Usage in Memory Expansion or Microprocessor Mode:
z When you use this product in memory expansion or microprocessor mode, be sure to design your system so that
pins RDY# and HOLD# are not held low at startup. Otherwise, it cannot startup normally.
Note on the Target Status POWER LED:
z If your MCU has two or more Vcc terminals, the LED does not light unless power is supplied to all the
terminals.
Note on the Target Status CLOCK LED:
z CLOCK LED is turned off when both main and sub clocks are not oscillating. If either clock is oscillating, the
LED is turned on.
z If the LED is not turned on, check the following.
(1) After powering on the PC7501 (before starting up the emulator debugger):
Make sure that the oscillator circuit board is properly installed in the PC7501 and it is oscillating normally.
(2) After the emulator debugger is started up (after the Init dialog box settings are completed):
Make sure that the oscillator selected in the Init dialog box is oscillating normally.
Note on Accessing Addresses 00000h and 00001h:
z With the M16C/60 Series MCUs, when a maskable interrupt is generated, the interrupt data (interrupt number
and interrupt request level) stored in addresses 00000h and 00001h are read out. Also, the interrupt request bit is
cleared when address 00000h or 00001h is read out. Consequently, when the address 00000h or 00001h readout
instruction is executed or when address 00000h or 00001h is read out in the cause of a program runaway, a
malfunction occurs in that the interrupt is not executed despite the interrupt request, because the request bit of
the highest priority interrupt factor enabled is cleared.
For this malfunction, when the reading out to address 00000h or 00001h is generated excluding the interrupt,
the WARNING LED (yellow) of the PC7501’s upper panel lights up to alarm. When this LED lights, there is a
possibility of wrong read access, therefore check the user program.
REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 17 of 104
M306NKT-EPB User’s Manual 1. Outline
1.4 Specifications
Tables 1.5 and 1.6 list the specifications of the M306NKT-EPB.
Microprocessor mode
Maximum operating frequency 24MHz (when using PLL)
Applicable power supply 3.0--5.5V
Emulation memory
Clock oscillator XIN-X
Basic debugging functions - Download
Real-time trace function - 256K-cycle bus information recordable (Bus, external trigger, time stamp)
Real-time RAM monitor function - 4,096 bytes (256 bytes x16)
Hardware break function 8 points (Execution address, bus detection, interrupt, external trigger signal)
Execution time measurement function Time between program start and stop
maximum operating frequency: 24MHz, 0 wait
* When "Disable the Internal Flash ROM" is checked in the MCU tab of the
emulator debugger's MCU Setting dialog box, it is 10MHz.
(2) 31KB for internal RAM
00400h--07FFFh, maximum operating frequency: 24MHz, 0 wait
(3) CS3*--CS0* area (Possible to allocate by 4KB)
- Maximum operating frequency (at 5.0V) 0 wait: 7.0MHz
1 wait: 20.0MHz
2 wait, 3 wait: 24.0MHz
- Maximum operating frequency (at 3.0V) 0 wait: 6.0MHz
1 wait: 17.0MHz
2 wait, 3 wait: 24.0MHz
(1 to 16MHz):
OUT
Internal oscillator circuit board
Switchable to external oscillator input or internal generator circuit
X
CIN-XCOUT
(32.768kHz):
Internal oscillator circuit board
Switchable to external oscillator input
- Address match break (max. 8 points)
- Software break (max. 64 points)
- Program execution/stop (allows free-run execution supporting software breaks)
Maximum/minimum/average execution time and pass count of specified four zones.
Count clock: Equal to MCU Clock or 16MHz
(break x1, event x7)
REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 18 of 104
M306NKT-EPB User’s Manual 1. Outline
Table 1.6 Specifications of the M306NKT-EPB (2/2)
Host machine interface
- LPT parallel (ECP, EPP, Byte/compatibility and Nibble/compatibility modes)
- USB (USB 1.1, full-speed) *1
- LAN (10BASE-T)
Power supply to emulator Supplied from included AC adapter (power supply voltage: 100--240V, 50/60Hz)
Operating temperature 5 to 35°C (no dew)
Storage temperature -10 to 60°C (no dew)
Power supply to emulation probe Supplied from the DC power supply of the emulator main unit
Connection to user system
(see 2.9 "Connecting the User
System" on page 31)
For 100-pin 0.65mm pitch LCC:
M30800T-PTC (included)
For 100-pin 0.65mm pitch QFP (PRQP0100JB-A):
(1) M3T-F160-100NRB (not included)
(2) M30800T-PTC (included)
*1 Available to connect the host machine that supports USB 2.0.
With the USB interface, not all hardware (such as host machine, USB devices, USB hub) combination will work and
guaranteed.
REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 19 of 104
M306NKT-EPB User’s Manual 1. Outline
1.5 Operating Environment
Be sure to use this emulator with the operating environmental of the emulator and host machine listed in Tables 1.7 and 1.8.
Table 1.7 Operating environmental conditions
Item Description
Operating temperature 5 to 35°C (no dew)
Storage temperature -10 to 60°C (no dew)
Table 1.8 Operating environment of the host machine
Item Description
Host machine IBM PC/AT compatibles
OS Windows 98SE*
Windows Me
Windows XP
Windows 2000
CPU Pentium III 600 MHz or more recommended
Memory 128 MB or more recommended
Pointing device such as mouse Mouse or any other pointing device usable with the above OS that can be
connected to the main body of the host machine.
CD drive Needed to install the emulator debugger and refer to the user’s manual
* Windows and Windows NT are either registered trademarks or trademarks of Microsoft Corporation in the United States
and other countries.
REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 20 of 104
M306NKT-EPB 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 Figure 2.1. For details, refer to each section hereafter. And, when the
emulator does not start up normally, refer to “5. Troubleshooting” (page 96).
Connect the M306NKT-EPB to the emulator.
Debug a program with various functions of
Figure 2.1 Flowchart of starting up the emulator
Check the package components. Refer to “1.1 Package Components” (page 13).
▼
User registration Refer to “User Registration” (page 11).
▼
Install the M16C R8C PC7501 emulator
debugger.
▼
Connect the host machine.
▼
▼
Connect the power supply for the emulator. Connect a power supply for the emulator.
▼
Connect the user system. Connect the user system as occasion demands.
▼
Turning on the power supply.
▼
Check the LED display of the emulator.
▼
Start up the emulator debugger from the
High-performance Embedded Workshop.
▼
Set the operating environment
of the emulator debugger.
▼
the emulator debugger.
Install the M16C R8C PC7501 emulator debugger.
Connect the PC7501 to the host machine with the LPT parallel
interface cable, USB interface cable or LAN interface cable.
Set the interface selection switch on the rear panel of the PC7501 to
the using interface.
Connect the M306NKT-EPB and the M3T-FLX160-EPB of the
PC7501.
Turn ON the power to the emulator and the user system as
simultaneously as possible.
Check that system status LEDs, and POWER, CLOCK, RESET and
WARNING of target status LEDs are lighting. When the user
system is not connected, the POWER LED does not light up.
Start up the High-performance Embedded Workshop, and start up
the emulator debugger.
Set the INIT dialog box and MCU Setting dialog box of the
emulator debugger.
For how to use the High-performance Embedded Workshop and the
emulator debugger, refer to each online manual.
REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 21 of 104
M306NKT-EPB User’s Manual 2. Setup
2.2 Installing the Emulator Debugger (M16C R8C PC7501 Emulator Debugger)
If the OS used in your host machine is Windows XP or 2000, this installation must be executed by a user with administrator
rights. Be aware that users without administrator rights cannot complete the installation.
Install the M16C R8C PC7501 emulator debugger following the procedure described below.
2.2.1 Installing the Emulator Debugger
(1) Downloading the M16C R8C PC7501 emulator debugger
Download the M16C R8C PC7501 emulator debugger from the URL below.
In the “user information” dialog box, enter the user information (contractor, section, contact address, and host machine).
The supplied information will be turned into a format by which technical support will be provided by e-mail.
(4) Completing the installation
A dialog box will be displayed indicating that setup has been completed. It means that the installation you made is
completed.
REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 22 of 104
M306NKT-EPB User’s Manual 2. Setup
2.3 Connecting the Host Machine
When connecting the emulator PC7501 to a host machine, you can choose your desired interface from LPT parallel interface,
USB interface and LAN interface. Use the interface selection switch on the emulator PC7501's rear panel to specify your
desired interface. Figure 2.2 shows the outline to connect each interface cable.
Figure 2.2 Outline for interface cable connections
REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 23 of 104
M306NKT-EPB User’s Manual 2. Setup
2.4 Connecting the PC7501
Figure 2.3 shows how to connect the PC7501 and the emulation probe.
M3T-FLX160-EPB
M306NKT-EPB
Figure 2.3 Connecting the PC7501 and emulation probe
CAUTION
Note on Connecting the PC7501:
zAlways shut OFF power before connecting the emulation probe. Otherwise, internal circuits may be damaged.
IMPORTANT
Notes on Connecting the PC7501:
z When connecting the emulation probe, be sure to hold the both sides of the emulation probe horizontally and
insert it directly.
zThe connectors of the M306NKT-EPB are guaranteed for only 50 insertion/removal iterations.
REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 24 of 104
M306NKT-EPB User’s Manual 2. Setup
2.5 Connecting the Power Supply for the Emulator
The power is supplied from AC adapter to the emulator PC7501. Here following explains how to connect the AC adapter.
(1) Turn OFF the power to the PC7501.
(2) Connect the DC cable of the AC adapter to the PC7501.
(3) Connect the AC power cable to the AC adapter.
(4) Connect the AC power cable to the outlet.
CAUTION
Cautions for AC Adapter:
z Use only the AC adapter included in PC7501 package.
z The included AC adapter is for PC7501. Do not use it for other products.
z Before installing this equipment or connecting it to other equipment, disconnect the AC power cable from its
outlet to prevent injury or accident.
z The DC plug on 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 the
AC power cable. Check if the power is supplied by the LED of the AC adapter.
REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 25 of 104
M306NKT-EPB 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 host machine, PC7501, emulation probe, and
user system.
2.6.2 Turning ON/OFF the Power
Turn ON the power of the emulator and user system as simultaneously as possible.
Turn OFF the power of the emulator and user system as simultaneously as possible.
Do not leave either the emulator or user system powered on, because of leakage current the internal circuits may be damaged.
When turning ON the power again after shutting OFF the power, wait for about 10 seconds.
IMPORTANT
Notes on Power Supply:
z The emulator's 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. Therefore, provide the user system with a separate power
supply from that of the emulator.
z The voltage of the user system should be as follows.
3.0 V ≤ Vcc ≤ 5.5 V
zDo not change user system power supply voltage after power has been activated.
REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 26 of 104
M306NKT-EPB User’s Manual 2. Setup
2.6.3 LED Display When the Emulator Starts Up Normally
Figure 2.4 shows upper panel LED lighting status when the emulator started up properly. Check it when starting up the
emulator system.
- If this LED does not light, check the voltage of the user system.
- Check that the power is supplied to all the power terminals.
- When the user system is not connected, this LED does not light.
POWER
SAFE
ERROR
SYSTEM
STATUS
LED display when the emulator starts up normally
POWER
CLOCK
RESET
RUN
WARNING
TARGET
STATUS
: ON
: OFF
: Flashing
Figure 2.4 LED display when the power turned on PC7501
IMPORTANT
Note on Memory Expansion or Microprocessor Mode:
z To use memory expansion or microprocessor mode, be sure to set pins RDY#, HOLD# and NMI# so that they
are not held low at startup. Otherwise the emulator system will not start up correctly.
Note on the Target Status POWER LED:
z If your MCU has two or more Vcc terminals, the LED does not light unless power is supplied to all the
terminals.
Note on the Target Status CLOCK LED:
z If the LED is not turned on, check the following.
(1) After powering on the PC7501 (before starting up the emulator debugger):
Make sure that the oscillator circuit board is properly installed in the PC7501 and it is oscillating normally.
(2) After the emulator debugger is started up (after the Init dialog box settings are completed):
Make sure that the oscillator selected in the Init dialog box is oscillating normally.
REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 27 of 104
M306NKT-EPB User’s Manual 2. Setup
2.7 Downloading Firmware
2.7.1 When It is Necessary to Download Firmware
It is necessary to download the firmware in the cases listed below. Normally, the following are automatically detected when
the emulator debugger is started up, and the firmware is downloaded.
(1) When you use this product for the first time
(2) When the firmware has been upgraded
(3) When the emulator debugger has been upgraded
(4) When you use this product with a PC7501 which was used with another emulation probe before
If downloading firmware is not completed in the cases below, redownload the firmware.
- When the power is unexpectedly shut down during a download from the emulator debugger
- When a communications interface cable is unexpectedly pulled out
2.7.2 Downloading Firmware in Maintenance Mode
Download firmware in the special mode called maintenance mode as explained here following.
The user system must not be connected when you download the firmware.
(1) Set the interface select switch on the rear panel of the PC7501 to the LPT side and connect the LPT parallel interface
cable to the PC7501 and the host machine.
(2) Within 2 seconds of activating power to the emulator, press the system reset switch on the PC7501 front panel to switch
to maintenance mode. When the emulator is switched to maintenance mode, the System Status SAFE LED begins to flash.
(3) Start up the emulator debugger. When settings in the Init dialog box are complete, the dialog which urges to download the
firmware will appear. Download firmware following messages. Required time for downloading the firmware is about 60
seconds.
POWER
SAFE
ERROR
SYSTEM
STATUS
POWER
SAFE
ERROR
SYSTEM
STATUS
POWER
CLOCK
RESET
RUN
WARNING
TARGET
STATUS
POWER
CLOCK
RESET
RUN
WARNING
TARGET
STATUS
POWER
SAFE
ERROR
SYSTEM
STATUS
Maintenance mode started
POWER
SAFE
ERROR
SYSTEM
STATUS
Download completed
POWER
CLOCK
RESET
RUN
WARNING
TARGET
STATUS
POWER
CLOCK
RESET
RUN
WARNING
TARGET
STATUS
: ON
: OFF
: Flashing
POWER
SAFE
ERROR
SYSTEM
STATUS
Downloading firmware
POWER
CLOCK
RESET
RUN
WARNING
TARGET
STATUS
Figure 2.5 LEDs during firmware download in maintenance mode
IMPORTANT
Note on Downloading Firmware:
z Do not shut OFF power while firmware is being downloaded. Doing so, the emulator will not start up properly.
If power is shut off by mistake, redownload the firmware in maintenance mode.
REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 28 of 104
M306NKT-EPB User’s Manual 2. Setup
2.8 Self-check
2.8.1 Self-check Procedure
The self-check is a function to check the memory etc. mounted in the emulator. To run the self-check of the emulator, do so as
explained here below. While the self-check is in progress, the LEDs will change as shown in Figure 2.6. In case of ERRORs 1
to 4, because the target status LEDs will change depending on errors, check the system status LEDs.
(1) If the user system is connected, disconnect it.
(2) Set the switches as the factory-settings to execute the self-check (see Table 2.1).
(3) Within 2 seconds of activating power to the emulator, press the system reset switch on the PC7501’s front panel.
(4) Check the "SAFE" LED starts flashing and then press the system reset switch again.
(5) The self-check will start. If the normal result is displayed in about 30 seconds, the self-check terminated normally.
POWER
SAFE
ERROR
SYSTEM
STATUS
POWER
CLOCK
RESET
RUN
WARNING
TARGET
STATUS
Maintenance mode started
POWER
SAFE
ERROR
SYSTEM
STATUS
POWER
CLOCK
RESET
RUN
WARNING
TARGET
STATUS
Self-check terminated normally
: ON
: OFF
: Flashing
SAFE and ERROR flash
SAFE flashes, and ERROR lights
SAFE and ERROR light alternately
SAFE goes out, and ERROR lights
ERROR 1
ERROR 2
ERROR 3
ERROR 4
POWER
SAFE
ERROR
SYSTEM
STATUS
POWER
CLOCK
RESET
RUN
WARNING
TARGET
STATUS
- When the firmware does not support the emulation probe
- When the emulation probe is not connected properly
Emulation probe and firmware do not match
POWER
SAFE
ERROR
SYSTEM
STATUS
POWER
CLOCK
RESET
RUN
WARNING
TARGET
STATUS
- When the PC7501 system is not working properly
PC7501 system status error
POWER
SAFE
ERROR
SYSTEM
STATUS
POWER
CLOCK
RESET
RUN
WARNING
TARGET
STATUS
- When a clock is not supplied to the emulation probe
Emulation probe initialization error
POWER
SAFE
ERROR
SYSTEM
STATUS
POWER
CLOCK
RESET
RUN
WARNING
TARGET
STATUS
- When the emulation probe is not working properly
Emulation probe status error
Figure 2.6 LED displays in the self-check
REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 29 of 104
M306NKT-EPB User’s Manual 2. Setup
2.8.2 If an Error is Detected in the Self-check
If the self-check does not result normally (ERROR 1 to ERROR 4 in Figure 2.6), check the following.
(1) Recheck the connection of the emulation probe and PC7501.
(2) Redownload the proper firmware.
IMPORTANT
Note on the Self-check:
z Perform the self-check while not connecting the user system.
z If the self-check does not result normally (excluding user system errors), the emulation probe may be damaged.
Then contact your local distributor.
REJ10J0519-0200 Rev.2.00 Oct. 16, 2006 Page 30 of 104
Loading...
+ 74 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.