Alan Stern wrote:
On Fri, 11 Nov 2005, Aras Vaichas wrote:


Hi,

my test department tells me that they need to perform immunity tests on the hardware and therefore I will need to collect statistics on the USB data being transferred.

... SNIP ...
*(h) For production testing, we would want to send a fixed amount of data, and check the raw and net error rates.

Send the data where?  Do you have a fixed testing device in mind?

The embedded board we are building has a 1x USB device port and 2x USB host ports. I use a USB A-to-B cable to use it to test itself.


Can you please add a 'raw and net bit error count' monitoring output. This will allow monitoring of the errors on a second by second basis


I don't understand the difference between "raw" and "net" errors. And like I said, bit error counts are not available, only packet errors. And not all of those.

I think they meant raw = "bit errors", net = "data did not arrive at all" (within some timeout period). Bit errors would be reported "somewhere" and other errors would be handle by my test application at the highest level.

The test department want to be able to zap the USB cable/plugs/sockets with a high voltage surge and then be able to see how the "system" copes with electrical discharges in the form of error statistics. These statistics then form the test results for the ESD immunity documentation. Something like that.


It's not always clear which category an event should fall into.  If a data
transfer is refused and delayed because the peripheral device isn't ready,
should that count as an error, a error that was retried, or a success?

Too true. I prefer to report that the data was either a) sent, b) not sent within a certain time. Much easier to perform from a shell script.

Thank you for the thorough answers. It has helped greatly.


regards,

Aras Vaichas


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to