This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

flash prog algorithm page size

Hello,

I want to write a new flash algorithm for a nor flash S29GL512N.

www.spansion.com/.../s29gl-n_00_b8_e.pdf

Could someone tell me the exact page size of this flash device? I can't find this information in the datasheet.

1024,                       // Programming Page Size

Which page timeout (program and erase sector) is recommend?

100,                        // Program Page Timeout 100 mSec
   1000,                       // Erase Sector Timeout 1000 mSec

best regards
David

Parents
  • Programming Page Size:
    The mentioned flash can be programmed using Word Program Command or by using Write Buffer Programming (up to 16 words / 32 bytes). So programming page size of 32 bytes would be enough. However it is better to use a larger page size (multiple of 32) in order to reduce the overhead of the actual programming and increase the algorithms speed. 1024 bytes is a good selection. Even larger page size could be used but this increases also the RAM requirement for the algorithm.

    Program Page Timeout:
    The data sheet states typical program operation per word takes 60us (15us when using Write buffer). So programming a page of 1024 bytes (512 words) would take around 31ms and a 100ms timeout sounds reasonable.

    Erase Sector Timeout:
    Sector Erase is specified to last typically 0.5s. Therefore a 1s timeout should be fine.

Reply
  • Programming Page Size:
    The mentioned flash can be programmed using Word Program Command or by using Write Buffer Programming (up to 16 words / 32 bytes). So programming page size of 32 bytes would be enough. However it is better to use a larger page size (multiple of 32) in order to reduce the overhead of the actual programming and increase the algorithms speed. 1024 bytes is a good selection. Even larger page size could be used but this increases also the RAM requirement for the algorithm.

    Program Page Timeout:
    The data sheet states typical program operation per word takes 60us (15us when using Write buffer). So programming a page of 1024 bytes (512 words) would take around 31ms and a 100ms timeout sounds reasonable.

    Erase Sector Timeout:
    Sector Erase is specified to last typically 0.5s. Therefore a 1s timeout should be fine.

Children
No data