Mounting File-System on NAND problem

Hi, i have a board which includes a stm32f103re and a 256MB NAND, as you may know this MCU does not have a external memory controller peripheral, so i wrote the required NAND driver in GPIO level . the routines include: Init, Uninit, PageRead, PageWrite and BlockErase
All this functions seems working, i have successfully wrote,read on pages and erased blocks.
the problem is when i call finit("N0") function it returns 2, meaning an unsuccessful attempt.
what could be wrong? any idea?

Parents Reply Children
No data
More questions in this forum