Hello,
I am trying to read a file on the FAT partition on the NAND flash on my AM335x EVM board.
I have followed the scheme used in the filesystem code in sdcard.c: a structure containing 4 functions to access the flash is passed to FileIoInit() :
SDCardInit()
SDCardIdentify()
SDCardReadSector() and
SDCardReadMultipleSectors()
After FileIoInit(), one can call FileIoOpen() to open the file etc.
I would like to do the same thing for the FAT partition on the NAND flash.
FileIoInit() gets called successfully, and then the FlashReadSector() function gets called to read sector 0.
After that, nothing happens.
Is this the correct way to read a file from the FAT partition on NAND, or is there another, better way?