Hi all,
I am using SD Memory interface in SPI mode with LPC1768 and using the keil Flash file system as Memory Card Driver0. The SD Memory used is 2GB SD1.0 complaint.
I have customised the SD_File code of MCB1700 for muy application.
File reading, writing,folder creation, everything is working fine. But some times it shows error as "Insert Memory Card" or "Memory card Unformetted".
I have checked the Detect switch and write protect switch signals they are working correctly.
when I debugged, the function finit is calling the function checkmedia. checkmedia is detecting the switch state as card inserted, but after that i am not able to debug what it is esnding to the card and what it is expecting from the card. Finally return from the finit is 1 or 2 duo to which it is displaying the above said errors.
I have checked the voltage levels of the SSP signals they are all working at level 1 is above 3 Volts. I am not understanding why this is behaving like this. It is working some times and not working some times.
Please suggest to resolve this problem.
regards Lingaraju