i'm using the example program for LPC236X for testing the SD card by writing to it and verifying i'm reading back the same value. the writing goes fluently without any problems. the reading is stacked. i realized that i don't get any data from the SD in the read process and the processor is waiting in the:
while ( !(MCI_STATUS & MCI_RX_DATA_AVAIL) );
i'm using an old 16MB SD card. even when i'm trying to read from the card the SD_Status by using ACMD13 the card doesn't send any data.
when i insert the card to my digital camera i get the message "unable to use the card", but when i connect the camera to my laptop i can read and write to the card as it is detected by the laptop as removable storage. any idea regarding the possible problem i have?