This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Accessing FAT32 partition on NAND from Eboot

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?