Isssue with SD Card

I am on the process of debugging our firmware, and the test has issued a unexpected behavior concerning the interfacing with a micro SD card.
You can find attached a report concerning the issue.
Could please provide your technical support.PDF
  • 0
    •  Analog Employees 
    on Mar 1, 2019 11:57 AM

    Hello ,

    Your micro SD card might be an older SD version. Older versions require a different initialization sequence and will result to an infinite loop when you try to use the sequence included in the wiki.

    Regards

  • 0
    •  Analog Employees 
    on Mar 1, 2019 12:45 PM

    Hi ,

    Maybe the microSD card that you are using is not capable of SDHC, if so try sending a 0 in argument of ACMD41 in the card initialization.

    // start card initialization
      do {
        cmd_args = 0;   // for not SDHC cards
        resp = send_command(CMD55, 0);
        resp = send_command(ACMD41, cmd_args);   
      } while((resp & 0x01));