Renesas FLASH Development Toolkit 3.1 ® ® ® ® (for Windows 98SE/Me, Windows NT 4.0, Windows 2000 and Windows XP) User’s Manual HS6400FDIW3S Renesas FLASH Microcomputer Programming System Rev.2.00 2003.12.
Cautions 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.
Contents Contents i Cautions vi Preface vii Abbreviations.......................................................................................................viii Document Conventions .......................................................................................ix Chapter 1 1.1 1.2 Chapter 2 2.1 2.2 2.3 3.2 3.3 3.4 i System Overview.............................................................................2 User Interface .............................................................
3.4.11 Generic Boot – Programming Options ............................................................... 32 3.4.12 Generic Boot – Reset Pin Settings [FDM connection only]............................... 32 3.4.13 Generic Boot – Reinterrogate on connect option ............................................... 32 3.4.14 Prior Generic Device .......................................................................................... 33 3.5 Saving a Workspace ........................................................
5.5 5.6 5.7 5.8 5.4.1 Set Current Project ............................................................................................. 45 5.4.2 Insert Project… .................................................................................................. 45 5.4.3 Add Files… ........................................................................................................ 45 5.4.4 Remove Files…..................................................................................................
6.1.3 Device Image - Folder........................................................................................ 53 6.1.3.1. Remove Folder ................................................................................................... 54 6.1.3.2. Rename Folder ................................................................................................... 54 6.2 Device File ...................................................................................................................... 55 6.
6.10.1 Show Tooltips .................................................................................................... 72 6.10.2 New… ................................................................................................................ 72 6.10.3 Reset................................................................................................................... 72 6.10.4 Toolbar name ..................................................................................................... 72 6.
Cautions 1. Renesas neither warrants nor grants licenses of any rights of Renesas’ or any third party’s patent, copyright, trademark, or other intellectual property rights for information contained in this document. Renesas bears no responsibility for problems that may arise with third party’s rights, including intellectual property rights, in connection with use of the information contained in this document. 2. Products and product specifications may be subject to change without notice.
Preface About this guide This guide explains the use of the Renesas FLASH Development Toolkit (hereafter referred to as FDT). Chapter 1, Introduction, provides a brief explanation to the tool and lists its key features. Chapter 2, System Overview, describes how the different facilities make up the FDT Graphical User Interface. Chapter 3, Basic Operation, describes how FDT is activated and the FLASH ROM is written.
Abbreviations Target / Device Refers to the programmable microcontroller or microcomputer that is connected to the PC ready for programming. DLL Dynamic Linked Library FDT F-ZTAT Flash Development Toolkit ® Flexible Zero Turn-Around Time HEW Renesas High-performance Embedded Workshop PC Personal Computer USB Universal Serial Bus FDM Flash Development Module (USB interface board) UPB Universal Programming Board – Legacy HMSE interface board used with Protocol A (Legacy) kernels.
Document Conventions This manual uses the following typographic conventions: Table 1: Typographic Conventions CONVENTION MEANING [Menu->Menu Option] Bold text with ‘->’ is used to indicate menu options (for example, [File->Save As…]). ‘dialog name’ The ‘’ is used to indicate the name of a dialog box or menu. ‘Filename.ext’ Bold Courier Font is used to indicate filenames. “enter this string” Used to indicate text that must be entered (excluding the “” quotes).
Chapter 1 Introduction The Renesas FLASH Development Toolkit (FDT) is an on-board FLASH programming tool for Renesas FZTAT microcomputers that provides a high-performance and user-friendly Graphical User Interface (GUI). Embedded software development projects created using the Renesas High-performance Embedded Workshop (HEW) may be programmed into Renesas F-ZTAT devices using FDT. FDT may also be used as a general purpose S-Record or Hex editor. 1.
Chapter 2 System Overview FDT provides a method of programming, erasing and reading from Renesas Flash devices. Workspaces and Projects are used in order to save the settings between sessions, for easy switching between different settings, and to allow experienced users to configure the settings for less experienced operators. FDT is designed to provide a common look and feel, independent of the actual device to be programmed.
2.1 User Interface The FDT Graphical User Interface is a Windows application that presents a work environment, which allows the user to program FLASH memory.
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 command operation, invoke a dialog box or a window to interact with the system. Clicking the left mouse button on a menu title will pull down that menu, from which a selection can be made. If a menu item does not perform an action directly, but instead displays a dialog box or window for further user interaction, then its name is appended with an ellipsis (three dots, …).
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 menu: Figure 2-4 Cascading Menus Menus can also be selected directly from the keyboard by pressing the ALT key followed by the corresponding key of the underlined letter or number for the menu item that the user wants to select, e.g. press ALT+F, S in sequence to Save the active file ([File->Save]). Toolbars FDT has several toolbars located below the Menu bar.
Edit toolbar Save File Cut Copy Paste Open an S-Record Figure 2-6 Edit Toolbar Save File – saves the active file. Cut – cuts data to the clipboard. Copy – copies data to the clipboard. Paste – pastes data from the clipboard. Open an S-Record – Opens an S-Record or data file.
FDT toolbar Connect Disconnect Erase Blocks Blank Check Upload Download Active File Checksum Go from Address Cancel Flash area Context for non-write operations Figure 2-7 FDT Toolbar Connect - connects the device to the interface. Disconnect - disconnects the device from the interface. Erase Blocks - launches the ‘Erase Block’ dialog box to erase all or individual blocks of the device FLASH memory. Blank Check - checks whether or not the FLASH section of the target device is blank.
S Record toolbar View as Bytes View as Words View as DWords Align view to 8 bytes Toggle ASCII Find Find and Replace Create Selection Fill Selection Properties 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 bit words. View as DWords - view the file data as 32 bit double words. Align view to 8 bytes - data is displayed on each line as 8 bytes.
Search toolbar Find in Files Data Find Find Next Find Previous Figure 2-9 Search Toolbar Find in Files – finds selected data in selected files. Data – is used for the searches. Find – locates data in active file. Find Next – locates next occurrence of search criteria. Find Previous - locates previous occurrence of search criteria. Status Bar The Status Bar is located at the bottom of the FDT application window. It provides the user with information about what the application is doing.
Pop-up menus Many windows have local pop-up menus in order to make commonly used features easier to access. These menus are invoked by clicking the right mouse button in the window (or pressing SHIFT+F10) and then selecting the required menu option. An example pop-up menu is: Figure 2-10 Pop-up Menu The contents and operation of specific pop-up menus are explained in detail in the description of each FDT window, see the Chapter 6, Windows. 2.2 Help FDT has a standard Windows help system.
2.3 Hot Keys There are various hot keys for frequently used operations.
Description Hot Key Connect Ctrl+Alt+C Erase Flash Blocks Ctrl+Alt+E Blank Check Ctrl+Alt+B Upload Image Ctrl+Alt+U Download Active File Ctrl+Alt+P Flash Checksum Ctrl+Alt+S Go From Address Ctrl+Alt+G Cancel Operation Ctrl+Break Configure Flash Project Alt+Shift+R Device 12
Chapter 3 Basic Operation 3.1 Background Information 3.1.1 What are the User and User Boot Areas? The normal area of (internal) flash for Renesas devices, for user programs is known as the User Area. This is where the code is stored which gets executed when the device is reset into User Mode. The User area can normally be programmed from a Boot Mode or User Mode connection. On some devices there is an additional area of flash known as the User Boot Area.
3.1.4 What are“Protocol A”, “Protocol B” and “Protocol C” Kernels? “Protocol A” - For some 0.8µm, 0.6µm and 0.35µm flash devices using FDT 1.5 style kernels. These are legacy kernels that are not supported and not included in the FDT installer. Protocol A kernels are not available in the Japanese versions of FDT. Protocol A kernels support use of the UPB but not the FDM.
detection of an invalid checksum an fcf or fdm file FDT will warn the user but will not prevent use of the modified files. 3.1.6 Can I use FDT if I do not have Local Machine Administrator rights for my PC? Yes, but only once it is installed and configured. To install FDT and for various configuration tasks, you must have local administrator rights; this is because some settings are stored in the HKEY_LOCAL_MACHINE registry area.
start communications with the User Mode Test Program at 9600bps and then change to the baud rate set in the project. Note that the device does not automatically erase during connections in User Mode. It is not possible to reprogram the FLASH whilst the reprogramming code is executing from the FLASH so all of the kernel modules needed to keep the connection to FDT are copied into the RAM to leave the FLASH ROM available for reprogramming.
3.2 Starting FDT To start FDT, open the ‘Start’ menu of Windows and select ‘Programs’ -> ‘Renesas’ -> ‘FLASH Development Toolkit 3.1’, then the ‘FLASH Development Toolkit 3.1’ shortcut. The ‘Welcome’ dialog box will open by default. To create a new workspace, select ‘Create a new Project Workspace’ and click the ‘OK’ button. To open a recent workspace, select ‘Open a recent project workspace’ and the workspace to be opened from the list box.
3.3 Creating a New Workspace and Project 3.3.1 New Project Workspace Enter the workspace name (the project name is the same by default), then click the ‘OK’ button. If you wish to change or create a directory, input a directory name or use ‘Browse...’ button.
3.3.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 one kernel option displayed, and double clicking on a kernel will open an optional “readme.txt” file that has information about the kernel (such as the device, version number and the compilers it was created with).
3.3.3 Communications Port Select the port (and interface if available) from the drop-down list, then click the ‘Next’ button. Note that in addition to the serial ports, there is also an option to use the FDM (USB interface board). For some kernels there are also other port options, such as USB Direct (eg. for the 2215UF). For Protocol A (legacy) kernels the ‘HMSE UPB’ interface is available in addition to Direct Connection.
3.3.4 Device Settings Enter values for the device settings; enter the input clock, then select the main and peripheral clock multipliers from the drop-down lists, and click the ‘Next’ button. Figure 3-5 Device Settings Supplementary: 1. CPU Crystal Frequency Enter the frequency of the CPU clock or the crystal generator. This can be specified up to 4 decimal places. The target device, the kernel and the Clock Mode determine the valid range. 2.
3.3.5 Connection Type Select whether the connection is for Boot Mode or User Mode in the ‘Connection Type’ dialog. Additionally, for a connection to a kernel that is still running on the device from a previous session, select the ‘Kernel already resident’ check box. Next, select the communication speed (bps) if the default value is not correct or not present. Speeds where the target error rate is greater than 4%, or the FDM error rate is greater than 0% are automatically removed from the recommended list.
3.3.6 Programming Options Select the protection level for programming the FLASH ROM and the messaging level, then click the ‘Finish’ button, or if the FDM was selected, click ‘Next’ to continue.
3.3.7 FDM Pin Settings [Only if the FDM is selected] Select the ‘Operating Mode’ and ‘Clock Mode’ and if ‘User Defined’, set the FDM pin settings. [For ‘Boot Mode’ projects set the ‘Boot Mode Outputs’ and the ‘Boot Mode Setting’ for the required mode, for ‘User Mode’ projects set the ‘User Mode Outputs’, ‘User Mode Setting’ and the ‘User Program Mode Setting’ for the required mode.] Click the ‘Next’ button to continue.
3.3.8 Reset Pin Settings [Only if the FDM is selected] Select the ‘Operating Mode’ and ‘Clock Mode’ and if ‘User Defined’, set the Reset pin settings. Set the ‘Reset Outputs’ and the ‘Reset Setting’ for the mode required immediately after disconnection. Click the ‘Finish’ button. “*Mode Outputs” sets which pins are driven by the FDM, “*Mode Setting” sets whether output pins are driven High (checked) or Low (Unchecked). Notes: Setting the mode pins using the FDM requires caution.
3.4 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 kernel or configuration file installed, instead FDT extracts the required information from the device itself. Because of this, the device must be connected and set into Boot Mode at the time you create the project.
3.4.
3.4.3 Generic Boot - Communications Port Select the port (and interface if available) from the drop-down list, then click the ‘Next’ button. Note that in addition to the serial ports, there is also an option to use the FDM (USB interface board).
3.4.4 Generic Boot - FDM Pin Settings [FDM connection only] If the FDM is selected the following screen will be shown. Set the mode pin settings required to place the device into Boot Mode. Click ‘OK’ to continue. Figure 3-13 FDM Generic Device FDM Pin Settings Note Setting the mode pins using the FDM requires caution. Please confirm the pin settings with the hardware manual even if a default setting is available.
3.4.5 Generic Boot - Confirmation FDT then waits for you to confirm that the device is connected and powered, and if not using the FDM, in Boot mode. FDT will try to connect to the device when you click ‘OK’. Figure 3-15 Generic Boot Confirmation After this, FDT displays a dialog that displays the boot progress. At various points during the Generic Boot process, the user is required to select or confirm details of the device; see below for details. 3.4.
3.4.7 Generic Boot – Select Clock Mode Because some devices have a number of Clock Modes, a list is provided of all possible Clock Modes. The user should select the correct Clock Mode from the list then click ‘OK’. Please check with the hardware manual / target board manual to ensure that the correct mode is chosen.
3.4.8 Generic Boot – Setup Complete Having selected the Clock Mode, the Generic wizard completes as below. Figure 3-18 Generic Boot setup complete The Project Wizard will then continue through the remaining pages 3.4.9 Generic Boot – Device Settings Please Refer to Section 3.3.4 3.4.10 Generic Boot - Connection Type Please Refer to Section 3.3.5 3.4.11 Generic Boot – Programming Options Please Refer to Section 3.3.6 3.4.
3.4.14 Prior Generic Device Selection of the ‘Prior Generic Device’ device allows a connection to the last device configured using ‘Generic Boot Device’. It uses the .fcf file which was generated when first connecting using ‘Generic Boot Device’.
3.5 Saving a Workspace When the [File -> Save Workspace] menu option is selected, the FDT workspace can be saved. 3.6 Closing a Workspace Select [File -> Close Workspace] to close the FDT workspace. If the workspace or its project has changed, a dialog box asks if the user wishes to save the project. Select “Yes” if the workspace is to be saved, “No” if the workspace is not to be saved, and “Cancel” to return to the workspace. If you are prompted to save the session, then select “Yes”.
3. 3.8.4 1. 2. 3. 4. 5. 3.8.5 1. 2. 3. 4. 5. 35 Click the right mouse button on the file displayed in the workspace window, and select ‘Download File to [User Boot Area]’. Programming will be completed when ‘Image successfully written to device’ is displayed in the output window. Programming multiple files to the User Boot Area Add all the required target files to the project by selecting [Project->Add Files…] or pressing the INS key.
3.9 Erasing Data from the FLASH ROM 1. 2. 3. 4. Select [Device -> Erase FLASH blocks…] to display the ‘Erase Blocks’ dialog box. Select the block(s) to be erased. (When the line is clicked, the block is highlighted.)* Click the ‘Erase’ button to start erasure. When ‘Erase complete’ is displayed in the output window, erasure is completed. Figure 3-19 Erase Blocks *Note To erase all blocks, clicking the ‘Select All’ button inversely displays all blocks.
3.10 Reading the FLASH ROM Data 1. 2. 3. 4. Display the ‘Upload Image’ dialog box from [Device -> Upload Image…]. Enter the start and end addresses, or the start address and length. Click the ‘Upload’ button to start reading. When ‘Upload operation complete’ is displayed in the output window and the uploaded data is displayed in the hex editor, reading is complete.
Chapter 4 Configuring the User Interface When the user interface for FDT was designed an attempt was made to make frequently used operations quickly accessible and have related operations grouped in a logical order. However, when the user is in the middle of a long session he may find it more useful to have a different arrangement of the user interface items. FDT facilitates this user customisation.
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 not minimised it will be brought to the front of the display. If it is minimised, the minimised icon will be brought to the front of the display.
4.3 Enabling/disabling the Toolbar The user has the option to enable or disable the Toolbar. By default, the Toolbar is displayed at the top of the FDT application window. To disable the display of the Toolbar, select each of the displayed toolbars, and disable their view. To display or disable toolbars, use the [Tools->Customise] menu option or Right Click on the Toolbar area.. 4.4 Enabling/disabling the Workspace Window The user has the option to enable or disable the Workspace.
4.6 Customising the Toolbar The selection and arrangement of buttons displayed on the Toolbar can be customised to suit a user’s requirements. To change the display, invoke the [Tools->Customise…] menu option. The defaults are to display the Editor, Search, FDT, and S-Record toolbars. Note that the S-Record Toolbar option is only available when there is a data file open.
4.6.2 Commands Tab This tab shows the buttons and describes the action for each button in each group and allows the user to customise the toolbar according to an individual application. Clicking on an item in the Categories box displays the buttons available for that category. The Buttons area displays a picture for each button in the selected category. To obtain a description of the action of a button, click on that button. The description will appear in the Description area.
Chapter 5 Menus This document follows the standard Microsoft menu naming convention: Menu Bar Menu Title Hot Key Drop-down Menu Ellipsis Menu Option Cascading Menu Figure 5-1 FDT Menus 5.1 File Menu The ‘File’ menu is used for aspects of the program that access data files. 5.1.1 Close This will close the current active file in the editor window. 5.1.
5.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 (.rec, .mot, .a20, .a37), a Device Image file (.fpr), or a binary file (.bin, .cde). 5.1.7 Save Saves the current active file. 5.1.8 Save As… Launches the ‘Save As’ dialog box allowing the user to save and name the currently open file.. 5.1.9 Exit Closes and exits the FDT application. 5.
5.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 bounded by the area selected, for the active file in the Editor window. If a match is found, the Editor window is updated to display the found data. 5.2.8 Find In Files… This launches a dialog to allow data to be located in files external to the active file. 5.2.
5.4.4 Remove Files… Removes the selected file from the project. 5.4.5 File Extensions… This option allows the user to select which file extensions are recognized by FDT. 5.4.6 Rebuild Image Rebuilding the image merges all files in the project which are not excluded, and are destined for the selected flash area. The default ROM area is the User Area, some devices also have a User Boot Area. FDT will warn if the component files overlap.
5.5.4 Options… Allows access to additional features, some of which are reserved for future enhancements. The workspace tab is the most useful tab as it allows the user to specify options such as whether to open the last workspace at start-up, whether to prompt before saving workspaces and sessions, and the default directory for new workspaces. 5.5.5 Format Views… This allows the user to change the appearance of different windows. 5.
5.7.1 Connect to Device This connects the GUI to the device if it is not connected. Messages will appear in the Output window if the connection cannot be made. 5.7.2 Disconnect This disconnects the GUI from the device if it is connected. Messages will appear in the output window if the connection cannot be made. 5.7.3 Erase FLASH blocks This launches the ‘Erase Blocks’ dialog box. The ‘Erase Blocks’ dialog box allows the user to specify which blocks are to be erased.
User Area. When User Boot Area is selected (enabled), FDT defaults to using the User Boot Area for Upload, Blank Check, and Checksum operations. Note that the User Boot Area is erased during the initial connection in Boot Mode - it is not possible to erase the User Boot Area once connected with FDT. For more details about the User and User Boot Areas see section 3.1.1. 5.7.10 Cancel Operation Cancels the current FLASH operation. 5.7.
Chapter 6 Windows This chapter describes each child window type, the features each supports and the options available through their associated pop-up menus. There are three main windows - Workspace window, Editor window and Output window. Most windows have local pop-up menus in order to make commonly used features easier to access. These menus are invoked by clicking the right mouse button within the window (or pressing SHIFT+F10) and then selecting the required menu option.
6.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. 6.1.1.3. Hide Invoking Hide conceals the Workspace window. It is restored by [View->Workspace]. 6.1.1.4. Properties This option displays information about the Workspace including the file path.
6.1.2 Project The Project is the next item in the hierarchy below the Workspace. In the following example, the Workspace is called “Industrial Controller” and there are two projects: the first is also called “Industrial Controller” and the second is called “User Mode Reprogramming”. Figure 6-3 Workspace Project In addition to the Allow Docking and Hide menu items inherited from the workspace, the pop-up menu for Projects has the following items: 6.1.2.1.
6.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 selecting Configure Flash Project from the FDT toolbar or device menu. 6.1.2.7. Set as current Project Sets the highlighted project as the current active project. This option is not available if the highlighted project is already the active project. 6.1.2.8. Remove Project Remove the highlighted project from the Workspace.
6.1.3.1. Remove Folder Allows the user to delete folders. 6.1.3.2. Rename Folder Allows the folder to be renamed.
6.2 Device File The Device File is the item containing the data to Flash into the device. Figure 6-5 Device File The pop-up menu for Device File has the following items: 6.2.1 Open ‘filename’ This feature is not currently used in FDT. 6.2.2 Add Files… Allows additional files to be added to the project. 6.2.3 Remove Files… Removes files from the project. 6.2.4 Allow Docking Allows the Workspace window to dock or be floating. 6.2.5 Hide Hides the Workspace window.
6.2.6 Properties… Launches the device file properties dialog box. 6.2.7 Display Block usage… Launches the ‘S-Record Properties’ dialog box and displays the Block usage tab. 6.2.8 Exclude ‘filename’ If a file is excluded, it will not be used to form the built image if Rebuild Image is selected. Once selected as excluded, using the right mouse click, it is possible to “Include ‘filename’”. 6.2.
6.3 Workspace Properties Invoked from the Workspace pop-up menu item Properties…. See also section 6.1.1.4.
6.4 Project Properties Invoked from the Project pop-up menu item Properties…. The ‘Properties’ dialog box shows details of: • The name of the project • The location and the file name of the project file • The last modification date and time Figure 6-7 Project Properties 6.5 Configure Flash Project (Flash Properties) The ‘Configure Flash Project’ dialog box can be invoked from the ‘Configure Flash Project’ toolbar button or Device Menu item.
Kernel Path This shows the kernel path. Frequency This shows the input clock. Protocol This shows the type of communication protocols (B: 0.35-µm device, C: 0.18-µm device). CKM This shows the multiplier of the system clock (master clock) for the input clock. CKP This shows the multiplier of the peripheral clock for the input clock. Clock Mode This shows the clock mode.
6.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 Rate when disconnected. Figure 6-9 Communications Properties Port This drop-down list provides the user with a list of supported COM ports available for connection to the device. This list includes the USB port options. Baud Rate Display the currently selected Baud Rate. Double clicking invokes the Project Wizard to allow editing of this item.
6.5.3 Device Tab This shows the device information. It also allows the user to select BOOT Mode or USER Program Mode and the ‘Direct Connection’ interface. In addition, it can specify whether or not the kernel is in the target device. Figure 6-10 Device Properties Device Displays the name of the active device. Double clicking invokes the Project Wizard to allow editing of this item. RAM Size, FLASH Size, Flash Start These are for display only and are not editable.
Kernel Resident This specifies that a main kernel is already resident and running on the target device before connection by FDT. Double clicking invokes the Project Wizard to allow editing of this item. User Boot Area This specifies whether non-write operations perform on the User Boot Area. Double clicking toggles this item between Yes and No. For devices without a User Boot Area, this will be set to N/A. Available RAM and Free RAM These are for display only and are not editable.
6.5.4 Programmer Tab This shows the state of the Function Map and allows the user to select the Device Protection Option of Automatic, Interactive, or None and the message level option of Advanced or Standard. Figure 6-11 Programmer Properties Device Protection This allows the user to select either automatic protection (Automatic) or interactive protection (Interactive) to protect the FLASH device from accidental over-erasure and overprogramming.
Readback Verification After programming, FDT can verify the data was programmed successfully by performing a read-back verification. Use this option to specify whether you would like to perform readback verification, always, after confirmation, or never. Double click to edit the setting. 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.
6.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 6-12 Module Properties 6.6 S-Record Properties Window This dialog is invoked by clicking the Properties toolbar button or from the Right-Click, Properties Menu when the file is open and selected in the Hex Editor window. 6.6.1 Block Usage Tab This tab shows the starting, finishing address and sizes of the data blocks contained in the active file.
6.6.2 Cursor Value This tab shows various representations of the data at the cursor position. The display depends upon whether the display unit is set to Byte, Word or Dword. Note that it assumes data alignment of the display unit size so for example, the same value is displayed wherever the cursor is positioned within a Dword. Figure 6-14 S Record Properties – Cursor Value 6.6.3 Selection Value This tab shows various representations of the data which is currently selected.
6.7 Output Window The Output window is one of the main windows contained in the FDT GUI. Figure 6-16 Output Window The window has available pop-up menu that contains the following items: 6.7.1 Clear Window This will clear the Output window. 6.7.2 Allow Docking With this option checked the Output window is capable of being docked within the FDT application window. With the option unchecked the Output window is a floating window. 6.7.3 Hide Invoking Hide conceals the output window.
6.8 Hex Editor Window The Hex Editor window is one of the main windows contained in the FDT GUI. Figure 6-17 Hex Editor Window The window has available pop-up menu that contains the following items: 6.8.1 Cut This will remove the contents of the highlighted block from the window and place it on the clipboard in the standard Windows manner. This is only available if a block is highlighted. 6.8.
6.8.6 Display Unit Invokes the cascaded menu as follows: Byte - view the data as 8-bit bytes. Word - view the data as 16-bit words. DWord - view the data as 32-bit double words. 6.8.7 Align to 8 Bytes Data is displayed on each line as 8 bytes. The number of bytes that can be accommodated on each line is dependent upon the size of the window. 6.8.8 Toggle ASCII Column Allows the ASCII column to be removed or displayed. 6.8.
6.8.14 Add to Active Project Adds the file to the active project. This menu item will be disabled if the file is already added to the project. 6.8.15 Data Entry Note When entering data in the ‘Find’, ‘Replace’ or ‘Fill’ dialog boxes only hexadecimal or ASCII values can be used, based on the ASCII Search check box. When entering hexadecimal values a preceding ‘0x’ is fixed in the entry text box, so hexadecimal values are appended. 6.8.
6.9 Erase Blocks Invoked by [Device->Erase FLASH blocks] or the Toolbar Erase Blocks. The ‘Erase Blocks’ dialog box allows the user to specify which blocks to erase. The Written column indicates whether data exists in the block. Figure 6-18 Erase Blocks 6.9.1 Select All Clicking on Select All will select all the blocks of the device FLASH memory. 6.9.2 Select Written Clicking on Select Written will select only those blocks that are not empty. 6.9.
6.10 Customise - Toolbars Invoked by [Tools->Customise…] in the ‘Customise’ dialog box. Figure 6-19 Customise Toolbars Dialog 6.10.1 Show Tooltips A check mark in the Show Tooltips box indicates that the action of the button will be displayed when the mouse arrow is pointing to the button. If the box is unchecked, no action is displayed. 6.10.2 New… The New… button launches the ‘Toolbar Name’ dialog box which allows the user to name and generate a new toolbar.
6.10.5 OK Clicking on OK, in the ‘Toolbar Name’ dialog box adds the new name to the Toolbars list on the Toolbars window and invokes a blank toolbar on the GUI. Clicking on OK in the ‘Customise’ dialog box saves any changes made and closes the dialog box. 6.10.6 Delete If a new toolbar has been added to the Toolbars list and it is selected, the Reset button is renamed to Delete. Clicking on this button will remove the new toolbar from the list and from the GUI. 6.
6.11.3 Description To obtain a description of the action of a button, click on that button. 6.11.4 OK Clicking on OK removes the ‘Customise’ dialog box and saves any changes made. 6.12 Customise – Menu Invoked by [Tools->Customise…] and then select the Menu tab in the ‘Customise’ dialog box. Figure 6-21 Customise Menu Dialog Ü To add a new menu option: 1. Select [Tools->Customise…]. The dialog shown above will be displayed. Select the “Menu” tab.
Figure 6-22 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 options in the [Tools] menu can also be modified. Ü To modify a menu option: 1. Select [Tools->Customise…]. The dialog shown below will be displayed. Select the “Menu” tab. 2. Select the menu option that you would like to modify and then click the “Modify…” button. 3. Make the desired changes on the “Modify Tool” dialog and then click “OK”.
Figure 6-23 Modify Tool Dialog Ü To remove a menu option: 1. Select [Tools->Customise…]. The dialog shown in Figure 6-19 will be displayed. Select the “Menu” tab. 2. Select the menu option that you would like to remove and then click the “Remove” button.
6.13 Simple Interface Mode Invoked by [Tools->Simple Interface…]. This is used to simplify the look and feel of FDT once a project is configured. Figure 6-24 FDT Simple Interface 6.13.1 Back to Project This returns to the full FDT view. 6.13.2 Exit Clicking this will exit FDT and FDT will start up in the Simple Interface Mode next time it is loaded. 6.13.
If the Download File radio button is selected, for devices with a User Boot Area, the user can choose whether to download the file to the User Area or the User Boot Area. 6.13.5 Program Flash Clicking on Program Flash allows FDT to download the specified file to the FLASH memory. 6.13.6 Disconnect Clicking on Disconnect forces FDT to disconnect.
Chapter 7 Upgrading to FDT 3.1 Installing FDT 3.1 should not adversely affect your other FDT version installations. The USB driver will be upgraded by installing FDT 3.1, but this is the only shared component. Each version of FDT installs its own set of kernels and keeps its own settings. Installing FDT 3.1 will also update the support email addresses for some previous versions of FDT. If you are an existing user of FDT, and your existing project needs to be migrated to FDT 3.
Renesas FLASH Development Toolkit 3.1 (for Windows 98SE/Me, Windows NT 4.0, Windows 2000 and Windows XP) User's Manual Publication Date: Rev.1.00, June 26, 2003 Rev.2.00, December 5, 2003 Published by: Sales Strategic Planning Div. Renesas Technology Corp. Edited by: Technical Documentation & Information Department Renesas Kodaira Semiconductor Co., Ltd. 2003 Renesas Technology Corp. All rights reserved. Printed in Japan.
Renesas FLASH Development Toolkit 3.1 ® ® (for Windows 98SE/Me, Windows NT 4.