Problems with fileopen and the File I/O routines

Hello.

I try to open a file in writing mode in a SDHC Card with the LPC4088, but I have very big problems.

If I use the File Maintenance Routines (fformat, fdelete, frename..) It's all ok, but if I use the File I/O Routines (fopen, fclose..), I obtain a blue screen and my board is totally idle.

I debug my software and I discover that if I use the fopen or other File I/O routines the power to SD Card is off, the SD Clock isn't present and the SD is completely idle.

I suspect that here is a memory problem, perhaps the fileopen and the other file I/O routines use wrong memory locations or here is a overflow.

What'is your opinion? You have encounter in the past a similar problem?

Thank's and Regards.

Tiziano Molinari

More questions in this forum