3.3. Editing the Flash Algorithm

Inside your flash algorithm project is a .c file with the flash device name that you gave when creating the project. You must edit this file to implement your flash algorithm, following the comments in this file and in the flashDevice.h header file and using the guidance elsewhere in this application note.

At a minimum you must implement the flashGetBlockStructure() and flashWriteBlocks() methods. Depending on your target hardware you may also need to implement the flashSelect() method, for example to configure access to your flash device. It is recommended that you implement and test these three methods first, before adding further functionality.

Other files in the project include:

Copyright © 2007. All rights reserved.DAI0190A
Non-Confidential