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:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  SanDisk Sansa c200v2, m200v4, clipv1, clipv2, clip+, and fuzev2
« previous next »
  • Print
Pages: 1 ... 86 87 [88] 89 90 ... 129

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

Offline FlynDice

  • Developer
  • Member
  • *
  • Posts: 166
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1305 on: December 09, 2009, 01:53:58 AM »
Alright, once again calling all testers.

I especially would like to make sure this runs well on a clip.

This patch changes the assumption for MCLK on the internal pl180 controller from PCLK to IDE_CLK.

Please see http://www.rockbox.org/tracker/task/10838 and leave me some feedback with your results!

Thanks.
Logged
e280v2    fuzev1 2gb   clip+4gb   8GB Transcend cl6 uSD    access to fuzev2 4GB       clip+2gb R.I.P.

Offline daniel_at

  • Member
  • *
  • Posts: 28
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1306 on: December 09, 2009, 04:47:39 PM »
Hi hackers,

I also have problems with a recent SVN (r23905), Fuze V1 and microSD. Just updated the fw and bootloader and now my Fuze cant be switched on with an MicroSD card inserted (Hama 2GB - dont know further details).

The bootloader can load RB, the status-bar (battery, clock...) gets renderd, but instead of the menu the Rockbox-Bootupsplash stays and the device locks up. Sometimes led/background fades out and in at buttonpress, sometimes a full lock up.

If I insert the card while RB is running, I get instantaneously
Code: [Select]
*PANIC* microSD init failed: -9
(and sometimes i get -3; but mostly -9).
So I cant visit the debug-screen, with card inserted.

Without a microSD card inserted, everything works fine.

[Edit]
Just downdated to r23836: Booting with/without and/or later inserting now works. The debug screen says:
Code: [Select]
G20D REV 7.12
M=27 O=PH
Blocks: 0x003cd000
Speed: 25MBits/s
Taac: 50.0ms
Nsac: 0clk
R2W:*2

[/Edit]

[Edit 2]
Some further test: Still using bootloader r23836 but testing different RBs
r23900 is the last one that boots/works on insert
r23901 after this change to ata_sd_as3525.c RB fails again to boot with inserted microSD and Panics at insert

[/Edit 2]

bye,
Daniel
 
« Last Edit: December 09, 2009, 05:25:56 PM by daniel_at »
Logged

Offline FlynDice

  • Developer
  • Member
  • *
  • Posts: 166
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1307 on: December 09, 2009, 10:57:12 PM »
@ daniel_at:

The -9 is a failure during the init stage where the card is being deselected in order to read the csd register.  In the revision that breaks for you I had moved the point where we bring the cards up to operating speed to just after this point so we could look at the speed value from the csd register and set the card frequency appropriately.

If you can build can I get you to try adding a delay to line 336 of ata_sd_as3525.c:

335                  return -8;
336          mci_delay();
337    }

I'll attach a diff also if you'd rather do that.

I think this should work.  The problem you're running into is that the card is now running at 400kHz at this point as opposed to 31 MHz before.

Let us know how you make out!
* delay_after_deselect.txt (0.5 kB - downloaded 152 times.)
« Last Edit: December 10, 2009, 01:47:38 AM by FlynDice »
Logged
e280v2    fuzev1 2gb   clip+4gb   8GB Transcend cl6 uSD    access to fuzev2 4GB       clip+2gb R.I.P.

Offline daniel_at

  • Member
  • *
  • Posts: 28
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1308 on: December 10, 2009, 05:10:51 AM »
Hello FlynDice,

Thx for the quick response - seems youre right. I added the delay, now booting and inserting is possible again, without crashing.

Further I noticed that in the debug screen, my microSd card is now listed with Speed: 50MBit/s (where it had only 25M with the previous build)

Filelisting and playing is also working

Thx.
Daniel
Logged

Offline FlynDice

  • Developer
  • Member
  • *
  • Posts: 166
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1309 on: December 10, 2009, 08:46:03 PM »
Still need someone to test FS#10838  on a clip &/or fuze please.
Logged
e280v2    fuzev1 2gb   clip+4gb   8GB Transcend cl6 uSD    access to fuzev2 4GB       clip+2gb R.I.P.

Offline funman

  • Developer
  • Member
  • *
  • Posts: 645
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1310 on: December 10, 2009, 10:50:18 PM »
FlynDice, looks like it is working on both Clip & Fuze

Do you think we'll have to upgrade the bootloaders for 3.5 release after all the modifications you made to SD driver ?
Logged
a wise man said: "a wise man said"

Offline BlastTyrant

  • Member
  • *
  • Posts: 14
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1311 on: December 10, 2009, 10:55:35 PM »
Quote from: FlynDice on December 10, 2009, 08:46:03 PM
Still need someone to test FS#10838  on a clip &/or fuze please.

Just patched r23928 with the diff and tested it out for 20 minutes or so. I did 15 power on/off and let it play for around 15 minutes. I had no issues running it on my Fuze.

IDE is set to 50MHz. Actual shows 49MHz.
SD (internal ?) is running at 25MHz.
8GB cl6 Transcend uSD is running at 31MHz (50.0MBit/s).
1GB cl2 Sandisk uSD is running at 15MHz (25.0MBit/s).
Logged
2GB Fuze v1 + 8GB Transcend Class 6 microSD
1GB c240 v1 + 8GB Transcend Class 6 microSD

