Renesas M16C FAMILY User Manual

REJ10J0143-0401Z
r
USB Flash Write
User's Manual
RENESAS SINGLE-CHIP MICROCOMPUTER
M16C FAMILY / 740 FAMILY
1. Renesas Technology Corporation 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.
Keep safety first in your circuit designs!
Notes regarding these materials
1. These materials are intended as a reference to assist our customers in the selection of the Renesas Technology Corporation 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 Corporation or a third party.
2. Renesas Technology Corporation 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 Corporation without notice due to product improvements or other reasons. It is therefore recommended that customers contact Renesas Technology Corporation or an authorized Renesas Technology Corporation 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 Corporation 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 Corporation by various means, including the Renesas Technology Corporation 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 Corporation assumes no responsibility for any damage, liability or other loss resulting from the information contained herein.
5. Renesas Technology Corporation 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 Corporation or an authorized Renesas Technology Corporation 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 Corporation 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 Corporation for further details on these materials or the products contained therein.
Microsoft, MS, and MS-DOS are registered trademarks of Microsoft Corporation of the U.S. Windows is trademark of Microsoft Corporation of the U.S. IBM and PC/AT are registered trademarks of International Business Machines Corporation of the U.S. Pentium is a trademark of Intel Corporation of the U.S. Adobe and Acrobat are registered trademarks of Adobe Systems Incorporated.
Preface
Thank you for purchasing Renesas USB Flash Writer (M3A-0665). This manual describes how to use the hardware and software products included with USB Flash Writer (M3A-0665). To other tools, look other tools's manulas.
Table of Content
Table of Content
1. Contents of Product.........................................................................................................................................4
1.1 Contents of product........................................................................................................................................4
1.2 Operating Environment ..................................................................................................................................5
1.3 Compatible Products......................................................................................................................................5
1.4 Board Specification.........................................................................................................................................7
1.5 CD-ROM.........................................................................................................................................................8
1.6 System Requirements....................................................................................................................................8
2. Product Specifications......................................................................................................................................9
2.1 FoUSB (Flash-over-USB) ..............................................................................................................................9
2.2 KD30/KD3083................................................................................................................................................9
3. Installing..........................................................................................................................................................11
3.1 Before installing............................................................................................................................................11
3.2 Preparation before installing.........................................................................................................................11
3.3 FoUSB (Flash-over-USB) installing .............................................................................................................12
3.3.1 Method of Installation............................................................................................................................12
3.3.2 Method of Uninstallation.......................................................................................................................17
3.4 Recognition of USB Monitor Board..............................................................................................................18
3.4.1 Recognition of USB Monitor Board 1 (for USBMON Driver) ...............................................................18
3.4.2 Recognition of USB Monitor Board 2 (for FoUSB Driver)....................................................................20
3.4.3 Other Notes...........................................................................................................................................23
3.5 KD30/KD3083 intalling.................................................................................................................................24
3.5.1 Installing.................................................................................................................................................24
3.5.2 Uninstalling the Remote Debugger......................................................................................................26
4. Using the FoUSB...........................................................................................................................................27
4.1 Using the FoUSB (Flash-over-USB)............................................................................................................27
4.1.1 Before Starting the FoUSB...................................................................................................................27
4.1.2 FoUSB starts.........................................................................................................................................30
4.1.3 Details of Main Button 1........................................................................................................................31
4.1.4 Details of the Update Button.................................................................................................................42
4.1.5 Details of the Select MCU Button.........................................................................................................43
4.1.6 Monitor Information...............................................................................................................................47
4.1.7 Detailed File Information.......................................................................................................................47
4.1.8 Details of Main Button 2........................................................................................................................47
i
Table of Content
4.2.Other Functions............................................................................................................................................48
5. Using the KD..................................................................................................................................................49
5.1 Using the KD.................................................................................................................................................49
5.1.1 Before Starting the KD..........................................................................................................................49
5.1.2 Starting the KD......................................................................................................................................50
5.1.3 Program Download...............................................................................................................................55
5.1.4 Program Execution...............................................................................................................................56
5.1.5 Program Stop........................................................................................................................................56
5.1.6 Program Step Execution.......................................................................................................................56
5.1.7 Software Break Method........................................................................................................................57
5.1.8 Reset Execution....................................................................................................................................57
5.1.9 KD Completion......................................................................................................................................57
5.1.10 If a Communication Error Occurs.......................................................................................................58
5.1.11 Error Except a Communication Error Occurs.....................................................................................58
5.1.12 Operation Method...............................................................................................................................58
5.2 KD Limitations...............................................................................................................................................59
5.2.1 Limitations on Special Page Vector......................................................................................................59
5.2.2 A limitation item ab out the C language.................................................................................................60
5.2.3 Limitations on Memory Extension .........................................................................................................61
5.2.4 Precautions on Internal Reserved Area Expansion Bit........................................................................61
5.2.5 Limitations on Stop and Wait Modes....................................................................................................62
5.2.6 Realtime Capability of the Use r Program.............................................................................................62
5.3 Memory Map Limitations..............................................................................................................................63
5.4 Peripheral Function Related Limita tions......................................................................................................66
5.5 FoUSB Debugger Principle..........................................................................................................................66
5.5.1 Communication Function with FoUSB .................................................................................................67
5.5.2 Command Execution ............................................................................................................................67
5.5.3 The difference from an actual CPU ope ration......................................................................................68
6. Troubleshooting..............................................................................................................................................69
6.1 FoUSB cannot communicate with the Target MCU Why ?..........................................................................69
6.2 The MCU cannot enter standerd serial I/O why?........................................................................................69
6.3 The MCU cannot be programmed using FoUSB Why?.............................................................................69
6.4 FoUSB cannot operate Why?......................................................................................................................69
6.4.1 Compulsive download procedure of firmware......................................................................................71
6.5 Can FoUSB information be transmitted to KD?...........................................................................................74
6.6 A communication error occurs w hen the KD star ts. What is the cau se of this p roblem?...........................74
ii
Table of Content
6.7 A communication error occurred w hen debug ging the p rogram. Wha t is the cause of this pro blem?......74
6.8 A message "Source file cannot be found" was ou tput. What should I do?.................................................75
6.9 Is peripheral I/O operating during a bre ak?.................................................................................................75
6.10 Can coveragefunction be used in KD?......................................................................................................75
6.11 Can check sum function be used?.............................................................................................................75
6.12 ID code written to microcomputer after KD exits? .....................................................................................75
6.13 Debug operation has not worked w ell........................................................................................................76
6.14 Message List ..............................................................................................................................................78
7. Appendix.........................................................................................................................................................79
7.1 USB Monitor Board ......................................................................................................................................79
7.1.1 Board Specifications .............................................................................................................................79
7.1.2 Pin Assignments...................................................................................................................................80
7.1.3 Example Connection.............................................................................................................................80
7.1.4 Power Source Supply Selector.............................................................................................................87
7.1.5 LED Status Indicators...........................................................................................................................87
7.2 Installation of a USB Driver, and recognition of USB Monitor Board (Manual se tup).................................88
7.2.1 For USBMON Driver.............................................................................................................................88
7.2.2 For FoUSB Driver .................................................................................................................................91
7.3 Referencing Electronic Manuals..................................................................................................................95
7.4 Product Information......................................................................................................................................95
iii
1 Contents of Product

