Renesas FDM Quick Start Guide

FDM Quickstart Guide

Introduction

This guide is intended to help you to get started quickly when using the FDM. It will cover:
1. How to install the software tools (FDT 2.2, Sample EDK kernels), plugging in the FDM for the first time.
2. How to generate an FDT project which uses the FDM.
4. Example of connection using FDT with the FDM.
1

Software Installation

Note that Microsoft Windows 95 and Windows NT do not fully support USB and so cannot be used with the FDM.
Insert the Software Tools CDROM in your drive, it should automatically run the menu program. If it does not:
Open "My Computer" from your desktop
Locate and open the CDROM drive
Double-click the "autorun.exe" icon to run the program.
Once the menu program is running:
Select "FDM" from the drop down list.
The buttons suffixed with the '»' symbol will display a popup
menu when clicked. The content above the separator in these menus changes dynamically, depending on the selected EDK device.
If you do not have FDT already installed, you should click the
"Install Tools »" button and complete the installation of FDT.
Click "Add EDK Support" to install the sample EDK
kernel(s) with support for the FDM pin settings.
Use of the FDM requires FDT kernels which have settings for controlling the mode pins of the target device. The only kernels which have these settings are for EDK’s. It is possible however, to manually add these settings to other kernels; this is covered by a separate application note.
Once FDT is installed, it is possible to plug in the FDM to the PC USB port using the supplied USB A-B cable – the first time this is done it will install the driver: ensure that the FDM is not plugged into a target device before this first connection is made. Under Windows 98, Me, and 2000 the driver should install automaticall y without prompting for a driver disk. Under Windows XP the “Found New Hardware Wizard” will launch. Select “Install the software automatically” and click “Next” to complete the installation.
Once the driver has been successfully installed the red LED will illuminate continuously and the Green LED will begin to flash. The installed driver will be loaded each time the FDM is plugged in.
Note that the green LED will not flash if the driver is not installed correctly (e.g. FDT is not installed).
Documentation
The CD's menu program will automatically detect if you need to install the Acrobat Reader when you first select a PDF document from the Manuals popup menu. Alternatively, you may install Acrobat Reader manually from the CD's menu program by selecting "Manuals »", "Acrobat Reader".
Renesas Technology Europe Ltd Page 1 of 4 D002936_11_v01
FDM Quickstart Guide
2

Generating a Test Project

Once you have installed the required software you can quit the menu program and start the Flash Development Toolkit (FDT). This example uses the EDK 2282 but the method is valid for other EDK’s.
Start FDT by using the Start Menu to navigate to “Start”,
“Programs”, “Renesas”, “Flash Development Toolkit
2.2” and select “Flash Development Toolkit 2.2”.
In the “Welcome” dialog box, select “Create a new
Workspace” and click “OK”.
In the “New Project Workspace” dialog box, change the
directory if the default is not where you would like to save it.
Enter the Workspace Name, “EDK with FDM”. Click
OK”.
A dialog box will be displayed asking if you want to run the
project wizard to add a new project; click “Yes”.
Enter the Project Name, “EDK2282” (replace with an
appropriate name if using another EDK). Click “Next”.
In the “Choose Device And Kernel” dialog, select the
EDK target device from the drop down list: "H8S/2282F" in this example. Then select the Kernel with .EDK at the end of the kernel version (See screenshot). Click “Next”. [Note that the EDK kernels are not installed as part of FDT and should have been installed separately in order to use the FDM with FDT 2.2]
In the “Communications Port” dialog, click the Select Port
combo box to display the list, scroll up to the top and select “FDM”. If the Baud rate required is not the default selection, the “Use Default Baud Rate” option must be unchecked before the required setting can be set. Click “Next”.
For EDK’s the default options for “Crystal Frequency”,
Clock Mode”, “CKM” and “CKP” should remain unchanged in the “Device Settings” dialog, so click “Next” to continue.
In the “Connection Type” dialog, select “BOOT Mode
connection and click “Next”.
In the “Programming Options” dialog, select Messaging
level “Advanced” and click “Finish”.
The project is now setup and the mode pin settings have been read from the flash configuration file for the selected kernel. The next stage is to connect the hardware.
Renesas Technology Europe Ltd Page 2 of 4 D002936_11_v01
Loading...
+ 2 hidden pages