Open mcuee opened 2 years ago
The fix is also present in the above avrdude issue -- to rebuild the DFU firmware using the repo here. https://tewarid.github.io/2016/08/09/arduino-usb-dfu-firmware-from-scratch.html https://github.com/tewarid/arduino-usb-dfu
You can refer to more test results here (including the updated hex files)
Ref: https://github.com/avrdudes/avrdude/issues/1043 Ref: https://support.arduino.cc/hc/en-us/articles/4408887452434-Flash-USB-to-serial-firmware-in-DFU-mode
There is a FW issue with the ATmega16U2 DFU firmware (or the combined DFU+USB serial FW) here. The issue is that it is not able to read the device signature properly. https://github.com/arduino/ArduinoCore-avr/tree/master/firmwares/atmegaxxu2
Symptom -- using avrdude flip1 programmer.
BTW, dfu-progammer works ok. I guess it does not really read the device signature.