2020-01-09 07:19 AM
Hi all,
I have connected a flash ROM (SST26VF016B-I/SM) to the STM32F407ZGT the interface between them is SPI and I have tried to use the FATFS to create,write and read files but at first it doesn't seem to work. I would like to if anyone has tried this and could help me achieve this.
Thanks in advance
2020-01-09 07:53 AM
You'd have to write and thoroughly test sector level read/write routines which you can later integrate into the DISKIO layer.
Given the block size on the specified device you'd likely want to use 4KB sectors, otherwise you're going to have to implement the read-modify-erase-write method to support 512 byte sectors.
I suspect the device/performance will be low.
For file systems consider using the SDIO/SDMMC interface for either SD Cards or eMMC chips.