1. Contents of Product

This section shows the contents of theUSB Flash Writer’s product package. When unpacking your USB Flash Writer, check to see that all products listed below are included.

1.1 Contents of product

Table 1-1 lists the products included in the USB Flash Writer.
Table 1-1 USB Flash Writer Product List
Product List Quantity Remark
USB Monitor Board 1pc USB Cable (Used for the connection with the Host Computer.) 1pc Flat Cable 1pc Pin Header (HIF3FC-10P-2.54DSA: straight type) 1pc Note 1 CD-ROM 1pc Note 2
Note 1: Starter kit doesn't include pin header (straight type). Note 2: When a FoUSB is included with starter kit, only one CD-ROM is in the FoUSB.
4
1 Contents of Product

1.2 Operating Environment

The software includes USB Flash Writer run on the Host Computer (PC) under the OS (Operating System) version that are listed respectively in Table 1-2.
Table 1-2 Operating Envir onment
Host Computer (PC) IBM PC/AT series or its compatible OS (Operating System) Microsoft Windows 98SE/ME/2000/XP CPU Pentium II 233MHz or newer recommended Memory 8 Mbyte or more (16 Mbyte recommended)

1.3 Compatible Products

Compatible products with USB Flash Writer are as follows.
Table 1-3 Compatible Products (1)
Group MCU Product Name Corresponding
Software
M16C/10 M30100F3FP, M30102F3FP FoUSB, KD30 M30102F3 M16C/1N M301N2F8TFP FoUSB, KD30 M301N2F8 M16C/24 M30245FCGP FoUSB, KD30 M30245FC M16C/26
M16C/26A
M16C/28
M16C/29
M30262F3GP FoUSB, KD30 M30262F3 M30262F4GP FoUSB, KD30 M30262F4 M30262F6GP FoUSB, KD30 M30262F6 M30262F8GP FoUSB, KD30 M30262F8 M30260F3AGP FoUSB, KD30 M30260F3A M30260F4AGP FoUSB, KD30 M30260F4A M30260F6AGP FoUSB, KD30 M30260F6A M30260F8AGP FoUSB, KD30 M30260F8A M30263F3AFP FoUSB, KD30 M30263F3A M30263F4AFP FoUSB, KD30 M30263F4A M30263F6AFP FoUSB, KD30 M30263F6A M30263F8AFP FoUSB, KD30 M30263F8A M30280F6HP FoUSB, KD30 M30280F6 M30280F8HP FoUSB, KD30 M30280F8 M30280FAHP FoUSB, KD30 M30280FA M30281F6HP FoUSB, KD30 M30281F6 M30281F8HP FoUSB, KD30 M30281F8 M30281FAHP FoUSB, KD30 M30281FA M30290F8HP FoUSB, KD30 M30290F8 M30290FAHP FoUSB, KD30 M30290FA M30290FCHP FoUSB, KD30 M30290FC M30291F8HP FoUSB, KD30 M30291F8 M30291FAHP FoUSB, KD30 M30291FA M30291FCHP FoUSB, KD30 M30291FC
MCU Product Name to select in Software
5
Table 1-4 Compatible Products (2)
1 Contents of Product
Group MCU Product Name Corresponding
Software
M16C/24 M30245FCGP FoUSB, KD30 M30245FC
M30620FCAFP/GP, M30621FCAGP M30620FCMFP/GP, M30621FCMGP M30624FGAFP/GP, M30625FGAGP M30624FGMFP/GP, M30625FGMGP
M16C/62P
M16C/62N M3062GF8NFP/GP FoUSB, KD30 M3062GF8 M16C/6N
M32C/84 M30843FJFP/GP, M30845FJGP FoUSB, KD3083 M30845FJ M32C/85
M32C/86 M30865FJGP FoUSB, KD3083 M30865FJ M32C/87 M30879FLFP/GP, M3087BFLGP FoUSB, KD3083 M3087BFL R8C/10
R8C/11
R8C/12
R8C/13
7542 M37542F8SP/FP/GP FoUSB M37542F8 38C2 M38C29FFAFP/HP FoUSB M38C29FF
M30622F8PFP/GP FoUSB, KD30 M30622F8P M30623F8PGP FoUSB, KD30 M30623F8P M30620FCPFP/GP FoUSB, KD30 M30620FCP M30621FCPGP FoUSB, KD30 M30621FCP M30624FGPFP/GP FoUSB, KD30 M30624FGP M30625FGPGP FoUSB, KD30 M30625FGP M30626FHPFP/GP FoUSB, KD30 M30626FHP M30627FHPGP FoUSB, KD30 M30627FHP M30626FJPFP/GP FoUSB, KD30 M30626FJP M30627FJPGP FoUSB, KD30 M30627FJP
M306N4FCTFP FoUSB, KD30 M306N4FC M306N4FGTFP FoUSB, KD30 M306N4FG M306N5FCTFP FoUSB, KD30 M306N5FC M306NAFGTFP FoUSB, KD30 M306NAFG M306NBFCTFP FoUSB, KD30 M306NBFC M30800FCFP/GP, M30802FCGP FoUSB, KD3083 M30800FC M16C/80 M30803FGFP/GP, M30805FGGP FoUSB, KD3083 M30803FG M30833FJFP/GP FoUSB, KD3083 M30833FJ M32C/83 M30835FJGP FoUSB, KD3083 M30835FJ
M30853FHFP/GP, M30855FHGP FoUSB, KD3083 M30855FH M30853FWFP/GP, M30855FWGP FoUSB, KD3083 M30855FW M30850FJFP/GP, M30852FJGP FoUSB, KD3083 M30852FJ
R5F21102FP FoUSB, KD30 R5F21102 (R5F21104 *1) R5F21103FP FoUSB, KD30 R5F21103 (R5F21104 *1) R5F21104FP FoUSB, KD30 R5F21104 R5F21112FP FoUSB, KD30 R5F21112 (R5F21114 *1) R5F21113FP FoUSB, KD30 R5F21113 (R5F21114 *1) R5F21114FP FoUSB, KD30 R5F21114 R5F21122FP FoUSB, KD30 R5F21122 (R5F21124 *1) R5F21123FP FoUSB, KD30 R5F21123 (R5F21124 *1) R5F21124FP FoUSB, KD30 R5F21124 R5F21132FP FoUSB, KD30 R5F21132 (R5F21134 *1) R5F21133FP FoUSB, KD30 R5F21133 (R5F21134 *1) R5F21134FP FoUSB, KD30 R5F21134
FoUSB, KD30 M30620FCA M16C/62A(M)
FoUSB, KD30 M30624FGA
MCU Product Name to select in Software
*1: When using the KD30.
6
1 Contents of Product

