This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

finit() reports 2 on NAND FLASH

Hello everyone!
I read lot of threads about finit reporting code 2 on a NAND FLASH.
My issue is quite different; I have a fully performing system /LPC1788-32MB SDRAM-1Gb NAND FLASH Micron, but sometimes, randomly, at boot time my NAND seems unformatted (IS unformatted from the finit and FAT-point of view)
Right before reset, NAND was perfectly working.
After finit reports 2, fopen doesn't work (reports 0) and same for fread/write.

My question is:
How could I debug the situation, I mean finit.
In my NAND driver, a breakpoint in the init function (U32 Init (NAND_DRV_CFG *cfg)) reports RTV_NOERR and the device ID is read fine (and the ONFI ID too).

Thanks a lot for your help.