CardInfo.ini only detects card once

Hi. I have built my own MicroSD card PCB and I am trying to test it with an Arduino UNO running the CardInfo.ini example sketch for the SD library.

I find that if I physically remove the SD card from the holder, replace it, and then reset the UNO the card is detected correctly. However, if I reset the UNO again the card is not detected. I can do multiple resets and it never detects the card. If I remove and replace the SD card and then reset it detects it again (once).

My question is, should I be able to detect the card using the Cardinfo.ino sketch each time I reset the UNO? Or is it only supposed to detect once after inserting the card?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.