Author Options:

Arduino stuck in dfu mode Answered

Hello, I recently updated the firmware on my areduino uno. It is this model, "

              Product ID: 0x2ff7
              Vendor ID: 0x03eb  (Atmel Corporation)
              Version: 0.00
              Speed: Up to 12 Mb/sec
              Location ID: 0xfd140000 / 4
              Current Available (mA): 500
              Current Required (mA): 100
              Extra Operating Current (mA): 0
I put the arduino in dfu mode, then upgraded it with the firmware in the package contents of the arduino app of a mac. I typed in dfu-programmer AT90USB82 erase and it worked well, Then dfu-programmer AT90USB82 flash /Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/firmwares/atmegaxxu2/UNO-dfu_and_usbserial_combined.hex.
That also worked, then finally dfu-programmer AT90USB82 reset. It worked fine last night and this morning, but I found it would not take the code meant for a Leonardo board. I put my board in dfu mode again, then when I went to push the firmware again it would not take it saying it was already installed. I did use the erase command first though. Now my arduino is stuck in dfu mode. Will it just reset itself after a while? I have left it unplugged for an hour and the sketch book still won't show it's port.


The forums are retiring in 2021 and are now closed for new topics and comments.

Best Answer 4 years ago

Why would you Risk or want to update the firmware that usually takes more space and any slightest weak bit error cannot be reversed ?


Answer 4 years ago

I need the hid capability for a project.


Answer 4 years ago

a) You never flash anything that is not confirmed to properly work on your platform.
b) It makes much more sense to upload a sketch instead of a hex file.

Reason for by is quite obvious seeing the trouble you are facing now...
Might be easier to buy a cheap replacement or to get a dedicated programmer to flash hex files....
You also need to consider that within the hex file the author might have just set the flags and fuses to prevent someone from changing anything once flashed ;)