1.4 Board Specification

Table 1-5 shows the USB Monitor Board Specification. When saving these products, put them into the conductive bag. Store them into the container box which is used for shipping as possible
Table 1-5 USB Monitor Board Specification
Item Description
Debug formula Monitor program formula Monitor program
USB microcomputer M37641F8HP (8 bit USB flash microcomputer) USB interface (J1) USB2.0 full speed
Operation voltage
Power consumption Max.50mA Board size 70mm x 29mm
(at the time of operation)
(at the time of storage)
ROM size: Approx. 1600 byte * In the case of R8C/Tiny Series, 2K byte RAM size: 128 byte * In the case of M16C/80 Group, 256 byte * In the case of M32C/80 Series, 256 byte * In the case of R8C/Tiny Series, not used Operation frequency: 700KHz or above (Note1) Operation mode: Single chip mode Software break: 2 points to 8 points (Note2)
Synchronous serial Interface Target interface (J3) Starter kit and 10 pin connector for target board connection
4.75V to 5.25V (USB bus-powered supply or target supply enabled)
3.0V to 3.6V (supply from target is necessary) (Note3)
Temperature: 25±5°C (no corrosive gas) Use environment condition Humidity: no condensation Temperature: 25±5°C (no corrosive gas) Use environment condition Humidity: no condensation
Note 1: Maximum operating frequency is dependent on the MCU. Note 2: Software break numbers are dependent on the address match circuit numbers
are built-in MCU.
Note 3: When operating in 3.3V, supply power from the target board. In this case, it is not
possible to change the FoUSB firmware. When the model name of the microcomputer to be used is changed, remove the target board, supply the USB bus-powered and rewrite the firmware.
7
1 Contents of Product

