SD card does not respond to CMD0 (RESET)

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

A device I had been testing for over two months suddenly started giving FR_DISK_ERR (I'm using Elm Chan's FAT-FS) [Link]. When I tried debugging, the command (CMD0) which must be clocked in to set the SD card into SPI mode (as described in the SD card spec sheet - SDcard.org [link])  return 0xFF and not 0x01, i.e. it failed. 

My question is:

*If CMD0 fails does that mean the SD card controller is not working?

*Will it still work in SDIO mode even if CMD0 fails? (I couldn't test it as my uC does not support SDIO)

*Can an OS (Linux, Windows, Mac) format this SD card to make it working again? If so how does it do it?

 

Chan's FAT-FS has no method to solve if we have an FR_DISK_ERR, so I need to find a way to solve this remotely. 

This topic has a solution.

Clament John | Still in school 

Last Edited: Fri. May 12, 2017 - 09:24 AM
This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

This SD card won't work anymore. It isn't even responding to Linux commands. Gparted is unable to open it.

Clament John | Still in school