PaulStoffregen / USBHost_t36

USB Host Library for Teensy 3.6 and 4.0
171 stars 87 forks source link

Fix certain USB flash drive usage failures. #114

Closed wwatson4506 closed 1 year ago

wwatson4506 commented 1 year ago

Found "msReset()" was causing certain USB flash drives to fail to initialize and/or read/write. Several SanDisk devices have been proven to fail because of this.This could possibly be due to clearing default power on settings. Commented out "msReset()". Also extended the two timeouts in "msc.h" to 5000ms each. Needed for some SSD drives and SD card readers.

KurtE commented 1 year ago

@wwatson4506 @PaulStoffregen Would be good to pick this one up as it has helped make several USB drives work, that are failing after calling msreset.

Longer term we probably need to add the support to unstall a pipe.