Content originally posted in LPCWare by capiman on Sat Dec 20 05:59:25 MST 2014
Hello,
which file system source code are you using? Elm Chan's? EFSL? Something self written?
There is
file_fopen(&File,,"LOG.txt",MODE_READ);
which I can't find (or perhaps have overseen) in your sources and which seems to have no second parameter. Is this correct?
Finally to debug and get it running, you must trace (and then understand) the communication between LPC2148 and SD card.
You can do this e.g. by a hardware SPI analyzer or by sending the SPI communication to a debug port,
so you can see what the LPC2148 is sending over SPI and what is coming back from SD card.
Best regards,
Martin