8.4.1. Flash definition files

Files to enable you to use supported Flash devices are included in the root installation and are located in program_directory\flash:

Board-specific files

Assembler files with the name b_device.s. Files with the name board_device.ame contain the ASCII format information for an FME file.

These files include Flash memory programming files.

Flash-specific files

These programming files are named f_device.s and flash_device.ame.

These files contain the algorithm for defining the Flash device and are used to create the FME file for your project.

To see how these files are used:

  1. Start up RealView Debugger without connecting to a target.

  2. Select Project → Open Project... to open the example project for your board, program_directory\flash\examples\board_name\project.prj.

  3. Select Project → Project Properties... to display the Project Properties window.

  4. Left-click on *ASSEMBLE=default in the List of Entries. This group is expanded and the contents are displayed in the Settings Values pane.

  5. Right-click on *Sources and select Explore from the context menu.

    This shows the programming file used to create the FME file for the project.

  6. Left-click on *BUILD in the List of Entries. This group is expanded and the contents are displayed in the Settings Values pane.

  7. Right-click on *Pre_Post_Link and select Explore from the context menu.

    This shows the link commands used to include the Flash definition files for the project.

  8. Select File → Close Window to close the Project Properties window without making any changes.

  9. Select Tools → Build to create the FME file as defined by the project, that is flash_boardname.fme.

Copyright © 2003, 2004 ARM Limited. All rights reserved.ARM DUI 0234B
Non-Confidential