cr1901 / prog-vb

Command Line Virtual Boy Flash Cart (FlashBoy) Programmer
MIT License
8 stars 0 forks source link

USB 2 compatibility? #1

Closed KR155E closed 5 years ago

KR155E commented 5 years ago

Testing on Windows 10 with a FlashBoy Plus, I kept getting error messages when using a USB 2 port:

"Error: hidapi error: Der E/A-Vorgang wurde wegen eines Threadendes oder einer Anwendungsanforderung abgebrochen."

(Through Google Translate: "Error: hidapi error: I / O operation was aborted due to thread end or application request.")

After I switched from USB 2 to USB 3, it worked just fine.

cr1901 commented 5 years ago

FlashBoy only uses USB Full Speed; it should be happy even in a USB 1.1-only port. And of course it "works on my machine :P".

Clearly that isn't helpful to you. FlashBoy should be working in your USB 2.0 port; I need to return superior error messages to know where hidapi is dying.

@KR155E Do you have rustc installed, and are you capable of building your own copy of prog-vb? I can enable backtraces to get more info...

KR155E commented 5 years ago

Nevermind, @cr1901! It appears my machine's front panel USB2 port is faulty. I tried it with a few different ones on the back as well as another one that's part of a multi card reader, and they worked fine. :-)

cr1901 commented 5 years ago

@KR155E Excellent, glad you were able to solve the issue :).

Just for future reference, would you be willing to build your own copy of prog-vb for testing if problems should arise?

This program isn't that big; I should add the backtrace feature anyway just in case...

KR155E commented 5 years ago

Sorry, I don't think I can find the time to look into setting up a Rust building pipeline. :-/