Hi David,
I am using TWRK60F120M board CW10.5 MQX4.0.2 & FFS4.0.2
In source code of FFS I have changed
#define NANDFLASH_1ST_DATA_DRIVE_SIZE_IN_BLOCK 1937 //previous was 90
#define NANDFLASH_1ST_DATA_DRIVE_START_BLOCK 110
for this I am getting free disk space as 252694528
I wrote some 30 Mb data to nandflash successfully but after that I am unable to write any data or overwrite any previous file saved in nandflash, then I tried to format device but I got error as Error while formatting: 0x301d
then I send command nanderasechip after this fsopen for fsopen I got error as
C:/Freescale/Freescale_MQX_4
_0/ffs/source/wearleveling/ddi/common/page_order_map.cpp, line 199.
after getting this error I tried to reopen nandflash after some time but got the same error but if do changes in wearleveling like
#define NANDFLASH_1ST_DATA_DRIVE_SIZE_IN_BLOCK 90 //from 1937
#define NANDFLASH_1ST_DATA_DRIVE_START_BLOCK 110
and after this again I erased the chip & sent fsopen it worked.
How can I overcome this problem?
Thanks.