Rockbox Development > New Ports
SanDisk Sansa c200v2, m200v4, clipv1, clipv2, clip+, and fuzev2
FlynDice:
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.
daniel_at:
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: ---*PANIC* microSD init failed: -9
--- End code ---
(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: ---G20D REV 7.12
M=27 O=PH
Blocks: 0x003cd000
Speed: 25MBits/s
Taac: 50.0ms
Nsac: 0clk
R2W:*2
--- End code ---
[/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
FlynDice:
@ 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!
daniel_at:
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
FlynDice:
Still need someone to test FS#10838 on a clip &/or fuze please.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version