I usually use WiFi or Ethernet to communicate with my devices but I have now been forced to use USB since the h1915 doesn't support much else (at least not yet, and possibly never will).
Does anyone have any insights into why USB is so slow? It seems to have both high latency and a rather low bandwidth. The latency creates the biggest problems when debugging (I think) because the debugger queries the device for lots of small pieces of information with multiple queries.
It's also possible that the high latency results in the perceived low bandwidth.
So the question is: Is USB slow because the USB hardware that comes with the XScale is kind of slow or is there some other reason?
From what I've seen it seems that when using USB you are doing something like TCP/IP over PPP over RS232 over USB.
I'm thinking about doing somekind of bandwidth and latency test by programming the XScale USB hardware directly and writing something for WindowsXP on the other end. (Maybe it would be easier to do the test with Linux on the desktop...)
If the slow bandwidth and high latency are not caused by the hardware I guess it would be possible to write something that looks like a network adapter to windows ce which communicates directly over the USB hardware with something on the desktop that also looks like a network adapter. This may require some work, especially on the desktop... But, if it would help a lot it could be worth it...
Has anyone played around with something like this?
Does anyone have any insights into why USB is so slow? It seems to have both high latency and a rather low bandwidth. The latency creates the biggest problems when debugging (I think) because the debugger queries the device for lots of small pieces of information with multiple queries.
It's also possible that the high latency results in the perceived low bandwidth.
So the question is: Is USB slow because the USB hardware that comes with the XScale is kind of slow or is there some other reason?
From what I've seen it seems that when using USB you are doing something like TCP/IP over PPP over RS232 over USB.
I'm thinking about doing somekind of bandwidth and latency test by programming the XScale USB hardware directly and writing something for WindowsXP on the other end. (Maybe it would be easier to do the test with Linux on the desktop...)
If the slow bandwidth and high latency are not caused by the hardware I guess it would be possible to write something that looks like a network adapter to windows ce which communicates directly over the USB hardware with something on the desktop that also looks like a network adapter. This may require some work, especially on the desktop... But, if it would help a lot it could be worth it...
Has anyone played around with something like this?