To our customers, Old Company Name in Catalogs and Other Documents On April 1st, 2010, NEC Electronics Corporation merged with Renesas Technology C
vi 8.7.3 Hide...
84 8.2 Device File The Device File is the item containing the data to Flash into the device. Figure 8-5 Device File The pop-up menu for Device Fi
85 8.2.6 Properties... Launches the device file properties dialog box. 8.2.7 Display Block usage... Launches the ‘S-Record Properties’ dialog box a
86 8.3 Workspace Properties Invoked from the Workspace pop-up menu item Properties... See also section 0. The ‘Workspace Properties’ dialog box sh
87 8.4 Project Properties Invoked from the Project pop-up menu item Properties... The ‘Properties’ dialog box shows details of: • The name of the
88 Figure 8-8 Kernel Properties Kernel Path This shows the kernel path. Frequency This shows the input clock and whether that clock is external or
89 8.5.2 Communications Tab This shows the default and current baud rates and the current port. It also allows the user to change the Port and Baud
90 FDM\E8Direct Pins This section displays the direction and state of the controlled mode pins for the Connect and Disconnect with Reset operations.
91 Interface If the target is connected directly to the host computer, the connection interface should be selected to ‘Direct Connection’. Alternativ
92 8.5.4 Programmer Tab This shows the state of the Function Map and allows the user to select the Device Protection Option of Automatic, Interacti
93 Reset on Disconnect When disconnecting from the device when used in combination with a UPB or FDM, FDT can be used to reset the target hardware. U
vii 10.2 Dialog Controls ...
94 8.5.5 Modules Tab This shows each Kernel file name. Some entries may be blank because most kernels do not use all of the modules. Figure 8-12 Mo
95 8.6.2 Cursor Value This tab shows various representations of the data at the cursor position. The display depends upon whether the display unit
96 8.7 Output Window The Output window is one of the main windows contained in the FDT GUI. Figure 8-16 Output Window The window has available po
97 8.8 Hex Editor Window The Hex Editor window is one of the main windows contained in the FDT GUI. It is used to display file contents or target u
98 The window has a right-click pop-up menu that contains the following items: 8.8.1 Cut This will remove the contents of the highlighted block from
99 8.8.10 Fill... Launches the ‘Fill’ dialog box for the current active file to write the specified data to the selected area. When the ‘ASCII Fill’
100 Figure 8-18 Customise Toolbars Dialog 8.9.1 Show Tooltips A check mark in the Show Tooltips box indicates that the action of the button will be
101 Clicking on OK in the ‘Customise’ dialog box saves any changes made and closes the dialog box. 8.9.6 Delete If a new toolbar has been added to t
102 Figure 8-20 Add Tool Dialog New menu options are added to the bottom of the list (i.e. bottom of the tools menu) by default. The order of menu
103 Figure 8-21 Modify Tool Dialog  To remove a menu option: 1. Select [Tools->Customise...]. The dialog shown in Figure 6-19 will be displayed
viii ii. Cautions Renesas neither warrants nor grants licenses of any rights of Renesas’ or any third party’s patent, copyright, trademark, or other
104
105 Chapter 9 Simple Interface Mode Invoked by [Tools->Simple Interface...]. This is used to simplify the look and feel of FDT once a project is
106 9.1.2 AutoDisconnect This forces FDT to automatically disconnect after programming, so that the user does not need to press the Disconnect butto
107 9.2.2 Exit Clicking this will exit FDT and FDT will start up in the Simple Interface Mode next time it is loaded. This will be disabled if the u
108
109 Chapter 10 Basic Simple Interface Mode Invoked from the start menu “Flash Development Toolkit 3.05 Basic”. This is used to simplify the look an
110 10.1.2 AutoDisconnect This forces FDT to automatically disconnect after programming, so that the user does not need to press the Disconnect butt
111 10.2.3 Download File Area For devices with a User Boot Area, the user can choose whether to download the file to the User Area or the User Boot
112
113 Chapter 11 Field Programming This is a feature designed to assist FDT users to send their FDT projects to other FDT users. Once a project is co
ix iii. Preface About this guide This guide explains the use of the Renesas Flash Development Toolkit (hereafter referred to as FDT). Chapter 1 , In
114 Figure 11-1 FDT Field Programming Interface 11.1 Options Menu 11.1.1 Login... This allows changing of which user is logged in to FDT. The hot
115 11.1.4 Request Checksum This option controls whether FDT automatically performs a checksum request operation after programming. The setting is r
116 11.2.5 Disconnect Clicking on Disconnect forces FDT to disconnect.
117 Chapter 12 E8 Update When connecting to an E8 interface adaptor board, FDT will check that the E8 firmware (adaptor software) is the correct ver
118 (current type = E8EMULATOR) Processing Data file :'c:\FDT\ADPFiles\E8-Rel-Img.mot' Mismatched Adaptor Software (Level 1) version numbe
119 Chapter 13 E8Direct The E8 is an existing USB interface board, which has been used to implement the communications protocol for programming R8C,
120 Figure 13-2 E8Direct enumeration 13.2 Hardware Differences The FDM had no capability of supplying the target power whereas the E8Direct ca
121 FDM Pin Name Pin No. 14-pin connector 20-pin connector (Japan only) E8 Direct Pin Name 1 SCK RES Output D 2 GND GND GND 3 FWx FWx Output C 4
122 The FDM used a H8S/2148AF with an 18.432MHz crystal, but the E8 uses an H8S/2215UF with a 16MHz crystal. The numbering system above applies to t
123 Chapter 14 QzROM Programming QzROM is a new type of programmable flash memory, found in some 4 and 8 bit MCUs. It is based most closely around t
x iv. Abbreviations Target / Device Refers to the programmable microcontroller or microcomputer that is connected to the PC ready for programming. D
124 14.2 Security Protection QzROM also introduces the concept of Security Protection into FDT. This is optionally set as FDT disconnects, and preve
125 Figure 14-6 Security Protect property Double clicking on the “Security Protection” field will bring up a new dialog allowing the entry to be chan
126 Figure 14-8 Security Protect Simple Interface The check mark shows the currently selected option. Note – these menu options will be disabled if
127 Chapter 15 Upgrading to FDT 3.05 Installing FDT 3.05 should not adversely affect your other FDT version installations. The USB drivers may be up
128
Renesas FLASH Microcomputer Programming SystemUser's ManualRenesas FLASH Development Toolkit 3.05 (fo
Sales Strategic Planning Div. Nippon Bldg., 2-6-2, Ohte-machi, Chiyoda-ku, Tokyo 100-0004, Japanhttp://www.renesas.comRefer to
1753, Shimonumabe, Nakahara-ku, Kawasaki-shi, Kanagawa 211-8668 JapanRenesas FLASH Development Toolkit 3.05(for Windows® 98SE/Me, Windows NT® 4.0, Wi
xi FoUSB This is a USB interface board developed by RTA. It is used for Flash Programming and in-circuit debugging. This is currently not supported b
xii v. Document Conventions This manual uses the following typographic conventions: CONVENTION MEANING [Menu->Menu Option] Bold text with ‘->’
1 Chapter 1 Introduction The Renesas Flash Development Toolkit (FDT) is an on-board FLASH programming tool for Renesas F-ZTAT microcomputers that pr
3 Chapter 2 System Overview FDT provides a method of programming, erasing and reading from Renesas Flash devices. Workspaces and Projects can be use
Notice 1. All information included in this document is current as of the date this document is issued. Such information, however, is subject to chang
4 2.1 User Interface The FDT Graphical User Interface is a Windows® application that presents a work environment, which allows the user to program F
5 2.1.1 Menu bar Commands are grouped into related areas on the Menu bar as indicated by the menu titles. Using the mouse the user can select a comm
6 If a menu item has the symbol (8) next to it then a cascading or hierarchical menu is available. Clicking on the menu item will reveal the cascading
7 Edit toolbar Figure 2-6 Edit Toolbar Save File – saves the active file. Cut – cuts data to the clipboard. Copy – copies data to the clipboa
8 FDT toolbar Figure 2-7 FDT Toolbar Connect - connects the device to the interface. Disconnect - disconnects the device from the interface. Er
9 S Record toolbar Figure 2-8 S Record Toolbar View as Bytes - view the file data as 8 bit bytes. View as Words - view the file data as 16 b
10 QzROM toolbar Figure 2-9 QzROM Toolbar Automatic Protection – Set QzROM security protection automatically on disconnect. Query Protection – A
11 When an action is being performed, a progress bar is displayed to show the progress of the current operation. The last section of the bar indicates
12 2.3 Hot Keys There are various hot keys for frequently used operations. These are as follows by category:- Description Hot Key Help Help F1 Fil
13 Description Hot Key Device Connect Ctrl+Alt+C Erase Flash Blocks Ctrl+Alt+E Blank Check Ctrl+Alt+B Upload Image Ctrl+Alt+U Download Active Fil
Renesas FLASH Development Toolkit 3.05(for Windows® 98SE/Me, Windows NT® 4.0, Windows® 2000 and Windows® XP)User’s ManualUser’s Manual Rev.7.00 2006
14
15 Chapter 3 Using FDT 3.1 Quickstart The stages required in order to program a device are as follows: 1) Start FDT by selecting ‘Start’->‘Pro
16 3.2.2 What is the difference between Boot Mode and User Mode? The Renesas Flash devices have different modes of operation which are controlled by
17 ‘gentest.h’ file and is compiled into the User Mode Test Program; this allows the kernel initialise the serial communications interface to 9600 ba
18 Administrator rights to save the settings. Password administration also requires Local PC Administrator rights. 3.2.7 How do I recompile a kernel
19 3.2.9 Can I modify the User Mode kernels to work for a different clock frequency? It is recommended that the original kernel is copied to another
20 3.3 Starting FDT 3.3.1 Starting FDT without Security or Simple Interface Mode enabled To start FDT, open the ‘Start’ menu of Windows® and sele
21 3.3.5 Starting FDT by double clicking on a w4f script configuration file FDT can be started by double clicking on a .w4f script configuration fil
22 "C:\Program Files\Renesas\FDT3.05\FDT.exe" "arl \"Administrator\" \"password\"" /DISCRETESTARTUP "osr
23 3.4 Creating a New Workspace and Project When FDT is started in full mode (not FDT Basic Simple Interface Mode), a workspace and project must b
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 c
24 3.4.2 Choose Device and Kernel (not Generic Boot*) Select the device you wish to use from the drop-down list. It is possible to have more than o
25 3.4.3 Communications Port Select the port (and interface if available) from the drop-down list, then click the ‘Next’ button. Note that in addit
26 3.4.4 Device Settings Enter values for the device settings; enter the input clock, then select the main and peripheral clock multipliers from th
27 Note To enter the clock mode, input clock, and multipliers, refer to the device hardware manual and/or the target board manual to confirm the val
28 3.4.6 Programming Options Select the protection level for programming the FLASH ROM and the messaging level, then click the ‘Finish’ button, or
29 Figure 3-8 FDM Pin Settings Figure 3-9 E8Direct Pin Settings
30 3.4.8 Reset Pin Settings [Only if the FDM or E8Direct is selected] Select the ‘Operating Mode’ and ‘Clock Mode’ and if ‘User Defined’, set the R
31 Figure 3-11 E8Direct RESET Pin Settings
32 3.5 Configuring a Project for a Generic Boot Device It is also possible to connect to a Generic Boot Renesas Device - where you do not need a ke
33 3.5.2 Generic Boot - Choose Device and Kernel Select ‘Generic Boot Device’ and click ‘Next’ Figure 3-13 Generic Boot Device Selection 3.5.3 G
i i. Contents i. Contents...i
34 Figure 3-14 Communications Port 3.5.4 Generic Boot - FDM Pin Settings [FDM connection only] If the FDM is selected the following screen will be
35 When the ‘Select USB Device’ Dialog is displayed you must select which FDM unit is to be used to set up the connection. Figure 3-16 Select USB Dev
36 Note Setting the mode pins using the E8Direct requires caution. Please confirm the pin settings with the hardware manual even if a default setti
37 3.5.7 Generic Boot – Select Device Because some devices share a boot program, a list is provided of all those supported. The user should select t
38 Figure 3-22 Clock Mode 3.5.9 Generic Boot – Setup Complete Having selected the Clock Mode, the Generic wizard completes as below. Figure 3-23 Gen
39 3.5.10 Generic Boot – Device Settings Please Refer to Section 3.4.4 3.5.11 Generic Boot - Connection Type Please Refer to Section 3.4.5 3.5.12
40 Figure 3-24 E8 Target Power Supply Selection 3.6.2 ID Check Dialog For devices which support the ID Check for unlocking the device, the ID che
41 4. Programming is complete when ‘Image successfully written to device’ is displayed in the output window. 3.7.3 Programming an individual file
42 3.8 Erasing Data from the FLASH ROM 1. Select [Device -> Erase FLASH blocks...] to display the ‘Erase Blocks’ dialog box. 2. Select the blo
43 3.9 Uploading the FLASH ROM Data 1. Display the ‘Upload Image’ dialog box from [Device -> Upload Image...]. either 2. Select the Address t
ii 3.4 Creating a New Workspace and Project...23 3.4.1
44 Figure 3-28 Upload Image Dialog – Tree The Upload via erase block has the same selection functionality as the Erase block dialog itself, i.e. ‘Sel
45 3.14 Exiting FDT To exit FDT, select [File -> Exit], press the Alt + F4 key, or select the ‘Close’ option from the system menu (the system men
46
47 Chapter 4 Wait For Script 4.1 Wait For Script Overview This mode allows FDT to be automated and controlled by a text file containing a script o
48 4.2.1.2 Script Path This is the only mandatory field. This edit box allows the user to set up where to find the script file to run. This can eithe
49 4.2.2.2 Log File Name Enter the name of the optional log file. FDT can insert additional details into the file name such as the user name, machin
50 4.2.4 Error Handling Page This is an optional page. Figure 4-4 Error Handling Page 4.2.4.1 On Script Fail Abort - leave the ‘On Script Fail’ ra
51 # Script processing failure handling script example 2 # Disconnect to allow reconnection Disconnect # Display a message to the user Alert outpu
52 4.4 Wait For Script – Run Configuration... This is invoked from the ‘Tools’, ‘Wait For Script’, ‘Run Configuration...’ menu and allows the user
53 Each script command should be written on a separate line of the text file; FDT will cope with DOS and UNIX style line breaks (CR or CR LF). File p
iii 4.2.3.2 Status File Name ...
54 4.5.3 Download Description = download the selected project image to the device Arguments: “image” Download the device image <filename> Re
55 4.5.5 BlankCheck Description = check if the device is blank Arguments: “userboot” Optional Tells FDT to check the user boot area of flash (if s
56 Checksum device 4.5.8 Disconnect Description = disconnect from a device. Note that issuing of a disconnect command even if FDT is not connected
57 4.5.11 Alert Description = indicate to the user that something has happened Arguments: “beep” FDT will output a warning beep “output” Required (
58 <filename> <directory> Required The file\directory the source file is to be copied\moved\renamed to Example: Move $script |\\server
59 disconnect # Display message in output window alert output|This text will be displayed in the output window and the log file # delete this scrip
61 Chapter 5 Access Rights 5.1 Access Rights Overview To prevent accidental changing of settings when using FDT to program devices (especially in
62 5.3.1 Disable All This button allows disables all user accounts and switches off Access Rights password security 5.3.2 Modify User This button a
63 5.3.3 Add User This button allows creation of new user accounts. FDT will prompt for a user name and password then invokes the Modify User dialog
iv 7.1.5 Close Workspace...69 7.
64
65 Chapter 6 Configuring the User Interface When the user interface for FDT was designed an attempt was made to make frequently used operations qui
66 2. A specific window can also be selected by clicking on the tab containing the file name at the bottom of the Editor window. If the window is no
67 6.6 Customising the Toolbar The selection and arrangement of buttons displayed on the Toolbar can be customised to suit a user’s requirements. T
69 Chapter 7 Menus This document follows the standard Microsoft menu naming convention: Figure 7-1 FDT Menus 7.1 File Menu The ‘File’ m
70 7.1.6 Open an S-Record... Launches the ‘Open an S-Record’ dialog box allowing the user to open an existing file. The file may be an S-Record file
71 7.2.7 Find... This will launch the ‘Find’ dialog box allowing the user to enter either hexadecimal or ASCII data. The scope of the search is boun
72 7.4.4 Remove Files... Removes the selected file from the project. 7.4.5 File Extensions... This option allows the user to select which file exte
73 7.4.5.1 File Extensions Add... Selecting ‘Add...’ allows FDT to handle files of new extension types Figure 7-3 Add File Extensions Dialog 7.4.5.
v 7.7.9 Cancel Operation...77 7.
74 7.4.6 Rebuild Image Rebuilding the image merges all files in the project that are not excluded. The default ROM area is the User Area, some devic
75 7.5.5 Simple Interface... Simplifies the appearance of FDT. For more details see section Chapter 9 7.5.6 Wait For Script This allows creation,
76 7.6.5 Close All This option closes any files open in the editor window. 7.6.6 ‘file name’ This option becomes active when a file name is selecte
77 7.7.8 Go From Address... This launches a dialog that allows the user to select an address to execute code from. There is an option to select an i
78
79 Chapter 8 Windows This chapter describes each child window type, the features each supports and the options available through their associated p
80 8.1.1.2 Allow Docking Invoking this option allows the user to select if the window is docked, or if it can “float” around the main window. 8.1.1.3
81 8.1.2 Project The Project is the next item in the hierarchy below the Workspace. In the following example, the Workspace is called “Industrial C
82 8.1.2.6 Properties Displays the project properties dialog. Note that this is not the same as the Flash Properties dialog which can be reached by s
83 8.1.3.2 Rename Folder Allows the folder to be renamed.
Comentarios a estos manuales