On 22.01.2010 03:53, Carl-Daniel Hailfinger wrote:
On 22.01.2010 03:44, Carl-Daniel Hailfinger wrote:
Add write support. Speed up reads by a factor of 4 by switching block size from 4 to 16. Add support for 4 byte RDID.
Add USB error decoding via usb_strerror as well.
and committed in r879.
Just FYI. What's currently in the tree may be slow, but it should work reliably for reads and writes, and be 4x faster than the old code. I expect 5-10 minutes for read and erase (because erase does a read to verify), and too long (40 minutes, maybe more, maybe less) for write. Write hasn't seen any optimization yet.
16 byte non-opaque transfers still have to be figured out on the new
SF100 software/firmware. Does the new software/firmware have any size limitations for user-defined command streams? If not, a USB log of sending "03 00 00 00" and receiving 32 bytes, and a log of the same sequence receiving 64 bytes, both with the new firmware, would be very helpful.
Regards, Carl-Daniel