Problem burning bootloader: did not finError while burning bootloader

Hello humans,

I have an OG Arduino Uno R3 which I assumed I had fried the 328P on. Uploads didn't work anymore and I was unable to fix it.

Bought a new 328P with bootloader from Adafruit. Plugged it in, tried to upload blink - nothing. Now I'm trying to burn the bootloader using a Mega 2560 clone, but I get this error:

C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -cstk500v2 -Pusb -e -Ulock:w:0x3F:m -Uefuse:w:0xFD:m -Uhfuse:w:0xDE:m -Ulfuse:w:0xFF:m 

avrdude: Version 6.3-20190619
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"

         Using Port                    : usb
         Using Programmer              : stk500v2
avrdude: usbdev_open(): did not finError while burning bootloader.
d any USB device "usb" (0x03eb:0x2104)

avrdude done.  Thank you.

Triple-checked the connections, they seem fine (Guide).

Anyone have an idea what that means?

Current state:

  • Loopback test OK (on both old and new 328, which is good since that shouldn't influence the thing anyways), so 16U2 is fine
  • Both LEDs flash on upload, but it times out (thanks Arduino for those generic error messages. Almost like trying to debug "forgetting a closing bracket")

Hi @anon10974332. This error indicates you have selected the wrong programmer from the Arduino IDE's Tools > Programmer menu. You need to select Tools > Programmer > Arduino as ISP. Despite the similar name, the "ArduinoISP" programmer is something completely different.

Oh my... Must have read over that. A little embarrassing considering this is by far not my first time doing this. Well, it seems to have worked. Thank you very much

You're welcome. I'm glad to hear it's working now.

It's confusing because the the sketch to turn an Arduino board into an "Arduino as ISP" programmer is named "ArduinoISP", yet the "ArduinoISP" programmer doesn't even use that sketch.

Enjoy!
Per

Well, I completely skipped the 'Set programmer' step. Mine was still AVRISP mk2.

Upload still doesn't work, tho. Well, I'll keep on trying

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.