| |||
| Home > Programming Flash with RealView Debugger > Programming Flash for a custom development platform > Programming a Flash type supported by RealView Debugger | |||
If your hardware uses a Flash type that is also supported by an ARM development board, then you can use the appropriate Flash-level assembly code that is provided with RealView Debugger. These files are:
f_amd_sst_arm.s
f_atmel_arm.s
f_intel_arm.s
f_toshiba_arm.s
f_st30_arm.s
You must provide all the other files required to program the Flash (see Summary of files used to program supported Flash types on custom platforms).
If you want to use the Evaluator-7T example to follow the procedure in Procedure for programming a supported Flash type, do the following:
Create a new directory
called eval7t_support.
Copy the following files from the directory
into the install_directory\RVD\Flash\...\platform\eval7teval7t_support directory:
f_amd_sst_arm.s
flash_sst.ame
board_sst_eval7t.ame.
Where the procedure directs you to create other
required files, create the files in the eval7t_support directory.
The procedure for programming a Flash type supported by RealView Debugger for your own development platform involves the following steps:
Gather information about your target (see Gathering information about your target).
Create the Flash-level and board-level AME files (see Creating the Flash-level and board-level AME files).
Generate the FME file. To do this, create a make file to:
build an ELF/DWARF (.axf)
image from the Flash algorithm code
run the pakflash utility to generate
the FME file from the axf image and the AME
files.
See Generating the FME file for details.
Check the FME file with the dispflash utility (see Checking the FME file with the dispflash utility).
Create a BCD file (see Creating a BCD file).
Program your Flash device (see Programming an image into Flash).