2.9. Flash Verify Operations

After writing some data to a flash device, a verify operation is optionally performed by the Eclipse Flash Programmer plug-in. The purpose of the verify operation is to check that the data has been written correctly. Performing a verify helps to detect faulty flash devices as well as errors in the flash algorithms.

The Eclipse Flash Programmer plug-in internally implements the verify operation by reading the contents of the flash device and comparing it against the data that was written. The read uses the flashReadBlocks() method in the flash algorithm, if implemented, and otherwise attempts to read directly from the base address of the flash device in memory.

You can optionally implement the flashVerifyBlocks() method in your flash algorithm if you need control over how the verify operation is performed.

Copyright © 2007. All rights reserved.DAI0190A