2019-07-26 04:49 AM
2019-07-26 05:25 AM
Yes, would probably set sector size to 4KB or whatever the erase block size is.
The NAND based eMMC is perhaps more appropriate for such an application.
What are you offering in trade?
2019-07-26 05:31 AM
we want to use serial flash or a quad spi flash instead of NAND based eMMC or SD card due to the cost.
As this is for GPS NMEA data, we will be writing very often will it be a good idea to use serial flash in our project.
2019-07-26 05:43 AM
The write/erase cycles are usually specified on the data sheet for the parts.
Using a cache and lazy-writer would extend the life, probably quite significantly.
With this type of memory FatFs is not ideal, for a stream of data I'd probably just journal across the entire array, and use headers to associate specific "files" or logging intervals.
2019-07-26 05:46 AM
>>we want to use serial flash or a quad spi flash instead of NAND based eMMC or SD card due to the cost.
I'd be surprised if NOR won a battle for price/capacity.