Hi Randall,
Could you please share here your NANDFLASH_INFO_STRUCT?
According my expectation, it should be:
/* S34ML08G2 organization */
#define S34ML08G2_PHYSICAL_PAGE_SIZE 2048
#define S34ML08G2_SPARE_AREA_SIZE 128
#define S34ML08G2_BLOCK_SIZE 131072 /* 128kB */
#define S34ML08G2_NUM_BLOCKS 8192 /*4096 for each 4 Gb device*/
#define S34ML08G2_WIDTH 8
NANDFLASH_INFO_STRUCT _ S34ML08G2_organization_8bit[] = {
S34ML08G2_PHYSICAL_PAGE_SIZE,
S34ML08G2_SPARE_AREA_SIZE,
S34ML08G2_BLOCK_SIZE,
S34ML08G2_NUM_BLOCKS,
S34ML08G2_WIDTH
};
Note: Unfortunately there is one additional FFS bug also in MQX 4.2.0. This could cause dead lock situation after some time.
In attachment you can find fixed media_buffer_manager.cpp file. Fix will be part of next MQX release.
I hope it helps you.
Have a great day,
RadekS
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------