1.5 CD-ROM

The CD-ROM contains software products necessary for developing programs and electronic manuals as well. Here follow the contents of the CD-ROM.
CD-ROM: Rev.2.10 or later
\root |--- Readme_e.txt : Readme File (English version) |--- Readme_j.txt : Readme FIle (Japanese version) |--- \Document : User’s manual is included (English and Japanease version) |--- \FOUSB : FoUSB Installer is included (English and Japanese common version) | |--- \USB Drivers : USB Driver is included (English and Japanese common version) | |--- \KD | |--- \KD30 : KD30 Installer is included (English and Japanese version) | |--- \KD3083 : KD3083 Installer is included (English and Japanses versio n) | |--- \NC |--- \NC30WA : NC30WA C Compiler is included (English and Japanese version) Note |--- \NC308WA : NC308WA C Compiler is included (English and Japanese version) Note
Note: Entry version

1.6 System Requirements

In addition to the products listed above, you must have the following equipment before you can use the USB Flash Writer.
1) Host Computer (PC)
2) Target Board
8
2 Product Specifications

2. Product Specifications

2.1 FoUSB (Flash-over-USB)

FoUSB is the software that allows you to operate on M16C, M32C, R8C or 740 microcomputers with built-in flash memory from a Windows version host computer (Windows 98SE or later).

