I'm working on a project using STM32L486RG microcontroller . I have to interface a Toshiba NAND flash memory using SPI peripheral and integrate the FatFs file system. Now , through my low level driver I'm able to read and write buffers in the NAND flash but I have no idea of how to integrate the FatFs file system. I read in many forums and websites that I should develop APIs that manage and control Error Correction Code ( ECC ) and wear levelling. I searched in the Net but I didn't find any example or sample code.
I'm really stuck on this and don't know from where to start. Anybody has an idea about this issue ?
Thanks