There were various issues with the handling of the sequence bit and the handing of sequence bit errors and timeouts. This patch series also moves repeated code sequences to more central places.
While performance optimization was not an objective, some critical delays are small enough that full-speed almost works. E.g., my HHKB Pro is recognized but character loss is frequent. For completeness, the patch series begins with the 4 kB hack and the addition of the trigger. At least the 4 kB hack should be easy to remove when applying to HEAD. I'd suggest to keep the trigger code around for now, because I need it for debugging and it doesn't get in the way (besides looking ugly) when disabled. - Werner Werner Almesberger (10): softusb: 4 kB hack softusb: use OE# of port A for trigger softusb: send SETUP and DATA0 back-to-back softusb: simplify and correct data toggle in control transactions softusb: in SETUP, only use IN data with the right sequence bit softusb: use toggle() also for bulk/interrupt softusb: swap in_reply and out_reply softusb: move all IN transfers to function usb_in softusb: move all OUT transfers to function usb_out suftusb: remove one now unused debug message softusb-input/main.c | 230 +++++++++++++++++++++++++---------------------- softusb-input/navre.ld | 2 +- 2 files changed, 123 insertions(+), 109 deletions(-) _______________________________________________ http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org IRC: #milkymist@Freenode
