Rockbox Development > New Ports

SanDisk Sansa c200v2, m200v4, clipv1, clipv2, clip+, and fuzev2

<< < (215/386) > >>

saratoga:

--- Quote from: unemongod on July 08, 2009, 07:02:43 PM ---Also, I have noticed that the USB code does not differentiate between power and data connections,

--- End quote ---

Thats because we don't have a USB stack yet, so we don't have anyway to tell if a voltage on the USB lines is a device or a charger.


--- Quote from: unemongod on July 08, 2009, 07:02:43 PM ---I am also concerned that the fs is not being committed and closed cleanly when this happens.  Does rockbox use a sync or async filesystem?

--- End quote ---

Rockbox uses FAT or FAT32 depending on volume size and how you've formatted it.  Why are you concerned thats its not closed correctly?

funman:

--- Quote from: unemongod on July 08, 2009, 07:02:43 PM ---Also, I have noticed that the USB code does not differentiate between power and data connection
 Does rockbox use a sync or async filesystem?

--- End quote ---

press center btn while connecting usb & rockbox will charge without rebooting

afaict rockbox uses sync filesystem but some storage i/o is multithreaded so the fs could be corrupted... in rare cases anyway

Hillshum:

--- Quote from: FlynDice on July 08, 2009, 06:49:08 PM ---@Hillshum:

Have you tried reformatting the card?  I have had what sounds like the same problem and formatting the card made it work again.  This was pre voltage-scaling times i'm talking about now.


--- End quote ---

It works now. Sorry for forgetting to reformat and then bothering you all

JdGordon:
* JdGordon is rather late to the party...
funman, am I correct that buttons in the same column cant be used together as combos? i.e home+up on the clip?

FlynDice:
re:voltage scaling

Well, I've tracked it all the way down to bit 31 of the OCR register of the uSD card: Card power up status bit, line 279 of ata_sd_as3525.c.  I tried upping the max tries to 500 with no luck.

   "2) This bit is set to LOW if the card has not finished the power up routine."

So the card is not able to finish the power up routine with the processor core voltage at 1.05 and for some of us 1.10 it seems.  I cannot find anywhere in the datasheet where it would hint that CVDD would affect PVDD or IOVDD where I would assume we're drawing power for the SD card from.  There are settings for both of these peripheral voltages(AS3514_SYSTEM) but we leave them at their default(higher voltage) settings as far as I can tell.

I'll toil away a bit longer on this I guess.

Of course I'm learning all this as I go so please speak up if you've got a suggested direction to follow!

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version