-
Notifications
You must be signed in to change notification settings - Fork 29
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
avrdude does not recognize picoAVR programmer in USBasp mode. #9
Comments
Do you have a "normal" USBasp? If so, does it work? I'm asking because there can generally be problems with newer versions of Windows (regardless of the USBasp device itself). I only have Linux myself and it works without any problems. |
That's what I suspected too. Unfortunately, I can't really get to the bottom of the matter without a Windows PC. |
That's really strange. If I ever get sufficient access to a Windows PC, I'll look into it more closely. |
perhaps you can use a Windows VM and redirects the picoASP device into the VM to test it? |
I have now tested both the picoAVR and an "original" USBasp on a Windows 10 PC. Neither worked (as you described). Do you have a link to the firmware that you uploaded to your USBasp? Maybe the source code is there, then I can look at what was done differently. |
I got the firmware on this repository and the file link is here. I'm not sure if there's different between this firmware and the original firmware from here. Also, you might need to install a |
Thank you. As soon as I have some time, I will get to the bottom of it. |
Oh, I guess I forgot something ... ;-) |
I desoldered the resistor, and it then worked under Linux. It didn't work with the libusb-win32 driver under Windows, but it did with WinUSB. So I thought, I'll just install the WinUSB driver for the picoAVR as well. To do this, select this driver in Zadig, then click the arrow next to the Install button and select "Install driver". The button text will then change to "Replace driver". After installation, the picoAVR also worked for me under Windows, at least until unplugging and plugging it back in. Then I had to repeat this procedure. Maybe it's due to the WCID. |
So you mean both the USBasp and the picoAVR works fine under Windows using WinUSB driver? If so, I will test it out as soon as I have access to the hardware(I think I can test it a couple weeks later since I'm not at home these weeks.). |
That's certainly possible and another reason against using Windows for MCU software development ;-) "My" Windows: Windows 10 Pro, version 22H2. |
btw, the Windows11 running on this PC has been updated to 22631.3880, but I don't think it's relevant. |
I think this is because the picoASP behaves exactly like a USBasp. In contrast, the picoAVR adds a COM port. This likely causes some confusion for Windows. |
I think so. The serial port disappeared after installing driver for the original usbasp, as the screenshot shows. Something I'm curious is that is your "working" picoASP showing serial port on the PC? |
I hadn't paid any attention to that, I'll try it again soon. |
Hi there.
I made a picoAVR and uploaded the pre-compiled firmware in the repository. A WINUSB device with product name picoAVR and a serial device did show up in the device manager. However, when I attempted to detect a chip with avrdude, it complained
It this problem related to the product name of the programmer? Or special parameter should be added for avrdude?


Thank you!
The text was updated successfully, but these errors were encountered: