2.11. Error Handling

All flash algorithm methods return values from the FlashError enumeration to indicate whether an error occurred or not. There are a number of pre-defined error codes to handle common error situations. You can define your own error codes by adding values greater or equal to FlashError_CustomErrors, and can provide user-visible error strings for these by implementing the flashGetErrorMessage() method in your algorithm.

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