Thu Jun 4 14:01:29 CEST 2009
The problem with USB is that it is a bit of an all-or-nothing
protocol. Incremental development is hindered by not being able to
access the host side's primitives directly. You just have to set it
up and let it go through a sequence.
It has this in common with physical real-time systems. Because you
can't stop or slow time, often you just have to setup a test rig and
log the behaviour for later analysis.
Now, simulation does make this easier.. Is it possible to run the
linux side of the chain in a step-by-step way using qemu or so? Seems
to be difficult to set up. Probably logging is the better