2.2 KD30/KD3083

The KD included with the package is the debug software that runs on a Windows version host computer. This KD is usable for only the R8C/Tiny, M16C/10, M16C/20, M16C/Tiny, M16C/60, M16C/80 or M32C/80 series of Renesas 16-bit and 32-bit single-chip microcomputers with built-in flash memory. The KD provides a powerful debugging environment. In addition, it is operationally compatible with and can therefore be used the same way as PD30 (or PD308F), the emulator control debugger for Renesas 16C/62 microcomputers. The features of the Remote Debugger are outlined below. For details, see Section “5. Using the KD”.
Table 2-1 PD30 and KD30 com parison
No. Item PD30 KD30
1 Software break function 64 points 2 points to 8 points (Note) 2 Hardware break function 6 points not included 3 RAM monitor function included included 4 Real time trace included not include d 5 Time measurement function included not included 6 Script function included included
Note: Software break numbers are dependent on the address match circuit numbers are
built-in MCU.
9
Table 2-2 PD308F and KD3083 comparison
No. Item PD308F KD3083
1 Software break function 64 points 4 points to 8 points (Note) 2 Hardware break function 6 points not included 3 RAM monitor function included included 4 Real time trace included not include d 5 Time measurement function included not included 6 Script function included included
Note: Software break numbers are dependent on the address match circuit numbers are
built-in MCU.
NOTICE: The software break number of MCUs
2 Product Specifications
Group software break
number
M16C/10 2 points M16C/1N 2 points
M16C/24 2 points M16C/26, 26A 6 points M16C/28 6 points M16C/29 6 points R8C/Tiny Series 2 points M16C/62A(M) 2 points M16C/80 4 points M16C/62P 8 points M32C/83 4 points M16C/62N 2 points M32C/84, 85, 86, 87 8 points
M16C/6N (M3062NAFG, M3062NBFC)
M16C/6N (M306N4FC, M306N4FG, M306N5FC)
Group software break
number
2 points
8 points
10

3. Installing

3.1 Before installing

Do not connect the USB Cable which belongs to this product to the Host computer (PC) before installing.
3 Installing

3.2 Preparation before installing

Be sure to confirm the following point before performing installation of a tool (GUI) and a driver. (1) The CD-ROM includes files required for the FoUSB (Flash-over-USB) installation. Copy all files
to any folder in your PC before installation.
(2) All tools and USB drivers must be installed with the administrator if installed on Windows
2000/XP. Both PowerUser (for a standard access) and User (for a limited access) can use software after installation.
11

3.3 FoUSB (Flash-over-USB) installing

3.3.1 Method of Installation

1) To install FoUSB, double-click “FoUSB_V.*.**.exe” on the folder into which you’ve copied FoUSB files from the CD-ROM.
2) Select the language of installer.
3 Installing
3) Click the <Next> button.
4)
Only when you agree, click the <I Agree> button.
12
5) Choose the component which you want to install and click the <Next> button.
3 Installing
NOTICE: Explanation of install component
(a) Shortcut on Desktop
The shortcut of a FoUSB (Flash-over-USB) execution file is created on a desktop.
(b) Install USB Drivers
FoUSB installer installs a USB Driver in the correct location of Windows system automatically.
We recommend choosing this component in all operating systems. In addition, when this
component is not chosen, please perform installation of a USB Driver, and recognition of USB Monitor Board with reference to [7.2 Installation of a USB Driver, and recognition of USB Monitor Board (Manual setup)].
(c) Update KD30 Files
FoUSB installer updates KD30 to KD30 with a firmware older than the firmware of FoUSB.
(d) Update KD3083 Files
FoUSB installer updates KD3083 to KD3083 with a firmware oloder than the firmware of FoUSB.
13
6) Choose the install location of FoUSB and click the <Install> button. The default install location of FoUSB is “C:\MTOOL\FOUSB”.
3 Installing
7) The following figure is displayed when the install component “Install USB Drivers” is choosen. Click the <Yes> button.
Next, warning is displayed. Please check that USB Monitor Board is not connected to your host
computer (PC), and click the <OK> button.
14
8) When an operating system is Windows XP, notes screen is displayed. Click the <OK> button.
Then the software install screen is displayed two times (for USBMON Driver and FoUSB Driver), click the <Continue Anyway> button twice (Note).
3 Installing
Note: Microsoft has advocated authentication of the USB drivers to the USB vendors in the
Microsoft® Windows® XP and Windows®-based operating systems released after Microsoft® Windows® XP. This is aimed at elimination of illegal drivers and improvement of host computer (PC). Renesas USB Drivers are not authenticated by Microsoft, but we provide them based on the sufficient examination.
9) The following figure is displayed when the USB Driver is already installed in the PC. Click the <OK> button.
USBMON Driver
FoUSB Driver
15
10) The following figure is displayed when installation of USB Driver is completed. Click the <OK> button.
11) When the install component “Update KD30 Files” is chosen, FoUSB installer seaches KD30 with a firmware older than the firmware of FoUSB. The following figure will be displayed if KD30 is detected. If you want to update a firmware, click the <Yes> button. When <No> button is clicked, the
3 Installing
firmware of KD30 is not updated.
Note: When the install component “Update KD3083 Files” is chosen, the update check screen is
displayed like the above.
16
12) Finally, click the <Finish> button.
3 Installing
13) Now you’ve finished installing the FoUSB (Flash-over-USB).

