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
| |-+  Audio Playback, Database and Playlists
| | |-+  Files in MicroSD card aren't being shown in File Browser or Database on Clip+
« previous next »
  • Print
Pages: 1 2 [3] 4

Author Topic: Files in MicroSD card aren't being shown in File Browser or Database on Clip+  (Read 34841 times)

Offline Idokras

  • Member
  • *
  • Posts: 4
Re: Files in MicroSD card aren't being shown in File Browser or Database on Clip+
« Reply #30 on: February 10, 2011, 03:53:13 PM »
z8080 provided me with his patched firmware that he linked in this thread (and which isn't hosted by rapidshare anymore). It helped me recognize my Sandisk 32GB MicroSDHC (class 4), any other firmware did not (not even the latest build).

Here's a link to my dropbox, for everybody suffering from the same problem. Thanks, z8080!

http://dl.dropbox.com/u/7685077/rockbox-r29143M-110126-sansaclipplus%20%28FS%239305%2C%20FS%2311304%2C%20FS%2311577-Meier%2C%20FS%2311664%2C%20FS%2311870%29-MaxSin.zip
Logged

Offline knopfsocke

  • Member
  • *
  • Posts: 6
Re: Files in MicroSD card aren't being shown in File Browser or Database on Clip+
« Reply #31 on: February 12, 2011, 03:58:06 PM »
Quote from: geizer on February 04, 2011, 10:51:52 AM
Wow, seems to work now! Using r29205.

I have still the problem described before with r29205. I will try the patch from FS#11870 now.
Logged

Offline lericol

  • Member
  • *
  • Posts: 1
Re: Files in MicroSD card aren't being shown in File Browser or Database on Clip+
« Reply #32 on: February 26, 2011, 02:01:50 PM »
Fuze v2
instal last ver. - r29401 and it isn't solve problem.
Please, if you solved this problem with Fuze2, drop a link to your precompiled Rockbox.


sorry,  the problem was with the microsdhc card.
« Last Edit: February 27, 2011, 03:52:35 AM by lericol »
Logged

Offline knopfsocke

  • Member
  • *
  • Posts: 6
Re: Files in MicroSD card aren't being shown in File Browser or Database on Clip+
« Reply #33 on: March 04, 2011, 11:57:46 AM »
Quote from: knopfsocke on February 12, 2011, 03:58:06 PM
I have still the problem described before with r29205. I will try the patch from FS#11870 now.

Applying the path from FS#11870 solved my problem with a fuze v1 and a 16gb sandisk microsd card.
does nobody have similar problems? it seams nothing happens with this issue.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Files in MicroSD card aren't being shown in File Browser or Database on Clip+
« Reply #34 on: March 04, 2011, 12:03:16 PM »
Quote from: knopfsocke on March 04, 2011, 11:57:46 AM
Quote from: knopfsocke on February 12, 2011, 03:58:06 PM
I have still the problem described before with r29205. I will try the patch from FS#11870 now.

Applying the path from FS#11870 solved my problem with a fuze v1 and a 16gb sandisk microsd card.
does nobody have similar problems? it seams nothing happens with this issue.

I assume you mean FuzeV2?  That patch won't change anything for the Fuze V1.
Logged

Offline knopfsocke

  • Member
  • *
  • Posts: 6
Re: Files in MicroSD card aren't being shown in File Browser or Database on Clip+
« Reply #35 on: March 04, 2011, 12:33:50 PM »
Fuze V1 is correct. I am not familiar with the rockbox code, but I added the 100ms delay to the file "sd-as3535.c" in hope to get an effect to the fuze v1. is that correct?

Code: [Select]
svn diff firmware/target/arm/as3525/sd-as3525.c
Index: firmware/target/arm/as3525/sd-as3525.c
===================================================================
--- firmware/target/arm/as3525/sd-as3525.c      (revision 29466)
+++ firmware/target/arm/as3525/sd-as3525.c      (working copy)
@@ -351,6 +351,8 @@
             return -7;
         mci_delay();
 
+       udelay(100000); /* 100ms */
+
         /*  go back to STBY state so we can read csd */
         /*  CMD7 w/rca=0:  Deselect card to put it in STBY state */
         if(!send_cmd(drive, SD_DESELECT_CARD, 0, MCI_NO_RESP, NULL))
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Files in MicroSD card aren't being shown in File Browser or Database on Clip+
« Reply #36 on: March 04, 2011, 01:57:22 PM »
Quote from: knopfsocke on March 04, 2011, 12:33:50 PM
Fuze V1 is correct. I am not familiar with the rockbox code, but I added the 100ms delay to the file "sd-as3535.c" in hope to get an effect to the fuze v1. is that correct?

Thats the right file for your player, but the changes mentioned in that task aren't for your player.  Its surprising that something meant to solve a problem on a different device would help you.  Perhaps you should post your changes to the tracker and see if anyone understands what is going on.  
Logged

Offline z8080

  • Member
  • *
  • Posts: 8
Re: Files in MicroSD card aren't being shown in File Browser or Database on Clip+
« Reply #37 on: March 16, 2011, 07:14:29 AM »
IMHO, problem is in SDHC card initialisation algorithm.

We do not wait reply from SDcard to CMD6 command, but should do this. In current versions we just wait for some timeout in hope, that card will finish initialisation in this time. Initialisation time is card-dependent, so for some cards timeout value from vanilla sources are sufficient, for others my patch with increased to 100ms delay is needed.

Algorithms in sd-as3535.c are similar, so increasing delay to 100ms may also  help with Fuze V1 SDHC detection troubles.
Logged

Offline knopfsocke

  • Member
  • *
  • Posts: 6
Re: Files in MicroSD card aren't being shown in File Browser or Database on Clip+
« Reply #38 on: March 16, 2011, 07:05:50 PM »
hey thanks for your contribution.

Is this a general problem for big SD-cards or are only Fuze 1 and 2 devices affected?

Where can I find the communication and data specification for SD-cards to check if the sequence of data exchange in the file "sd-as3525.c" is correct.  google won't help me :-D

I will help to fix this problem if i can!
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Files in MicroSD card aren't being shown in File Browser or Database on Clip+
« Reply #39 on: March 16, 2011, 07:17:39 PM »
It might be a better idea to ask on the tracker or IRC.  You're more likely to find someone familiar with the SD protocol and rockbox driver there.
Logged

Offline z8080

  • Member
  • *
  • Posts: 8
Re: Files in MicroSD card aren't being shown in File Browser or Database on Clip+
« Reply #40 on: March 16, 2011, 08:53:45 PM »
Quote from: knopfsocke on March 16, 2011, 07:05:50 PM

Is this a general problem for big SD-cards or are only Fuze 1 and 2 devices affected?

At least, Sansa Clip Plus  is also affected (it uses sd-as3525v2.c file). But it is mostly card-dependent.

I found comment
Quote
"Sorry, seems using HS timings makes it a bit touchier. I've got the response timeout disabled and it exhibits the same behavior as before with this patch."
at FS#11140 tracker page http://www.rockbox.org/tracker/11140

Our current card detection problems are also related to HighSpeed (HS) timings.
And their roots may grow from FS#11140.
Logged

Offline bertrik

  • Developer
  • Member
  • *
  • Posts: 171
    • Homepage Bertrik Sikken
Re: Files in MicroSD card aren't being shown in File Browser or Database on Clip+
« Reply #41 on: March 19, 2011, 07:42:07 AM »
z8080, if you have an idea on how to do CMD6 properly (instead of using a delay), and have a card which gets recognised with a CMD6 fix (instead of a delay), please let us know, or open a flyspray task.
Logged
Meizu M6SP, Samsung YP-S3, iPod nano 1g, Sansa c200, Sansa e200, Sansa Clip, Sansa Clip+, Sansa Clip Zip
 

Offline knopfsocke

  • Member
  • *
  • Posts: 6
Re: Files in MicroSD card aren't being shown in File Browser or Database on Clip+
« Reply #42 on: March 21, 2011, 06:23:14 PM »
@bertrik, thanks for your svn commits. is it also possible to make the changes vor AMSv1 ? I wrote about the sambe problems with SD-Initialization in my postings before.

thanks!!!
Logged

Offline Bribaba

  • Member
  • *
  • Posts: 7
Re: Files in MicroSD card aren't being shown in File Browser or Database on Clip+
« Reply #43 on: April 27, 2011, 05:08:38 AM »
16gb SD card not showing up in the RB version downloaded yesterday. It worked fine with the OF. Is there a solution to this problem?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Files in MicroSD card aren't being shown in File Browser or Database on Clip+
« Reply #44 on: April 27, 2011, 11:44:11 AM »
Quote from: Bribaba on April 27, 2011, 05:08:38 AM
16gb SD card not showing up in the RB version downloaded yesterday. It worked fine with the OF. Is there a solution to this problem?

Which revision are you running?
Logged

  • Print
Pages: 1 2 [3] 4
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Files in MicroSD card aren't being shown in File Browser or Database on Clip+
 

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

Page created in 0.113 seconds with 14 queries.