Rockbox Development > New Ports

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

<< < (218/386) > >>

mc2739:

--- Quote from: funman on July 11, 2009, 06:30:12 PM ---Can you check if the command fails because of a timeout or something else ? Just add panicf() in send_cmd() before the places where it return false.

--- End quote ---

The command fails with MCI_CMD_TIMEOUT (status = 4)

funman:
Can you modify send_cmd to retry on error (at least 1 time) and see if it will eventually succeed?

mc2739:

--- Quote from: funman on July 12, 2009, 09:20:28 AM ---Can you modify send_cmd to retry on error (at least 1 time) and see if it will eventually succeed?

--- End quote ---

I tried this and still get the same timeout, although I'm not positive I did the retry properly.

funman:
The SD spec says that if a command CRC check fails the card will not change its state, and no error recovery procedure is described (I understand that sending the command should be retried)

For some reason the transfer line will not function properly (see this post about data transfers).

Can you attach your diff here so we can check if it's correct?

mc2739:

--- Quote from: funman on July 12, 2009, 06:47:21 PM ---Can you attach your diff here so we can check if it's correct?

--- End quote ---

Here is the diff I used to test (I had to rename to .txt to attach)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version