3.3.2 Method of Uninstallation

To uninstall the FoUSB (Flash-over-USB) you've installed, choose Settings -- Control Panel from the Start menu, and then click “Add/Remove Programs”. Select "Flash-over-USB V.*.** " from the program list and click the <Add/Remove> button. An uninstall window will appear, with the Flash-over-USB V.*.** compiler uninsalled.
17
3 Installing

3.4 Recognition of USB Monitor Board

From installer version “V.2.04”, the FoUSB installer has an automatic USB Driver install function (Refer to [3.3 FoUSB (Flash-over-USB) installing].). This section explains recognition of USB Monitor Board when confirming this function and installing FoUSB. When this function is not confirmed, please perform installation of a USB Driver, and recognition of USB Monitor Board with reference to [7.2 Installation of a USB Driver, and recognition of USB Monitor Board (Manual setup)].

3.4.1 Recognition of USB Monitor Board 1 (for USBMON Driver)

1) Remove the cover of USB Monitor Board and make a USB Monitor Board (Board) the following setup, before connecting USB Monitor Board to your host computer (PC). If a setup is completed, attach a cover in a USB Monitor Board (Board).
Power Source Supply Selector (S1: Power Mode): USB side MCU Mode Pin (JP1: MCU Mode): Open
Open
USB side
Figure 3-1 Setup of USB Monitor Board (Board )
2) Connect the USB Monitor Board included with the package to the USB port of PC. The Power indicator (D1: Power) of USB Monitor Board lights, and a Status indicator (D4: Status) blinks.
Figure 3-2 USB Monitor Board con nectivity
18
3 Installing
3) When an operating system is WIndows 98SE/ME/2000, Windows system detect USB Driver automatically and recognizes USB Monitor Board. Recognition of USB Monitor Board for USBMON Driver is completion.
4) When an operating system is Windows XP, Windows system displays the Found New Hardware Wizard screen. Then, choose “Install the software automatically” and click the <Next> button.
5) Next, the Hardware Installation screen is displayed, click the <Continue Anyway> button (Note).
Note: Microsoft has advocated authentication of the USB drivers to the USB vendors in the
Microsoft® Windows® XP and Windows®-based operating systems released after Microsoft® Windows® XP. This is aimed at elimination of illegal drivers and improvement of host computer (PC). Renesas USB Drivers are not authenticated by Microsoft, but we provide them based on the sufficient examination.
19
3 Installing
6) Click the <Finish> button. Windows system recognizes USB Monitor Board (for USBMON Driver).
Recognition of USB Monitor Board for USBMON Driver is completion.

3.4.2 Recognition of USB Monitor Board 2 (for FoUSB Driver)

