Content originally posted in LPCWare by capiman on Tue Sep 24 04:50:07 MST 2013
Hello Saravanan,
i think only you can analyze the problem, because we have much too less details. Perhaps something else is disturbing the communication?
Perhaps you can add a logic analyzer to save the last action and signals before the error happens. But it could also happen,
that when you add the logic analyzer, the error does not occur anymore...
Solution could be to add a switch to power supply of SD card, so the LPC1768 can power down/up (reset) the SD card in case there is
a communication error.
Another hint: Is there perhaps a timer running in your software, which runs over and triggers some malfunction?
Good luck!
Best regards,
Martin