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
|-+  Rockbox Development
| |-+  New Ports
| | |-+  SanDisk Sansa c200v2, m200v4, clipv1, clipv2, clip+, and fuzev2
« previous next »
  • Print
Pages: 1 ... 69 70 [71] 72 73 ... 129

Author Topic: SanDisk Sansa c200v2, m200v4, clipv1, clipv2, clip+, and fuzev2  (Read 1337526 times)

Offline mc2739

  • Developer
  • Member
  • *
  • Posts: 262
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1050 on: July 04, 2009, 10:16:40 AM »
My card is a 4GB SanDisk brand. The player is an e260v2.

I also found that if I boost the CPU through the System -> Debug -> CPU Frequency screen and then insert the msd card, it works properly and can see all files on the card.  As long as the CPU stays boosted (i.e. CVDDP is 1.2V) the card will work.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1051 on: July 04, 2009, 10:47:14 AM »
Apparently voltage scaling is responsible for breaking SD access on some Clips as well (thanks for dfkt for bug report).  We should probably revert it for now until we have a good fix and can have more people test it.
Logged

Offline Hillshum

  • Member
  • *
  • Posts: 108
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1052 on: July 04, 2009, 06:18:45 PM »
Quote from: sko on July 03, 2009, 09:16:39 AM


Thats my opinion too. I'm very happy with my e250v2, everything works fine! Really a great job! I'm currently testing everything, but nearly no issues so far. I had one data abort with the following conditions:
  • playlist with mp3 files followed by ogg files
  • last mp3 was on the last 10 % of time
  • I skipped the track and instead of playing the ogg file the player showed data abort
I'm getting about the same on my e200v2. It happens anytime a song of one codec ends and the thing tries to start the next song of a different codec. So far I've tried wma, ogg, and mp3. What happens varies. Sometimes I get a data abort message, sometimes a prefetch abort, sometimes it locks up and takes a hard reset (though some threads remain active).
Here's the two data abort addresses I wrote down:
6f6c4120
62694c20
PM me for my rockbox.elf

Edit: I can switch songs halfway through just fine (even with crossfade)
« Last Edit: July 04, 2009, 08:15:17 PM by Hillshum »
Logged

Offline funman

  • Developer
  • Member
  • *
  • Posts: 645
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1053 on: July 04, 2009, 06:58:24 PM »
Quote from: saratoga on July 04, 2009, 10:47:14 AM
Apparently voltage scaling is responsible for breaking SD access on some Clips as well (thanks for dfkt for bug report).  We should probably revert it for now until we have a good fix and can have more people test it.

I thought FlynDice has a fix for that?

Quote from: Hillshum on July 04, 2009, 06:18:45 PM
Quote from: sko on July 03, 2009, 09:16:39 AM


Thats my opinion too. I'm very happy with my e250v2, everything works fine! Really a great job! I'm currently testing everything, but nearly no issues so far. I had one data abort with the following conditions:
  • playlist with mp3 files followed by ogg files
  • last mp3 was on the last 10 % of time
  • I skipped the track and instead of playing the ogg file the player showed data abort
I'm getting about the same on my e200v2. It happens anytime a song of one codec ends and the thing tries to start the next song of a different codec. So far I've tried wma, ogg, and mp3. What happens varies. Sometimes I get a data abort message, sometimes a prefetch abort, sometimes it locks up and takes a hard reset (though some threads remain active).
Here's the two data abort addresses I wrote down:
6f6c4120
62694c20
PM me for my rockbox.elf

Since 0x6******* is not a correct address on AMS, this clearly shows a bug in SD driver (when the codec is transferred from storage to RAM) / or memory corruption but this one is unlikely.
Logged
a wise man said: "a wise man said"

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1054 on: July 04, 2009, 07:01:20 PM »
I can confirm the codec bug but I get 0x3067C528.

Edit:  bah no .map files for svn builds anymore, i'll repeat it now for a local build so i can see what function that is.

Edit2:  Using my own build switching from MP3 to Vorbis gives 0x3067C648, which is in codec_main().  Random guess: we're not flushing something correctly when loading the codec.

Edit3:  We don't flush the icache when loading a new codec as far as I can tell.  This is a problem on ARM9 since:

Quote
Secondly the split cache introduces problems with self modifying code being first executed, then treated as data, manipulated and an attempt is then made to execute the altered code before it is flushed from the instruction cache.

Such code fragments will break.

Basically the instruction and data caches are not coherent, so I think we need to handle flushing the icache.
« Last Edit: July 04, 2009, 07:18:23 PM by saratoga »
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1055 on: July 04, 2009, 07:32:35 PM »
Flushing the icache before calling codec_main fixes this problem for me.  I'll see about committing it now.

