NXP LPC1765 Cortex-M3 and K9F5068UOC is used.
1.Low-level nand flash driver functions are programed and checked well.
2.The file "NAND_LPC24xx.c" is used as a model to write the driver functions. What's more,
function "SetPageLayout (NAND_DRV_CFG *cfg)" is included in "static U32 Init(NAND_DRV_CFG *cfg)".
3.FILE_CONFIG.C is configed.
Problem: i = fformat("N:NAND /FAT32 /WIPE"); (after executed i = 2) i = finit("N:"); (after executed i = 1)
Hi, I also encountered this problem, I tried the following methods and still fail.
fformat("/FAT32 /WIPE"); fformat("/FAT32 /LOW"); fformat("/FAT32 /WIPE /LOW");
Sometimes even fformat fail. I need to erase the entire nand flash chip manually, and then be able to successfully fformat and finit. (my nand chip is K9F2G08U0A, (2k+64)x64x2048 ) Does not the fformat erase the NAND flash firstly,even use the parameter "WIPE" or "LOW"? Or what the meaning of the parameter of "WIPE" and "LOW"?
Thanks