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.

fopen() Max Files - SYS/BIOS + FatFs

Hi,

I have a requirement to open ~300 files on SD card. I am using SYS/BIOS, and BIOS PSP MMCSD driver (biospsp_03_00_01_00). I have tried changing _NFILE in stdio.h to 300, then FOPEN_MAX is set to _NFILE in the same file. I also set _NSTREAM in file.h to 300. With these changes, I rebuilt the rts6740_elf.lib library. I think that this is the relevant library for C6748? Or maybe there is another library that has to be rebuilt? I rebuild this from my ti-cgt-c6000_8.0.3/lib directory. 

My SYS/BIOS (bios_6_42_03_35) is in a different directory, but the FatFs files seem to pull from file.h in my CGT directory. I rebuilt SYS/BIOS also. 

With these changes, I can still only open a max of 40 files. Is there something else that I am missing here?

Thanks

Brian