
RLCD2378 User’s Manual Rev 1.1 15/ 19 September 2007
The external flash programming kernels can be used stand alone (source is included in the project
generator files under “Sample Code”) or can be added to the user’s project, compiled and
downloaded to the RLCD2378 board. The board is powered up, and then flash programming mode is
initiated. FDT is launched on the PC and the S-record file containing the bitmap images is
downloaded into the external flash.
To program the external flash, FDT needs two files: a “flash configuration file”
(K8P3215UQB2378.fcf) and a micro kernel file that it downloads (2378_QVGA.cde).These files were
copied into your PCs hard drive during the install into the FDT folder. If you upgrade to a newer
version of FDT and intend to delete the current version of FDT, you will need to move these files to
another folder but ensure you keep them in the same folder.
6.4.2.1 Adding the External Flash Kernels to a Project
The files required to add external flash programming to a project are:
CmdFunc.c iodefine.h
Ext_flash.c uGenu.h
Startup.c KTypes.h
uGenu.c KStruct.h
FDTUMain.c KDevice.h
CmdFunc.h io2377.h
commands.h GenTest.h
DeviceInfo.h FDTUMain.h
Extern.h
Two projects are included in the RLCD2378 project generators under “Sample Code”. They are “External
Flash Programming” which is a stand alone program to write images to the flash, and “External Flash
Library” which is the source that generated the library used in the “Renesas Demo” and the “LCD and
Touch Panel Demo” and
The library to program the flash is a completely separate task requiring nothing from the application
except to switch to it when required. In the example projects, this is accomplished by holding down SW3
(P82) on the RLCD2378 board while toggling the reset button.
6.4.2.2. Using FDT to Download Images into External Flash
The following instructions are for downloading images files (.mot) into the external flash using the
RLCD2378Demo program or the RLCD2378Touch Application. The flash programming kernels are
included in these programs as a library.
1. Download the example application that includes the external flash programming kernels to the
RLCD2378 (see section 6.4.1).
2. Launch FDT. (All) Programs > Renesas > Flash Development Toolkit 3.07.
3. Click on <options> <new settings> to enter the configuration wizard.
4. Click on the pull down menu for “Select Device” click on <Other…>
5. Locate the file K8P3215UQB2378.fcf. If you installed FDT in the default folder, it will be in
‘C:\Program Files\Renesas\FDT3.07\Kernels\ProtC\2378\Renesas\externalFlash’ and click
<Next>.
6. The first time this file is selected, you will be asked if you wish to add this device to the registry,
select <Yes>.
7. Select the COM port the RLCD2378 is connected to, click <Next>.
8. Select 16MHz for CPU clock and multiplier should be set to 1, click next.
9. Select “User Programming Mode” then uncheck the “Use Default” and select 38400 for the baud
rate in the pull down menu, click <Next>, then <Finish>.
Commentaires sur ces manuels