4.4. Timeouts

The timeouts for erasing a block and writing a block are determined by querying the CFI information block in the flash device. The CFI information block provides values for typical and worst-case operation. The timeouts returned to the flash programmer are those for worst-case operation.

The timeouts are read within the flashSelect() method and stored in global variables for later use by the flashGetEraseBlockTimeout() and flashGetWriteBlockTimeout() methods. The initial reading of the timeouts is located within the flashSelect() method because that method also contains other code for querying the CFI information block.

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