We would like to use a FAT16/32 filing system on an embedded Flash memory alongside the STM32F207 platform we are developing for new products. We're looking at NAND Flash because the existing 64MBit NOR Flash takes 90 seconds to erase and the driver doesn't cater for folders or timestamps. Our options seem to be to either use an SPI NAND Flash with in-built ECC or to use a fully managed e.MMC solution which is more expensive. The size should be 1GBit or more.
The main issue for both types though is regarding the software driver. Is there a universal driver that can interface to different SPI Flash or e.MMC parts or do we need to approach each Flash manufacturer to get a driver?
Hi Clive,
Can I use CMSIS driver standard API with any Flash driver. www.keil.com/.../group__nand__interface__gr.html www.keil.com/.../group__flash__interface__gr.html
Let me know any drive source provided by Keil MDK (Middleware) or any open source C/C++ code for STM32 Cube F2
Thanks, Naeem
I have my own codebase for doing these things, you'll need to review what Keil and ST/Cube provide in the way of specific functionality.
I would recommend getting some development or EVAL boards providing NAND connectivity and become more familiar with the functionality you want to implement in a product. There seem to be numerous boards on places like eBay that have NAND footprints where parts could be soldered down, and others from people like WaveShare.