1) Remove the cover of USB Monitor Board and make a USB Monitor Board (Board) the following setup, before connecting USB Monitor Board to your host computer (PC). If a setup is completed, attach a cover in a USB Monitor Board (Board).
Power Source Supply Selector (S1: Power Mode): USB side MCU Mode Pin (JP1: MCU Mode): Shorted
Shorted
USB side
Figure 3-3 Setup of USB Monitor Board (Board )
20
3 Installing
2) Connect the USB Monitor Board included with the package to the USB port of PC. The Power indicator (D1: Power) of USB Monitor Board lights.
Figure 3-4 USB Monitor Board con nectivity
3) When an operating system is WIndows 98SE/ME/2000, Windows system detect USB Driver automatically and recognizes USB Monitor Board. Recognition of USB Monitor Board for USBMON Driver is completion. Please skip to 7).
4) When an operating system is Windows XP, Windows system displays the Found New Hardware Wizard screen. Then, choose “Install the software automatically” and click the <Next> button.
21
3 Installing
5) Next, the Hardware Installation screen is displayed, click the <Continue Anyway> button (Note).
Note: Microsoft has advocated authentication of the USB drivers to the USB vendors in the
Microsoft® Windows® XP and Windows®-based operating systems released after Microsoft® Windows® XP. This is aimed at elimination of illegal drivers and improvement of host computer (PC). Renesas USB Drivers are not authenticated by Microsoft, but we provide them baased on the sufficient examination.
6) Click the <Finish> button. Windows system recognizes USB Monitor Board (for FoUSB Driver).
Recognition of USB Monitor Board for FoUSB Driver is completion.
7) Separate USB Monitor Board from host computer (PC).
8) Finally remove the cover of USB Monitor Board and set the MCU Mode Pin (JP1: MCU Mode) as “Open”.
22

3.4.3 Other Notes

Caution: The “USB Drivers” folder below is stored.
Driver Name Description Related Files
3 Installing
USBMON Driver USBMON driver is a driver for using
FoUSB (Flash-over-USB) and KD (KD30,
usbmon.sys usbmon.inf
KD3083)
FoUSB Driver FoUSB driver is a driver for using USB
MCU (M367641F8) of USB Monitor
fousb.sys fousb.inf
Board in Boot mode. (Note)
(Note)
The Boot mode of USB MCU is used only for the use shown below.
1) Installation of FoUSB Driver
2) When the firmware of USB MCU is erased or damaged
When the firmware of USB MCU is erased or damaged, the phenomenon of [6.4 FoUSB cannot operate Why?] or [6.6 A communication error occurs when the KD starts. What is the cause of this problem?] occurs. In this case, it is necessary to install FoUSB driver (first time only) and download firmware compulsorily on a USB MCU. Please refer to [6.4 FoUSB cannot operate Why?].
23

3.5 KD30/KD3083 intalling

3.5.1 Installing

1) Installing the Remote Debugger
Double-click installer file on the CD-ROM (\KD\KD30) for KD30. In KD3083, the installer file is included in \KD\KD3083.
2) A flow of installation procedures is shown in the pages that follow.
(a) Click the <Yes> button.
3 Installing
(b) Click the <Next> button.
Only when you agree, click the <Yes> bu tton
(c)
24
3 Installing
(d) Click the <Next> button.
A default install location is “C:\MTOOL”. If an install location is changed, please click the <Browse> button and determine an install location.
(e) Click the <Yes> button.
(f) Click the <OK> button.
3) Now you've finished installing the KD30.
Note: The installation of KD3083 is the same.
25

3.5.2 Uninstalling the Remote Debugger

To uninstall, choose Settings -- Control Panel from the Start menu, and then click the “Add/Remove Programs”. Select KD from the program list and click the <Add/Remove> button. An uninstall window will appear, with the integrated development environment uninsalled.
The uninstallation of KD3083 is the same, too.
3 Installing
26

4. Using the FoUSB

4.1 Using the FoUSB (Flash-over-USB)

4.1.1 Before Starting the FoUSB

1) Check to see that the FoUSB is installed in your host computer (PC).
2) Check to see that PC, USB Cable, USB Monitor Board, Flat Cable and Target Board
4 Using the FoUSB
are firmly connected. (See Figure 4-1)
3. USB Monitor Board
1. USB Cable
4. Flat Cable
2. Target Board
5. Target MCU
Figure 4-1 connect-1
27
Loading...
+ 73 hidden pages