betrusted-io / xous-core

The Xous microkernel
Apache License 2.0
532 stars 85 forks source link

mirroring USB update performance issue from wishbone-util fork #69

Closed bunnie closed 2 years ago

bunnie commented 3 years ago

Please see https://github.com/betrusted-io/wishbone-utils/issues/1 to track performance issues of USB updates on AMD hosts versus Intel hosts.

bunnie commented 3 years ago

issue is confirmed to be independent of Rust with introduction of the usb_update.py script. Could be a problem with libusb, but more likely a chipset issue on AMD.

bunnie commented 2 years ago

closing this issue; I don't think there is a way to improve it because it's linked to the inherent poll rate set for control packets in the USB stack, and it's not a parameter that's tunable via the USB api. it's implementation-dependent, and some platforms just have a slower poll rate. You can adjust the poll rate for other packets, but not control packets, as far as I can see from the descriptor spec.