Offline FlynDice

  • Developer
  • Member
  • *
  • Posts: 166
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1312 on: December 10, 2009, 11:21:05 PM »
funman

I don't think we would have to but quite honestly you would probably have a better feeling for that than I do.  I'm running a bootloader built off of r23799 right now but I was running off of one from August until just before that.  We would still be overclocking the internal card with the present bootloader but it seems to work fine.  I guess what it comes down to is if we want to spend the time to make it technically correct or is the fact that it "just works" good enough?

Once again , thanks all for the testing!
« Last Edit: December 10, 2009, 11:22:53 PM by FlynDice »
Logged
e280v2    fuzev1 2gb   clip+4gb   8GB Transcend cl6 uSD    access to fuzev2 4GB       clip+2gb R.I.P.

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1313 on: December 10, 2009, 11:57:26 PM »
We don't even know what the internal memory is speced for, so if its working I wouldn't worry too much about trying to conform to some spec that may not even apply.
Logged

Offline FlynDice

  • Developer
  • Member
  • *
  • Posts: 166
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1314 on: December 13, 2009, 11:10:02 AM »
Well, I have finally managed to get 4 bit widebus working  ;D !!

I had to fly all night though so I'm going to get some shuteye and clean it up when I'm a little more coherent.

In order to head off kugel's question I'll post the speed tests now.  UNS = UNALIGNED_NUM_SECTORS


http://pastie.org/741378
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 #1315 on: December 13, 2009, 11:20:27 AM »
Nice, it shows some decent speed ups! But only for reads (create/write is still slow)? That seems strange.

SVN has gotten pretty slow?

BTW, my fuze stopped working. It just doesn't turn on anymore. The last time I used it was thursday. I turned it off normally after listening to radio.
« Last Edit: December 13, 2009, 11:22:13 AM by kugel. »
Logged
 

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1316 on: December 13, 2009, 11:54:41 AM »
Quote from: kugel. on December 13, 2009, 11:20:27 AM
Nice, it shows some decent speed ups! But only for reads (create/write is still slow)? That seems strange.

The 1MB write is basically 4x faster, so its probably just a limitation of the internal memory controller for smaller writes, since those often involve lots of costly copying and rewriting of sectors.

Quote from: kugel. on December 13, 2009, 11:20:27 AM
BTW, my fuze stopped working. It just doesn't turn on anymore. The last time I used it was thursday. I turned it off normally after listening to radio.

Want my Clipv2 to play with ;)
Logged

Offline kugel.

  • Developer
  • Member
  • *
  • Posts: 271
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1317 on: December 13, 2009, 11:58:39 AM »
Quote from: saratoga on December 13, 2009, 11:54:41 AM
Quote from: kugel. on December 13, 2009, 11:20:27 AM
Nice, it shows some decent speed ups! But only for reads (create/write is still slow)? That seems strange.

The 1MB write is basically 4x faster, so its probably just a limitation of the internal memory controller for smaller writes, since those often involve lots of costly copying and rewriting of sectors.
Where are those writes faster? They are only faster with a bigger buffer (64 UNS). And they're slower without compared to my tests I made a while back (see FS#10805)

Quote
Quote from: kugel. on December 13, 2009, 11:20:27 AM
BTW, my fuze stopped working. It just doesn't turn on anymore. The last time I used it was thursday. I turned it off normally after listening to radio.

Want my Clipv2 to play with ;)

No thanks, I have a FuzeV2 rotting around myself :)
Logged
 

Offline DavidW

  • Member
  • *
  • Posts: 5
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1318 on: December 15, 2009, 10:14:30 AM »
For the last two days, I have been having trouble with the database on my Fuze V1.  It will initialize properly, but later I get a database is not ready error.  When I try to initialize again it fails with some write error to the internal flash disk.  (Sorry I can't give the exact error now I am not sure I want to intentionally cause this to happen again.)  If I run scandisk on the internal disk it seems to fix everything but a couple of time it left files I could not delete on the disk.  These files finally went away when on one occasion the entire .rockbox directory was corrupted. 

Can anyone tell me if this is an issue with my player or is it a software problem?  I am currently using r23989-091214.

Thanks,
David
Logged

Offline FlynDice

  • Developer
  • Member
  • *
  • Posts: 166
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #1319 on: December 15, 2009, 02:05:09 PM »
@DavidW:

Sorry to hear about the problems.  A couple of days ago I put in the change for 4 bit widebus on the SD cards so that may be a possible culprit here but you would be the first reporting problems.  I'm working with an e280v2 and I have just initialized my database and rebooted to commit it and it is functioning normally for me.

I would try the following:

In the .rockbox folder you should find several files named database_(X).tcd.  X runs 0-8 and theres an idx also.  Delete those and try to reinitialize the database.

If that doesn't work I would try formatting the internal disk with the OF and then reinstalling.

If that fails then copy down your steps to reproduce this and any error messages and let us know.

Good Luck!
Logged
e280v2    fuzev1 2gb   clip+4gb   8GB Transcend cl6 uSD    access to fuzev2 4GB       clip+2gb R.I.P.

  • Print
Pages: 1 ... 86 87 [88] 89 90 ... 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.118 seconds with 16 queries.