FLASH Development Toolkit
User’s Manual
ADE-702-277
Rev. 1.0
10/03/01
Hitachi, Ltd. HS6400FDIW2S
Cautions
1. Hitachi neither warrants nor grants licenses of any rights of Hitachi’s or any third party’s patent, copyright, trademark,
or other intellectu a l property rights for information contained in this d ocument. Hitachi b ears 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. Confirm that you have received the latest
product standards or specifications before final design, purchase or use.
3. Hitachi makes every attempt to ensure that its products are of high quality and reliability. However, contact Hitachi’s
sales office before using the product in an applicatio n that demands especially high quality and reliability or where its
failure or malfunction may directly threaten human life or cause risk of bodily injury, such as aerospace, aeronautics,
nuclear power, combustion control, transportation, traffic, safety equipment or medical equipment for life support.
4. Design your application so that the product is used within the ranges guaranteed by Hitachi particularly for maximum
rating, operating supply voltage range, heat radiation characteristics, installation conditions and other characteristics.
Hitachi bears no responsibility for failure or damage when used beyond the guaranteed ranges. Even within the
guaranteed ranges, consider normally foreseeable failure rates or failure modes in semiconductor devices and employ
systemic measures such as fail-safes, so that the equipment incorporating Hitachi product does not cause bodily injury,
fire or other consequential damage due to operation of the Hitachi product.
5. This product is not designed to be radiation resistant.
6. No one is permitted to reproduce or duplicate, in any form, the whole or part of this document without written approval
from Hitachi.
7. Contact Hitachi’s sales office for any questions regarding this document or Hitachi semiconductor products.
i
Contents
Chapter 1 Introduction.......................................................................................1
1.1 Key Features........................................................................................................................1
Chapter 2 System Overview..............................................................................3
2.1 User Interface ......................................................................................................................3
Menu bar...........................................................................................................................4
Toolbars............................................................................................................................5
Workspace toolbar............................................................................................................6
Project toolbar...................................................................................................................7
Standard toolbar................................................................................................................8
Status Bar..........................................................................................................................9
Pop-up menus ................................................................................................................... 9
Data entry..........................................................................................................................10
2.2 Help.....................................................................................................................................10
Context Sensitive Help .....................................................................................................10
2.3 Hot Keys..............................................................................................................................10
Chapter 3 Basic Operation.................................................................................13
3.1 Starting the FDT..................................................................................................................13
3.2 Creating a New Workspace.................................................................................................13
3.3 Saving a Workspace............................................................................................................18
3.4 Closing a Workspace...........................................................................................................18
3.5 Exiting the FDT...................................................................................................................18
3.6 Programming the Data to the FLASH ROM.......................................................................18
3.7 Erasing Data from the FLASH ROM..................................................................................20
3.8 Reading the FLASH ROM Data..........................................................................................20
Chapter 4 Configuring the User Interface..........................................................21
4.1 Arranging Windows ............................................................................................................21
Minimising windows ........................................................................................................21
Tiling windows................................................................................................................. 21
4.2 Locating Currently Open Windows.....................................................................................21
Locating a specific window..............................................................................................21
4.3 Enabling/disabling the Status Bar........................................................................................22
4.4 Enabling/disabling the Toolbar ...........................................................................................22
4.5 Enabling/disabling the Workspace......................................................................................22
4.6 Enabling/disabling the Message Log...................................................................................22
4.7 Enabling/disabling the Dependency Log.............................................................................22
4.8 Customising the Toolbar .....................................................................................................23
Toolbars............................................................................................................................23
Commands........................................................................................................................24
Adding a button to the Toolbar.........................................................................................24
Positioning a button in the Toolbar...................................................................................24
Removing a button from the Toolbar ...............................................................................24
Chapter 5 Menus................................................................................................25
5.1 File.......................................................................................................................................25
Open… .............................................................................................................................25
New Workspace................................................................................................................25
Open Workspace…...........................................................................................................25
Save Workspace................................................................................................................25
Close Workspace ..............................................................................................................25
Save .............................................................................................................................25
ii
Save As….........................................................................................................................26
Save All ............................................................................................................................26
Close File..........................................................................................................................26
Recent Workspaces...........................................................................................................26
Recent Files.......................................................................................................................26
Exit .............................................................................................................................26
5.2 Edit ......................................................................................................................................26
Undo .............................................................................................................................26
Redo .............................................................................................................................26
Create Selection…............................................................................................................26
Cut .............................................................................................................................26
Copy .............................................................................................................................26
Paste .............................................................................................................................27
Find… .............................................................................................................................27
Replace… .........................................................................................................................27
5.3 View ....................................................................................................................................27
Toolbar .............................................................................................................................27
Status Bar..........................................................................................................................27
Workspace ........................................................................................................................27
Message Log.....................................................................................................................27
Dependency Log...............................................................................................................27
5.4 Project..................................................................................................................................27
New Project…...................................................................................................................28
Add Files to Project… ......................................................................................................28
Remove File from Project….............................................................................................28
Set Active Project .............................................................................................................28
Insert Project….................................................................................................................28
Build Device Image..........................................................................................................28
Download Device Image ..................................................................................................28
Freshen all Target files .....................................................................................................28
Properties…......................................................................................................................28
5.5 Device..................................................................................................................................28
Connect to Device/Disconnect from Device.....................................................................28
Erase FLASH blocks….....................................................................................................28
Upload Image…................................................................................................................29
Blank check ......................................................................................................................29
Download ‘file name’.......................................................................................................29
Cancel FLASH Operation.................................................................................................29
5.6 Image...................................................................................................................................29
Fill… .............................................................................................................................29
View ASCII ......................................................................................................................29
View as Bytes ...................................................................................................................29
View as Words..................................................................................................................29
View as DWords...............................................................................................................29
Align to 8 Bytes................................................................................................................30
Download ‘file name’.......................................................................................................30
5.7 Tools.................................................................................................................... ................30
UPB Diagnostics…...........................................................................................................30
JTAG Development System… .........................................................................................30
Advanced Configuration…...............................................................................................30
Kernel Build Assistant…..................................................................................................30
Customise…......................................................................................................................30
5.8 Window...............................................................................................................................30
Workbook View................................................................................................................30
Docking Views .................................................................................................................30
iii
Tile Windows....................................................................................................................31
‘file name’ .........................................................................................................................31
5.9 Help.....................................................................................................................................31
Help Topics.......................................................................................................................31
About… ............................................................................................................................31
Chapter 6 Windows ...........................................................................................33
6.1 Workspace window.............................................................................................................33
Docking View...................................................................................................................33
Hide .............................................................................................................................33
6.2 Workspace...........................................................................................................................34
New Project…...................................................................................................................34
Insert Project into Workspace….......................................................................................34
Open Workspace…...........................................................................................................34
Save Workspace................................................................................................................34
Close Workspace ..............................................................................................................34
Properties…......................................................................................................................35
6.3 Project..................................................................................................................................35
Add Files to Project… ......................................................................................................35
Set as Active Project.........................................................................................................35
Remove Project.................................................................................................................35
Connect to Device / Disconnect........................................................................................35
Erase FLASH blocks….....................................................................................................36
Upload Image…................................................................................................................36
Blank check ......................................................................................................................36
Cancel FLASH Operation.................................................................................................36
Build Device Image..........................................................................................................36
Freshen all Target files .....................................................................................................36
Properties…......................................................................................................................36
6.4 Device Image - Sub Folder..................................................................................................37
Build Device Image..........................................................................................................37
Freshen all Target files .....................................................................................................37
Properties…......................................................................................................................37
6.5 Device Image - Sub-Project Properties................................................................................37
6.6 Target files - Sub Folder......................................................................................................38
Add Files to Project… ......................................................................................................38
Freshen all Target files .....................................................................................................38
Properties…......................................................................................................................38
6.7 Target files - Sub-Project Properties....................................................................................38
6.8 Device Image.......................................................................................................................39
Edit .............................................................................................................................39
Remove File from Project.................................................................................................39
Block usage…...................................................................................................................39
Rebuild Image ...................................................................................................................39
Download Image to Device ..............................................................................................39
Properties…......................................................................................................................39
6.9 S-Record Files.....................................................................................................................40
Edit .............................................................................................................................40
Remove File from Project.................................................................................................40
Download File to Device..................................................................................................40
Freshen Local File ............................................................................................................40
Properties…......................................................................................................................40
6.10 Workspace Properties........................................................................................................40
6.11 Project Properties...............................................................................................................41
(1) Project .........................................................................................................................41
(2) Kernel..........................................................................................................................42
iv
(3) Communications .........................................................................................................42
COM Port .........................................................................................................................42
Use default baud...............................................................................................................42
Target Baud Rate..............................................................................................................42
(4) Device .........................................................................................................................43
BOOT Mode......................................................................................................................43
USER Program Mode.......................................................................................................43
Select Interface .................................................................................................................43
Kernel already resident.....................................................................................................43
(5) Programmer ................................................................................................................. 44
Device Protection .............................................................................................................44
Message level....................................................................................................................44
(6) Modules.................................................................................................................... ...45
(7) Comments ................................................................................................................... 45
Undo .............................................................................................................................45
Cut .............................................................................................................................45
Copy .............................................................................................................................45
Paste .............................................................................................................................45
Delete .............................................................................................................................45
Select All...........................................................................................................................46
6.12 Device Image Properties....................................................................................................46
(1) File properties .............................................................................................................46
(2) Dependencies..............................................................................................................46
Rebuild Now......................................................................................................................46
(3) Block usage.................................................................................................................47
6.13 S-Record Properties...........................................................................................................48
(1) File properties .............................................................................................................48
(2) Dependencies..............................................................................................................48
(3) Block usage.................................................................................................................49
6.14 Output Window.................................................................................................................49
Copy .............................................................................................................................49
Clear Messages.................................................................................................................49
Save Messages…..............................................................................................................49
Allow Docking..................................................................................................................49
Hide .............................................................................................................................49
6.15 Editor Window........................................................................................................... .......50
Cut .............................................................................................................................50
Copy .............................................................................................................................50
Paste .............................................................................................................................50
Undo .............................................................................................................................50
Redo .............................................................................................................................50
Display Unit......................................................................................................................51
Align to 8 Bytes................................................................................................................51
Create Selection…............................................................................................................51
Fill… .............................................................................................................................51
Find… .............................................................................................................................51
Replace… .........................................................................................................................51
Properties…......................................................................................................................51
6.16 Erase Blocks......................................................................................................................52
Select All ..........................................................................................................................52
Select Written ...................................................................................................................52
Erase .............................................................................................................................52
Cancel .............................................................................................................................52
6.17 FLASH Controller.............................................................................................................53
Device Selection...............................................................................................................53
v
Commands........................................................................................................................53
Connect.............................................................................................................................53
Blank check.......................................................................................................................53
Erase FLASH blocks.........................................................................................................53
User settings......................................................................................................................54
Connection........................................................................................................................54
BOOT Mode......................................................................................................................54
USER Program Mode.......................................................................................................54
Select Interface .................................................................................................................54
Kernel already resident.....................................................................................................54
Kernel .............................................................................................................................54
Download file ‘file name’ to device .................................................................................54
6.18 Customise - Toolbars.........................................................................................................55
Show Tooltips...................................................................................................................55
Cool Look.........................................................................................................................55
Large Buttons....................................................................................................................55
New… .............................................................................................................................55
Reset .............................................................................................................................55
Toolbar name....................................................................................................................56
OK .............................................................................................................................56
Delete .............................................................................................................................56
Cancel .............................................................................................................................56
6.19 Customise - Commands.....................................................................................................56
Categories.........................................................................................................................56
Buttons .............................................................................................................................57
Description........................................................................................................................57
OK .............................................................................................................................57
Cancel .............................................................................................................................57
6.20 Customise – Output Window ............................................................................................57
Messages...........................................................................................................................57
Change Colour..................................................................................................................57
Change Font.....................................................................................................................58
Tabs .............................................................................................................................58
Change Font.....................................................................................................................58
OK .............................................................................................................................58
Cancel .............................................................................................................................58
6.21 Customise - General..........................................................................................................59
Programming ....................................................................................................................59
Read-back verifica tion......................................................................................................59
Reset on disconnect...........................................................................................................59
Automation.......................................................................................................................59
Reload last Workspace at startup.....................................................................................59
Download active project Device Image at startup............................................................59
OK .............................................................................................................................59
Cancel .............................................................................................................................60
6.22 Simple Interface.................................................................................................................60
Flash Program...................................................................................................................60
vi
Preface
About this guide
This guide explains the use of the Hitachi 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 Ov erview, describes how the different facilities make up the FDT Grap hical User Interface.
Chapter 3, Basic Operatio n, describes how the FDT is activated and th e FLASH ROM is written.
Chapter 4, Configuring the User Interface, provides a way to configure the FDT Graphical User Interface.
Chapter 5, Menus, and chapter 6, Windows, give reference information about the operations and facilities
available through these respective areas.
Assumptions
It is assumed that the reader is experienced in using Microsoft Windows applications on PC-compatible
computers.
vii
Document Conventions
This manual uses the following typographic conventions:
Table 1: Ty pographic 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.C Uppercase names are used to indicate filenames.
“enter this string” Used to indicate text that must be entered (excluding the “”
quotes).
Key+Key Used to indicate required key presses. For example. Ctrl+N
means press the Ctrl key and then, whilst holding the Ctrl key
down, press the N key.
Ü
(The “how to” symbol) When this symbol is used, it is always located in the left-hand
margin. It indicates that the text to its immediate right is describing
“how to” do something.
IBM is a registered trademark of International Business Machines Corporation.
Windows is a registered trademark of Microsoft Corporation.
F-ZTAT is a trademark of Hitachi, Ltd.
viii
1
Chapter 1 Introduction
The Hitachi FLASH Development Toolkit (FDT) is an on-board FLASH programming tool for Hitachi F-ZTAT
microcomputers that provides a high-performance and user-friendly Graphical User Interface (GUI).
FDT is intended to be used with the Hitachi Embedded Workshop (HEW), to provide a complete solution for the
embedded software developer using Hitachi F-ZTAT microcomputers.
FDT may also be used as a general purpose S-Record or Binary editor.
1.1 Key Features
Standard window operation based on the 32-bit Windows GUI.
Various online help functions.
Selectable messaging levels.
Simple programming environment using an adapter board.
Serial communication: maximum 115,200 bits/s.
2
3
Chapter 2 System Overview
FDT is a modular software system, utilising self-contained modules for specific tasks. These modules are linked
to a general purpose Graphical User Interface, which provides a common look & feel independent of the
particular modules with which the system is configured.
FDT employs a hierarchical structure so that work can be organised in a logical manner. The top level of the
structure is the workspace.
To be useful, the workspace must contain at least one project. In order to create a project, a workspace must be
created first.
Each project specifies its own target device configuration (specified when creating the project) and set of target
files (S-Record / Binary) that can be used to program the device.
The project settings for the target device connection need only be set once, as they are stored between sessions.
A single project within the workspace is active at any point in time. The Active project is the context to which
all Device Menu, Project Menu and Project Toolbar co mmands will be directed.
When a project has been created, target files can be added to it. These files may be:
Used to program the device.
Used to build a Device Image.
Opened in the binary editor.
The files added to a project are automatically copied from their original source location. In copying a file, a
dependency link is created such that if the original source file is modified then the copied version in the project
may be updated upon request.
When using a project it is possible to take advantage of the following FDT features:
Target file dependency checking.
Advanced messaging levels.
Device Image builder.
Uploading da ta fro m the target device.
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.
4
Figure 2.1 - FDT Graphical User Interface
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 p ull down that me n u, from which a selectio n 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 append ed with an ellipsis (three dots, …).
If a menu item can also be invoked by pressing a hot key (a combination of keys), then the hot key is displayed
to the right of th e item.
If a menu item toggles a feature ON or OFF then a check mark (ü) will be displayed next to its text when it is
ON:
Workspace
window
Editor
window
Menu Bar
Tool Bar
Status Bar
Message
Lo
g
window
5
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:
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, O in sequence to open a project ([File->Open]).
Toolbars
The FDT has several toolbars located below the Menu bar. This provides quick access to FDT features by
clicking the respective button with the mouse.
The buttons on each toolbar are arranged in associated groups.
To find out th e function of the button, m ove the mouse o v e r th e button and a h in t will b e d isp layed next to th e
button and in the status bar.
The toolbar buttons can be customised to provide a button for the majority of the features available in FDT and
can be arranged in an order that the user finds convenient.
For more details about changing the arrangement of the toolbar buttons and a detailed description of each
button’s function, see chapter 4, Configuring the User Interface.
6
Workspace toolbar
New Worksp ace - launches the ‘New Workspace’ dialog box.
Open Workspace - launches the ‘Open’ dialog box.
Save Workspace - saves the current Workspace.
New Proj ect - launches the ‘Project Wizard’ dialog box.
Properties - launches the ‘Project Properties’ dialog box.
New Workspace
O
p
en Works
p
ace
Save Works
p
ace
New Pro
j
ect
Pro
p
erties
7
Project toolbar
Active Project - sets a new active project from those available in the workspace.
Add S-Record Files - launches the ‘Open’ dialog box so that S-Record files may be added to the project as a
target file.
Build Image - builds the open Device Image file into a binary image file for downloading the target FLASH
memory.
Download Device Image - downloads the currently open file.
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.
Upload Data - launches the ‘Upload Image’ dialog box to allow data to be obtained from the target device.
Cancel FLASH Operation - cancels the FLASH operations Download, Upload and Erase.
Add S-Record Files
Build Ima
g
e
Download Device Ima
g
e
Connect
Disconnect
Erase Blocks
Blank Check
U
p
load Data
Cancel FLASH O
p
eration
Active Pro
j
ect
8
Standard toolbar
Open file - launches the ‘Open’ dialog box.
Save file - launches the ‘Save’ dialog box.
Save all - saves all open files.
Cut - removes the highlighted block to the clipboard.
Copy - copies the highlighted block to the clipboard.
Paste - copies the contents of the clipboard to the window at the cursor position.
Create Selection - selects a block of the specified size in the active file.
Undo - reverses the previous editing operation.
Redo - reverses the previous Undo operation.
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.
O
p
en file
Save file
Save all
Cut
Co
py
Paste
Create Selection
Undo
Redo
View as B
tes
View as Words
View as DWords
To
gg
le ASCII
Ali
g
n view to 8 b
y
tes
Find
Find and Re
p
lace
Fill selection
Download active file
9
Toggle ASCII - turns ASCII data ON or OFF
Align view 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.
Find - launches the ‘Find’ dialog box.
Find and Replace - launches the ‘Replace’ dialog box.
Fill selection - launches the ‘Fill’ dialog box.
Download active file - downloads the current active file in the Editor window to the target FLASH memory.
The ‘FLASH Controller’ dialog box will be launched when no files are registered in the project.
Status Ba r
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 or the last action performed.
The left section of the Status Bar describes the action of the Toolbar items as the mouse arrow key is positioned
over an item.
The next section indicates whether the interface is connected to the device and the port used. It also indicates
what action is taking place.
When an action is being performed, the third section gives an increasing percentage display.
The last section of the bar indicates the state of the Caps Lock key.
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:
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.
10
Data entry
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.
2.2 Help
FDT has a standard Windows context sensitive help system. This provides on-line information for using the
system.
Help can be invoked by pressing the F1 key or via the Help menu. Additionally, some windows and dialog
boxes have a dedicated help button to launch th e h e lp file at the appropr iate location.
Context Sensitive Help
To get help on a specific item in the FDT graphical interface, a help cursor can be used. To enable the help
cursor press SHIFT+F1.
Your cursor then changes to include a question mark ( ). You can then click on the item for which you require
help and th e h e lp system will be open ed at the appropriate location, if he lp information exists. Help can be
invoked through the Help menu.
2.3 Hot Keys
There are various hot keys for frequently used operations. These are as follows:
Help F1
Open Ctrl+O
New Workspace Ctrl+N
Open Workspace Ctrl+W
Save Workspace Ctrl+E
Save Ctrl+S
Undo Ctrl+Z
Redo Ctrl+Y
Cut Ctrl+X
Copy Ctrl+C
Paste Ctrl+V
Find Ctrl+F
Replace Ctrl+H
New Project Alt+N
Add File to Project Ctrl+A
11
Build Device Image Ctrl+B
Download Device Image Ctrl+Shift+P
Freshen all Target Files Ctrl+T
Properties Alt+Shift+R
Erase FLASH Blocks Alt+R
Upload Image Alt+U
Blank Check Alt+B
Cancel FLASH Operation Ctrl+Break
Fill Ctrl+L
View as ASCII Alt+A
View as Byt es Alt+1
View as Word Alt+2
View as DWord Alt+4
Align to 8 Bytes Alt+8
Download Image Ctrl+P
12
13
Chapter 3 Basic Operation
3.1 Starting the FDT
To start the FDT, open the ‘Start’ menu of Windows, and select ‘Program’, ‘FLASH Development Toolkit
2.0’, and the FDT shortcut. The ‘Welcome to the FLASH Development Toolkit’ dialog box will open by default.
To create a new workspace, select ‘Create a new Workspace’ and click the ‘OK’ button. To open a recent
workspace, select ‘Open an existing Workspace’ and the workspace to be opened from the list box, and click the
‘OK’ button.
3.2 Creating a New Workspace
(1) Enter the workspace name, then click the ‘OK’ button. (Specify whether or not a directory is to be
created and a location.)
14
(2) If you want to run the Project Wizard, click the ‘Yes’ button.
(3) Enter the project name, then click the ‘Next’ button.
15
(4) Select the device you wish to use from the drop-down list. If there exists a user-created kernel in addition
to the default p ath, select ‘User specified path’ to specify the path.
(5) Enter the numerical values for the input clock, select the main or peripheral multiplier from the drop-
down list, and click the ‘Next’ button.
16
Supplementary:
1. Device Protocol
The 0.35-µm process microcomputer is fixed to protocol B.
2. Crystal Frequency
Enter the frequency of the CPU clock or the crystal generator as integers or in a format such as xx.xx. You
can only input two digits to the right of the decimal point.
3. Multiplier for CKM
Select the multiplier of the system clock (master clock) for the input clock.
4. Multiplier for CKP
The frequency rate (CKP) selected d epends on the microcom p u ter. En ter th e m u ltiplier of the peripheral
clock for the input clock.
Note To enter the input clock and frequency rate, refer to the hardware manual and confirm the range to be
set.
(6) Select a port and baud rate from the drop-down lists, then click the ‘Next’ button.
Note For the baud rate, refer to the hardware ma n ual and select a rate where the v ariance is within 3%.
Supplementary:
1. Use default Baud Rate
Set this option only when the HMSE Evaluation Board is used.
17
(7) Select the operating mode, then click the ‘Next’ button. (The interface is ‘Direct Connection’.)
(8) Select the protection level for programming the FLASH ROM and the messaging level, then click the
‘Finish’ button.
18
3.3 Saving a Workspace
When the [File -> Save Workspace] menu option is selected, the FDT workspace can be saved.
3.4 Closing a Workspace
Select [File -> Close Workspace] to close the FDT workspace. If the workspace or its project is changed, select
Save or Not Save.
3.5 Exiting the FDT
To exit the FDT, select [File -> Exit], press the Alt + F4 key, or select the ‘Close’ option from the system menu
(the system menu can be opened by clicking the icon in the upper-left are of the title bar).
3.6 Programming the Data to the FLASH ROM
(1) When the target file (S-Record file) is downloaded:
1. Select [Project -> Add Files to Project] or press the Ctrl + A key to add the file to be downloaded to the
project.
2. Click the right mouse button on the file (*.mot) displayed in the workspace window, and select ‘Download
File to Device’.
3. Programming will be co mpleted when ‘Image su ccessfu lly written to device’ is disp layed in the message lo g
window.
19
(2) When the device image is downloaded:
1. Add the target file to the project. (Same as item 1 of (1) above.)
2. Click the right mouse button on ‘Device Image’ displayed in the workspace window, and select ‘Build
Device Image’.
3. The creation of the device image is complete when ‘Build Complete – Saving Image…’ is disp lay e d in the
message window.
4. Click the right mouse button on the file (*.fpr) displayed in the workspace window, and select ‘Download
Image to Device’.
5. Programming is complete when ‘Image successfully written to device’ is displayed in the message window.
20
3.7 Erasing Data from the FLASH ROM
1. Select [Device -> Erase FLASH blocks] to display the ‘Erase Blocks’ dialog box.
2. Select the block to be erased. (When Name of the block is clicked, the block name is inversely displayed.)*
3. Click the ‘Erase’ button to start erasure.
4. When ‘Erase complete’ is displayed in the message window, erasure is completed.
Note To erase all blocks, clicking the ‘Select All’ button inversely displays all blocks. To erase the
programmed block, click in g the ‘Select Written’ butto n inversely displays the target block.
3.8 Reading the FLASH ROM Data
1. Display the ‘Upload Image’ dialog box from [Device -> Upload Image…].
2. Enter the start and end addresses.
3. Click the ‘Upload’ button to start reading.
4. When ‘Upload operation complete’ is displayed in the message window, reading is complete.
21
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. This chapter describes how the user interface can be arranged and how
various aspects of the display can be customised.
4.1 Arranging Windows
Minimising windows
When an operation is finished on an open Editor window but it may be necessary to look at it in its current state
later, it can be reduced to an icon, this is called minimising the window. To minimise a window either click on
the ‘minimise’ button of the window, or select [Minimise] from the window drop-down menu.
The window is minimised to an icon at the bottom of the Editor window.
Note The icon may not be visible if there is another window open over the bottom of the screen.
To restore the icon back to a window either double click on the icon, or click once to pop up the icon menu and
select [Restore], or select required window from the Menu bar [Window] drop-down menu.
Tiling windows
After some time there may be many windows open on the screen. All the windows can be arranged in a tile
format with none of them overlapping each other using the "Tile Windows" option. To invoke this select the
[Window->Tile Windows] menu option.
All currently open windows are arranged in a tile format. Windows that are minimised to icons are not affected.
4.2 Locating Currently Open Windows
When many windows are open in the FDT application window it is quite easy to lose one of them behind the
others.
Locating a specific window
There are two methods to find the lost window.
1. To select a specific window, invoke the [Window] menu. Click on the required window from the list of open
windows at the bottom of the menu. The currently selected window will have a check mark next to it in the
window list.
The window selected will be brought to the front of the display. If it is minimised the icon is restored to a
window.
2. If the [Window->Workbook View] menu item is checked, 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.
22
4.3 Enabling/disabling the Status Bar
The user has the option to enable or disable the Status Bar. By default, the Status Bar is displayed at the bottom
of the FDT application window. To disable the display of the Status Bar, select the [View->Status Bar] menu
option.
If the disable option is selected, the Status Bar will be disabled and removed from the FDT application window
display. To re-enable the Status Bar display, select the [View->Status Bar] menu option again. The Status Bar
will be enabled and added to the FDT application window display and the menu option checked.
4.4 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 the [View->Toolbar] menu option.
If the disable option is selected, the Toolbar will be disabled and removed from the FDT application window
display. To re-enable the Toolbar display, select the [View->Toolbar] menu option again. The Too lb ar will be
enabled and added to the FDT application window display and the menu option checked.
4.5 Enabling/disabling the Workspace
The user has the option to enable or disable the Workspace. By default, the Workspace is displayed. To disable
display of the Workspace, select the [View->Workspace] menu option.
If the disable option is selected, the Workspace will be disabled and removed from the FDT application window
display. To re-enable the Workspace display, select the [View->Workspace] menu option again. The
Workspace will be enabled and added to the FDT application window display and the menu option checked.
4.6 Enabling/disabling the Message Log
The user has the option to enable or disable the Message Log. By default, the Message Log is displayed. To
disable display of the Message Log, select the [View->Message log] menu option.
If the disable optio n is selected, the Message log will b e disabled and remo v e d from the FDT application
window display. To re-enable the Message log display, select the [View->Message log] menu option again. The
Message log will be enabled and added to the FDT application window display and the menu option checked.
4.7 Enabling/disabling the Dependency Log
The user has the option to enable or disable the Dependency Log. By default, the Dependency Log is displayed.
To disable display of the Dependency Log, select the [View->Dependency Log] menu option.
If the disable optio n is selected, the Dependen c y Log will be disabled an d removed fro m the FDT application
window display. To re-enable the Dependency Log display, select the [View->Dependency Log] menu option
again. The Dependency Log will be enabled and added to the FDT application window display and the menu
option checked.