ZakKemble / AVRDUDESS

A GUI for AVRDUDE
https://blog.zakkemble.net/avrdudess-a-gui-for-avrdude/
GNU General Public License v3.0
596 stars 129 forks source link

Unable to detect Atmel-ICE in ISP Mode. Right drivers installed #82

Closed dzalf closed 10 months ago

dzalf commented 10 months ago

For the life of me, I cannot get AVRDUDESS to detect and work with ATMEL-ICE programmer.

image

I correctly installed the libusb32 drivers using the Zadig tool.

Interestingly, I am able to program the bootloader and code using platformio.

What is happening?

image
ZakKemble commented 10 months ago

Heya, try deleting the contents in the Port (-P) box, so it's just blank.

dzalf commented 10 months ago

Hi @ZakKemble

Thanks for your prompt response.

Unfortunately, it didn't work. Still unable to communicate with the programmer

image

I still don't get it. The hardware VID and PID are correct to me:

image
ZakKemble commented 10 months ago

Are you able to get the command line args that works with platformIO? What version of avrdude are they using? I think this might be more of an issue with avrdude rather than this GUI. https://github.com/avrdudes/avrdude

dzalf commented 10 months ago

Well, this is getting weird.

Could it be related to different versions being used by the pio environment and the avrdudess GUI?

I located the tool-avrdude folder from platformio and ran the same command as in the GUI console and got what I expected:

image

While the command line shows the ATMEGA2560 being detected, the GUI simply cannot communicate

dzalf commented 10 months ago

Yep! My suspicions were right. I believe that there is an issue with the avrdude executable packed with the latest version of this GUI.

I pointed at the executable from the platformio folder and I was able to detect the MCU!

image image
ZakKemble commented 10 months ago

Yea, I would raise this at https://github.com/avrdudes/avrdude since there's nothing I can do here.

dzalf commented 10 months ago

Got it. Thank you for your support, though.

Best wishes and thank you for the amazing work with avrdudess!

dzalf commented 10 months ago

Just one last question. Is the AVRDUDESS GUI always compiled from the latest avrdude branch? In other words, you have nothing to do with the executable packed with the GUI, correct?

ZakKemble commented 10 months ago

Correct, I have nothing to do with avrdude. I just ship the GUI with whatever the latest version of avrdude is at the time.

ZakKemble commented 10 months ago

Oh I just remembered this issue #62 which might have some clues.

dzalf commented 10 months ago

Oh I just remembered this issue #62 which might have some clues.

I did check that issue before, however, I tried with multiple drivers with no luck 😕

mcuee commented 10 months ago

@dzalf

You should not use libusb-win32 device driver for Atmel-ICE. You should use native Windows USB HID device driver.