Rockbox Development > New Ports

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

<< < (326/386) > >>

kugel.:
It's possible that r25770 fixed the microsd problems for some of you.

bilditup1:
Funman - the change you suggested appears to have worked perfectly, both if the card was already in at startup and on insertion. You can go ahead and patch it in. (This was tried with the latest build, 25791).

-e

kugel.:
What about the latest build without funman's change? I committed a fix which potentially solves the problem. If it doesn't it would be helpful if you change the "udelay(1000)" so that it fits your cards (e.g. maybe higher it until your cards work).

bilditup1:
If you're referring to changes you made in 25770, I tried it without success. Did you change anything since then in 25791?
What is the technical issue here? Why is it preferable to supply udelay with a higher or lower number than just sleep(1)?

kugel.:

--- Quote from: bilditup1 on May 03, 2010, 06:50:20 AM ---If you're referring to changes you made in 25770, I tried it without success.  Did you change anything since then in 25791?
--- End quote ---
Yes, I meant that. And no I haven't made further changes.

--- Quote ---What is the technical issue here? Why is it preferable to supply udelay with a higher or lower number than just sleep(1)?

--- End quote ---

Sleep(1) is 10 times longer. Delays should be as low as possible since they block other tasks (although sleep() only blocks the current one), forcing the cpu to do nothing.
I'm also curious why udelay(1000) doesn't work, since I calculated the 1000 from the old delay which worked for everyone.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version