Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Sansa Clip+ Don't Recognize SD card
« previous next »
  • Print
Pages: [1]

Author Topic: Sansa Clip+ Don't Recognize SD card  (Read 15755 times)

Offline Echo

  • Member
  • *
  • Posts: 28
  • Peace And Love
Sansa Clip+ Don't Recognize SD card
« on: September 21, 2013, 12:13:30 PM »
Hi all.
I'm new to rockbox and already having problems, hope someone could help.
I got a new Sansa Clip+ 4GB and a SanDisk Ultra 64 GB micro SD card.
I formated The SD card to fat32 using mkdosfs -F 32 on my ubuntu.

The original SanDisk firmware recognized the SD card.
After switching to rockbox 3.13 the SD card isn't recognized anymore.
When I plug in the Clip to my computer, it recognizes 2 devices, one of 4 GB (the clip) and one of 60 GB (the sd card) (Even after rockbox).

I found this patch http://www.rockbox.org/tracker/task/11798 but it no longer works since the version is too advanced.
I know a thing or two about programming but I never worked with SD card drivers or protocols.

Please help me, I'm all out of music

Peace And Love
Raz
Logged
Peace And Love
Raz

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Sansa Clip+ Don't Recognize SD card
« Reply #1 on: September 21, 2013, 12:31:45 PM »
If you look on the left of the screen you can see that the patch in that task was added to rockbox in December 2010.

If the card works with Rockbox in USB mode I suspect everything is working. Does the microsd1 entry show up in the file menu?
Logged

Offline Echo

  • Member
  • *
  • Posts: 28
  • Peace And Love
Re: Sansa Clip+ Don't Recognize SD card
« Reply #2 on: September 21, 2013, 12:38:39 PM »
Hi, thanks for the fast reply,
I noticed it was inserted in 2010 but there was another patch in the reply there that I wasn't sure if that one entered or not.
Any way this doesn't work so it does not metter.

I don't see a MicroSD1 entry in the files menu and not in the system/rockbox info/MSD

Peace And Love
Raz
Logged
Peace And Love
Raz

Offline Julian67

  • Member
  • *
  • Posts: 116
Re: Sansa Clip+ Don't Recognize SD card
« Reply #3 on: September 21, 2013, 06:08:48 PM »
By coincidence today I took delivery of a SanDisk Ultra 64 GB micro SD, this one: http://www.amazon.co.uk/gp/product/B0084DWD4Q

In Debian stable I installed the exfat utils so the card's file system could be recognised.  It then mounted OK.  Then I formatted it in Debian using GParted, writing a new msdos partition table and a FAT32 file system.  Then I copied a couple of albums to it and checked it was recognised in my Rockboxed Fuze+.  It seemed OK.  However in a microSDHC card reader doing sustained writes (rsync my old 32GB card to the new card) it got extremely hot and unmounted.  This happened a couple of times but  with the card in the Fuze+ writes were very slow  so I spent some time this afternoon trying to get things so the card works in Rockbox and also reads/writes the FAT32 file system at proper speed without heat or unmounting (I found these issues are quite widely reported).  I succeeded, so you probably can too.

I started over:

Formatting the card:  I booted my EeePC into Windows XP SP3, downloaded the exfat support update from Microsoft and installed it and rebooted.  Then I used the SD Association's SD Formatter 4.0 tool to restore the card to its original state complete with exfat file system.  The SD Formatter 4.0 recognises the hardware and automatically writes the correct partition table and partitions the card with 16MB free space at the beginning, an exfat file system in the middle and about 3.3MB free space at the end (just as the card was supplied).  Then I downloaded the guiformat tool from   http://www.ridgecrop.demon.co.uk/index.htm?guiformat.htm  I used this at its default settings and it retained the partiion layout and formatted the exfat file system to FAT32.  This all worked Ok and the card was recognised by my EeePC and by Rockbox just like any compatible microSDHC card.  For some reason on my desktop I now had trouble writing to it (could add files but not create directories) if it was attached via a USB or integrated card reader.  While in the Fuze+ it worked but was slow.  The difference apparently is the card reading hardware.  My desktop is old and cheap with a really lousy built in SD reader that must be from the stone age.  It also turned out that my USB 2.0 Lexar microSD reader that was supplied with my 32GB microSDHC card has trouble with microSDXC even when formatted to FAT32.  Luckily last week curiosity and cheapness overcame me, I found myself in a 99p store and bought a USB 2.0 multicard reader (exactly the same as the one linked) and this cheap and generic but new reader works fine with microSDXC.  I was able to copy a full 32GB card's contents to the new 64GB card at high speed without any excessive heat or unmounts, then I added a lot more music to it and put it in my Fuze+, did a database update and PictureFlow update and have been using it for a few hours.  It's absolutely fine.

