
Markus and List,
I think I got it...
--- tike64 wrote:
--- Markus Klotzbücher wrote:
tike64 writes:
Now I don't understand how transactions can fail with 6 or 5 occasionally. Are sticks known to be unreliable or should I suspect my hardware? What should be done after that kind of failure?
It seems to me now that this is hardware problem in sticks or our HW or both. But nevertheless, failed transactions can be simply retried.
Can you test different sticks to see if that makes any difference?
They indeed are different. Some fail occasionally with wrong PID bits and some with CRC errors and so on. I saw one combination of stick and hub where I couldn't get any errors at all.
Meanwhile, I added retries also in case of those errors. I do the retry with the remaining data of the transaction. Now it seems to
pass
over the original error with a couple of retries but then fails with
8
(data overrun) permanently ... to-be-continued-tomorrow
Retries were working properly but after that program logic error led to the data overrun error. I fixed it and now it seems to work reliably.
I have tested it with several memory sticks (Kingston, Toshiba, SanDisk and no-name) by repeatedly loading 165K file and comparing it each time with an image loaded with tftpboot.
How do I proceed to upload the file (isp116x-hcd.c) for review and public consumption?
--
Timo
____________________________________________________________________________________ Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. http://mobile.yahoo.com/go?refer=1GNXIC