2009-07-09 09:00:25     NOR flash

Document created by Aaronwu Employee on Aug 16, 2013
Version 1Show Document
  • View in full screen mode

2009-07-09 09:00:25     NOR flash

Filip Vanalme (BELGIUM)

Message: 76966   


Just wondering if this is possible :


Part of the flash on our board is organised with the JFFS2 filesystem. It takes me 2 to 6 seconds to write a file of almost 4 Mbyte into that filesystem using fopen() and fwrite().

However, when I write a binary file of approx. 1 Mbyte to another part of the flash, not with JFFS2, using the flashw tool, it takes up to 22 seconds to write the file.


Is this possible or am I missing something ?






2009-07-09 10:48:11     Re: NOR flash


Message: 76967   




When you use jffs2 (or any other flash file system) - garbage collection (erasing the flash) happens in the background - and when writing - it is just writes that occur.


When you use direct mtd - erase happens before write.


Make sense?