So, I apologise for having been verbose but I wanted to illustrate that there might be more than one issue to consider:

Linux kernel and disk utilities maybe are not yet ideal with microSDXC hardware.  If you have Windows XP/Vista/7/8 available then there are some excellent automated tools for these specific tasks.

Older card readers might appear to be compatible but actually be problematic.  Slow write speed is a relatively small problem but unwanted unmounts are not good and the card getting extremely hot might be terminal for the card or the card reader it's in.

99p stores are great and being cheap is its own reward.
Logged

Offline Echo

  • Member
  • *
  • Posts: 28
  • Peace And Love
Re: Sansa Clip+ Don't Recognize SD card
« Reply #4 on: September 24, 2013, 11:23:18 AM »
Well Jolian you got me thinking.
I noticed that /i have a file with a corrupt name in my SD.
Also I put some files with hebrew file names on it.

So I decided to start over. I re-formated my SD using ubuntu disck utility (yes, I know, GUI... BAHHH)
and I re-installed rockbox from the offisial relice. Than my (empty) SD card got recognized.
Than I started adding files graduatlly, checking that they work each time.
All went well...

Conclutions:
1. Use only well tested formating tools
2. Don't use corrupted files
3. Make rockbox support xFAT file system :)

Now my only problem is the bad encoding of some of my hebrew files ID3tags but that fixable :-)

Than you all very much for your help

Peace And Love
Raz
Logged
Peace And Love
Raz

Offline wodz

  • Developer
  • Member
  • *
  • Posts: 390
Re: Sansa Clip+ Don't Recognize SD card
« Reply #5 on: September 25, 2013, 02:13:13 AM »
xFAT is not gonna happen anytime soon if ever.
Logged

Offline Echo

  • Member
  • *
  • Posts: 28
  • Peace And Love
Re: Sansa Clip+ Don't Recognize SD card
« Reply #6 on: September 25, 2013, 08:20:27 AM »
Why not? Maby I could help?
Logged
Peace And Love
Raz

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Sansa Clip+ Don't Recognize SD card
« Reply #7 on: October 01, 2013, 06:30:30 AM »
http://www.rockbox.org/wiki/NoDo

In addition to any problems about an open source implementation existing that could be ported to Rockbox etc. etc.

Same reason we don't support anything other than FAT
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline Echo

  • Member
  • *
  • Posts: 28
  • Peace And Love
Re: Sansa Clip+ Don't Recognize SD card
« Reply #8 on: October 02, 2013, 07:13:46 PM »
I saw the NoDo only after posting this, so I'm sorry for spamming.
But the NoDo says this is mainly a RAM issue.
As far as I understand it, this is the code volume of the additional file systems that concerns the developers.
So maybe one could think of dynamically load of FS code or conditional compiling of FS code.
Anyway I think this is beyond this forum scope so I will try to think of a compleat solution an post it if I can get something good enough.
Thanks anyway
Logged
Peace And Love
Raz

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Sansa Clip+ Don't Recognize SD card
« Reply #9 on: October 02, 2013, 07:31:32 PM »
Quote from: AlexP on October 01, 2013, 06:30:30 AM
http://www.rockbox.org/wiki/NoDo

In addition to any problems about an open source implementation existing that could be ported to Rockbox etc. etc.

Same reason we don't support anything other than FAT

There is actually an open source implementation we could use (its in cyanogenmod now), so I don't know that we wouldn't ever do it.  But yeah at the moment unless someone is interested in working on it I don't see much need. 
Logged

Offline wodz

  • Developer
  • Member
  • *
  • Posts: 390
Re: Sansa Clip+ Don't Recognize SD card
« Reply #10 on: October 03, 2013, 03:19:34 AM »
I am not aware of current status quo but the main objection to the open source xFAT implementation was patents issue. Microsoft holds the patents behind xFAT and it can use it to sue anyone at anytime.

Implementing fs as dynamically loaded modules is possible but needs at least:
1) inclusion of elf (or other) loader which supports relocation. Some work has been done in this are see:  http://gerrit.rockbox.org/r/#/c/326/
2) massive code reorganization.

This is not  weekend project really.
Logged

Offline mdreilly

  • Member
  • *
  • Posts: 1
Re: Sansa Clip+ Don't Recognize SD card
« Reply #11 on: December 02, 2013, 10:38:51 PM »
I just got the same 64GB card.  I can see it through the USB connection but it does not show up in the Sansa Clip directory.  It is currently formatted as EXFAT.  Are you saying that I have to reformat as FAT32?

Thanks.
Logged

Offline wodz

  • Developer
  • Member
  • *
  • Posts: 390
Re: Sansa Clip+ Don't Recognize SD card
« Reply #12 on: December 03, 2013, 04:36:13 AM »
yes
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Sansa Clip+ Don't Recognize SD card
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.105 seconds with 15 queries.