AnsweredAssumed Answered

Calls to IO_IOCTL_FREE_SPACE returns half the NAND memory size

Question asked by Randall Jordan on Jul 13, 2015
Latest reply on Jul 16, 2015 by Randall Jordan

I’m are using MQX 4.1and a K20FX512VLQ12 connected to a Spansion S34ML08G2 NAND flash memory chip.  Calls to IO_IOCTL_FREE_SPACE returns half the
memory size, 512K instead of 1MB.


I have updated the NANDFLASH_INFO_STRUCT to reflect the Spansion memory characteristics (page size, block size, etc…), updated
“wTotalInternalDice” in NFCNandMedia::initChipParam to show 2 dies on the chip.  I’m sure I’ve missed a value that needs to be updated, but I’m not sure what it is. 


Has anyone had experience setting up the BSP / FFS using a NAND memory chip that has two dies?


I’m using CodeWarrior 10.6 with MQX 4.1


Thank you.