Edit:

Should be fixed in SVN.
« Last Edit: July 04, 2009, 09:18:46 PM by saratoga »
Logged

Offline thund3rman

  • Member
  • *
  • Posts: 3
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1056 on: July 05, 2009, 09:43:32 PM »
Hello,
I own a Sansa Fuze 4GB with an SD card of 4GB also. I've been using rockbox, but now I tried to update to the latest revision and I only get a white screen on boot. Bootloader seems fine because I can boot OF and I can see the first lines in the rockbox boot process. After loading the firmware, I see two or three more lines which I can't read (they scroll too fast) and then the screen turns white.

This happens with or without the SD card. The firmware was compiled following the instructions on the website.

I can't identify the latest working revision because I didn't save a copy, but at least by the time 3.3 was released rockbox worked ok on my Fuze.

Is this a known issue? How can I debug this problem?

Thanks
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1057 on: July 05, 2009, 10:04:08 PM »
Its due to voltage scaling.  I get it sometimes on my Fuze.
Logged

Offline thund3rman

  • Member
  • *
  • Posts: 3
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1058 on: July 05, 2009, 11:02:05 PM »
I get it everytime... Is there a way to fix this or a release which doesn't show the problem?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1059 on: July 05, 2009, 11:17:57 PM »
Quote from: thund3rman on July 05, 2009, 11:02:05 PM
I get it everytime... Is there a way to fix this or a release which doesn't show the problem?

Use an old build or revert the voltage scaling patch.
Logged

Offline FlynDice

  • Developer
  • Member
  • *
  • Posts: 166
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1060 on: July 06, 2009, 01:27:41 AM »
Wow, that'll teach me to go away for the weekend...

For what it's worth I ran the fix that funman committed yesterday all weekend with absolutely no lockups on my e280v2.  I was waiting to see how this would hold up and, for me at least, it has been solid. I played off of my 8Gb microsd with no hiccups at all.  I see from the forum traffic and irc that this has not been the case for a lot of others though.

I cannot argue with Saratoga's recommendation to revert this for now, especially if the fix funman committed yesterday is still causing problems.  The benefit is solely longer runtime and the general useability problems it has been causing seem to outweigh the benefit right now.
Logged
e280v2    fuzev1 2gb   clip+4gb   8GB Transcend cl6 uSD    access to fuzev2 4GB       clip+2gb R.I.P.

Offline kugel.

  • Developer
  • Member
  • *
  • Posts: 271
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1061 on: July 06, 2009, 01:28:50 AM »
Quote from: FlynDice on July 06, 2009, 01:27:41 AM
I cannot argue with Saratoga's recommendation to revert this for now, especially if the fix funman committed yesterday is still causing problems.  The benefit is solely longer runtime and the general useability problems it has been causing seem to outweigh the benefit right now.

Alright, then let's do it.
Logged
 

Offline jago

  • Member
  • *
  • Posts: 7
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1062 on: July 07, 2009, 08:24:51 AM »
For information:

Sansa e260 (r21686)

In rare cases I experience deadlocks or last time a error (flush_fat_sector() could not write sector 479 (error-101)) while I am deleting files/folders on internal SD.
After rebooting I can delete same file/folder without problems.
Logged

Offline epithetless

  • Member
  • *
  • Posts: 195
    • Dour Times
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1063 on: July 07, 2009, 11:39:23 AM »
Quote from: jago on July 07, 2009, 08:24:51 AM
For information:

Sansa e260 (r21686)

In rare cases I experience deadlocks or last time a error (flush_fat_sector() could not write sector 479 (error-101)) while I am deleting files/folders on internal SD.
After rebooting I can delete same file/folder without problems.

Does it still happen with a more recent build (post-r21687, when voltage scaling was disabled)?
« Last Edit: July 07, 2009, 11:41:40 AM by epithetless »
Logged
Rockboxed: Apple iPod 3G â€¢ Apple iPod nano 2G • iriver H120 • Sansa c250 v1 • Sansa Clip v1 • Sansa Clip v2 • Sansa Clip+ • Sansa e280 v1 • Sansa e280v2 • Sansa Fuze v1  |  non-Rockboxed: HTC Incredible [Android 2.2] • Sansa Fuze v2

Offline thund3rman

  • Member
  • *
  • Posts: 3
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1064 on: July 07, 2009, 05:46:51 PM »
Thanks for that, now I can use rockbox again!:D
Logged

  • Print
Pages: 1 ... 69 70 [71] 72 73 ... 129
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  SanDisk Sansa c200v2, m200v4, clipv1, clipv2, clip+, and fuzev2
 

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

Page created in 0.126 seconds with 14 queries.