6.1.2. Summary of files used to program custom Flash types on custom platforms

If your development platform and Flash type are not one of those provided with RealView Debugger, then you must create the following files to program Flash:

b_flashwrapper.s

This is an assembly wrapper that acts as an interface between the RealView Debugger API and your Flash programming code, for example b_IntegratorCP.s.

flash.h

This is a C header file containing prototypes for the functions called by RealView Debugger.

flash_algorithm.c or f_flash_algorithm.s

This contains your Flash programming routines, which are called by the related routines in b_flashwrapper.s.

flash-level.ame

This ASCII MEthod file describes the Flash memory for the target.

board-level.ame

This ASCII MEthod file describes the board for the target.

board.bcd

A Board/Chip Definition file that describes the memory map for your custom development platform, and specifies the Flash MEthod file that RealView Debugger is to use to program the Flash device.

The C, assembler, and ASCII MEthod files are required to generate the Flash MEthod file.

See also

Copyright © 2002-2011 ARM. All rights reserved.ARM DUI 0182N
Non-ConfidentialID052111