>>>> "Dwight" == Dwight K Elvey
<dwight.elvey at amd.com> writes:
Dwight> Hi Not only should it pad the empty space but it should also
Dwight> write the buffer values that may have been read if it was
Dwight> just a crc error on the data portion. These are often just
Dwight> missing one bit and can be recovered with a little bit of
Dwight> work.
That's a great idea if the OS drivers do that. Typically they do not;
if an error is returned then data is not returned. What you're
looking for here is a "give me the bits that came across anyway"
feature. Come to think of it, you also need hardware that offers this
-- some do, some don't.
Analogous example in networking: Ethernet drivers and/or NICs
normallly discard bad packets, but some drivers and NICs can be told
not to do that and deliver packets even if the CRC is bad.
paul