Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows amd64 binary in "releases" doesn't include USB support #1496

Closed
WestfW opened this issue Aug 28, 2023 · 5 comments
Closed

windows amd64 binary in "releases" doesn't include USB support #1496

WestfW opened this issue Aug 28, 2023 · 5 comments
Labels
question Further information is requested

Comments

@WestfW
Copy link

WestfW commented Aug 28, 2023

The windows binary in the releases area does not seem to have been compiled with USB support.
I'm not sure whether that's intentional, or an oversight.

"c:\Program Files\avrdude\avrdude.exe" -cch341a
avrdude error: no usb support, please compile again with libusb installed
avrdude error: unable to open programmer ch341a on port usb

Hmm. I get different errors with other USB programmers, so this could be more complex than I thought? Maybe it's just a bogus error message, since I have neither ch341a or arduinoisp actually connected...

"c:\Program Files\avrdude\avrdude.exe" -carduinoisp
avrdude error: cannot find USBtiny device (0x2341/0x49)
avrdude error: unable to open programmer arduinoisp on port usb
@mcuee mcuee added the question Further information is requested label Aug 28, 2023
@mcuee
Copy link
Collaborator

mcuee commented Aug 28, 2023

For CH341 it is a known issue that MSVC build does not work.

Please use MinGW64 build. For example, you can try my MinGW64 build here.
https://github.com/mcuee/avrdude/releases/tag/v7.2 (avrdude-v7.2_mingw64.zip)

@mcuee
Copy link
Collaborator

mcuee commented Aug 28, 2023

As for USBTiny, it should work. What is the driver you are using?

If the MSVC build does not work, please try my MinGW64 build here.
https://github.com/mcuee/avrdude/releases/tag/v7.2 (avrdude-v7.2_mingw64.zip)

Is your device USB Composite Device? MSVC build has a known problem with USB Composite Device.

@mcuee
Copy link
Collaborator

mcuee commented Sep 4, 2023

@WestfW

Just wondering if you have any updates? Thanks.

@WestfW
Copy link
Author

WestfW commented Sep 4, 2023

I was just curious, and following up on another user's question.
I don't actually have any hardware that would enable me to provide useful feedback :-(

@mcuee
Copy link
Collaborator

mcuee commented Sep 4, 2023

I see. I will close this issue for now. Please re-open if you have more info. Thanks.

@mcuee mcuee closed this as completed Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants