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 does not work with DSP BIOS-based program

I have a test program (mostly TI decoder test program) that uses various file I/O operations. All is fine, this is a non-Bios-based program.

I use that same program in my BIOS-based code and there are a few problems - the most obvious is that an fopen for a read ("r") will succeed even for a file that is not there.

Note - I saw an old E2E posting about a similar issue - it says a problem with file I/O can be not enough heap. I tested the heap via malloc - I can malloc over 2mbytes (somewhere towards 20mbytes it finally fails).

Thanks

-Dave