Rockbox Technical Forums

Support and General Use => Hardware => Topic started by: bind on June 18, 2010, 09:24:23 AM

Title: 16 GiB Class5 Micro SDHC card not recognized by sansa players
Post by: bind on June 18, 2010, 09:24:23 AM
I have 2 sansa players e250 and e260, both v1's.

I have an older class1 Micro SDHC 16 GiB card that works flawlessly in both players.

I have a newer class5 Micro SDHC 16 GiB card that works fine on my computer, card reader, formatted, error-free, and loads fine with music, but neither sansa e200 series player will recognize it running rockbox. It just says scanning disk when I insert the card, then nothing at all.

Additionally, when I connect any of the players to my computer when the new card is inserted in the players, the card shows up on my windows explorer as a removable disk!

How do I get the players to recognize and read the card while running rockbox if it does not recognize it automatically ?

any help would be appreciated.
Title: Re: 16 GiB Class5 Micro SDHC card not recognized by sansa players
Post by: saratoga on June 18, 2010, 12:49:53 PM
What happens when you browse to the "microsd1" folder?
Title: Re: 16 GiB Class5 Micro SDHC card not recognized by sansa players
Post by: bind on June 18, 2010, 05:24:01 PM
there is no microsd1 folder
Title: Re: 16 GiB Class5 Micro SDHC card not recognized by sansa players
Post by: funman on June 18, 2010, 05:38:04 PM
You didn't tell which OS your computer runs : is the card formatted as FAT32 ? with partitions or as superfloppy?
Title: Re: 16 GiB Class5 Micro SDHC card not recognized by sansa players
Post by: bind on June 18, 2010, 05:44:46 PM
windows 7

fat32

no partitioning
Title: Re: 16 GiB Class5 Micro SDHC card not recognized by sansa players
Post by: bluebrother on June 18, 2010, 05:55:20 PM
As far as I know does Rockbox use the SPI mode of SD cards to access them (can someone with knowledge of the SD code confirm this?). However, for microSD cards SPI mode isn't mandatory, and according to wikipedia "Some MicroSD cards do not support SPI mode.[citation needed]". See http://en.wikipedia.org/wiki/SDHC#Transfer_modes

What exact card do you have?
Title: Re: 16 GiB Class5 Micro SDHC card not recognized by sansa players
Post by: funman on June 18, 2010, 09:03:39 PM
I think no rockbox target use SPI mode for SD cards:

The specification says CMD58 is used for reading OCR register in SPI mode and sd.h header doesn't have this command.

Also e200v1 driver use 4 bits mode which is not possible in SPI either.

Can you go to System -> Debug -> View Disk Info and browse to [microSD 1] tab and post info?
Title: Re: 16 GiB Class5 Micro SDHC card not recognized by sansa players
Post by: bind on June 18, 2010, 11:46:16 PM
Can you go to System -> Debug -> View Disk Info and browse to [microSD 1] tab and post info?

[microSD 1]
Rev 0.0
Prod: 4/2010
Ser #: 0x00000DE2B
M=00, O=
Blocks: 0x01F40000
Speed: 25.0Mbits/s
Taac:10.0ms
Nsac: 0 clk
R2W: *2
IRmax: 100..35 mA
IWmax: 100..200 mA

a strange thing happened when i navigated to this tab - the card was recognized by the player and is allowing me to build a playlist!

seems to be working now

thank you very much

maybe this information should be posted somewhere in the documentation for people with a similar issue.
Title: Re: 16 GiB Class5 Micro SDHC card not recognized by sansa players
Post by: funman on June 18, 2010, 11:58:22 PM
This menu has no incidence on the microSD, it only shows information which was previously retrieved, so i think it just happened to work by chance.
Title: Re: 16 GiB Class5 Micro SDHC card not recognized by sansa players
Post by: bluebrother on June 20, 2010, 11:42:41 AM
I think no rockbox target use SPI mode for SD cards:

Ok, so I was under a wrong impression here. Thanks for clarifying.
Title: Re: 16 GiB Class5 Micro SDHC card not recognized by sansa players
Post by: z8080 on January 26, 2011, 12:17:23 PM
Are this issue have the same reason in wrong initialization? Can it be fixed by additional delays, as these --
http://www.rockbox.org/tracker/task/11798
http://www.rockbox.org/tracker/task/11870