Summary of the content on the page No. 1
REJ10J0143-0401Z
USB Flash Writer
User's Manual
RENESAS SINGLE-CHIP MICROCOMPUTER
M16C FAMILY / 740 FAMILY
Rev.4.01 Renesas Solutions Corp.
Revision date: Dec 24, 2004 www.renesas.com
Summary of the content on the page No. 2
Keep safety first in your circuit designs! 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) us
Summary of the content on the page No. 3
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 hardw
Summary of the content on the page No. 4
Table of Content Table of Content 1. Contents of Product .........................................................................................................................................4 1.1 Contents of product ........................................................................................................................................4 1.2 Operating Environment ................................................................................................................
Summary of the content on the page No. 5
Table of Content 4.2.Other Functions............................................................................................................................................48 5. Using the KD ..................................................................................................................................................49 5.1 Using the KD.........................................................................................................................................
Summary of the content on the page No. 6
Table of Content 6.7 A communication error occurred when debugging the program. What is the cause of this problem? ......74 6.8 A message "Source file cannot be found" was output. What should I do?.................................................75 6.9 Is peripheral I/O operating during a break? .................................................................................................75 6.10 Can coveragefunction be used in KD?...........................................................
Summary of the content on the page No. 7
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
Summary of the content on the page No. 8
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 Environment 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 Fl
Summary of the content on the page No. 9
1 Contents of Product Table 1-4 Compatible Products (2) Group MCU Product Name Corresponding MCU Product Name Software to select in Software M16C/24 M30245FCGP FoUSB, KD30 M30245FC M16C/62A(M) M30620FCAFP/GP, M30621FCAGP FoUSB, KD30 M30620FCA M30620FCMFP/GP, M30621FCMGP M30624FGAFP/GP, M30625FGAGP FoUSB, KD30 M30624FGA M30624FGMFP/GP, M30625FGMGP M16C/62P M30622F8PFP/GP FoUSB, KD30 M30622F8P M30623F8PGP FoUSB, KD30 M30623F8P M30620FCPFP/GP FoUSB, KD30 M30620FCP M30621FCPGP FoUSB, KD3
Summary of the content on the page No. 10
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 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, 25
Summary of the content on the page No. 11
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
Summary of the content on the page No. 12
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 1
Summary of the content on the page No. 13
2 Product Specifications 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 included 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 b
Summary of the content on the page No. 14
3 Installing 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.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 ad
Summary of the content on the page No. 15
3 Installing 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) Click the button. 4) Only when you agree, click the button. 12
Summary of the content on the page No. 16
3 Installing 5) Choose the component which you want to install and click the button. 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 inst
Summary of the content on the page No. 17
3 Installing 6) Choose the install location of FoUSB and click the button. The default install location of FoUSB is “C:\MTOOL\FOUSB”. 7) The following figure is displayed when the install component “Install USB Drivers” is choosen. Click the button. Next, warning is displayed. Please check that USB Monitor Board is not connected to your host computer (PC), and click the button. 14
Summary of the content on the page No. 18
3 Installing 8) When an operating system is Windows XP, notes screen is displayed. Click the button. Then the software install screen is displayed two times (for USBMON Driver and FoUSB Driver), click the button twice (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 an
Summary of the content on the page No. 19
3 Installing 10) The following figure is displayed when installation of USB Driver is completed. Click the 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 button. When button is clicked, the firmware of KD30 is not updated. Note: When the install component “Upd
Summary of the content on the page No. 20
3 Installing 12) Finally, click the button. 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 button. An uninstall window will appear, with the Flash-over-USB V.*.** compiler uninsalled. 17