Stuck in DFU Mode Arduino Uno while converting it into a HID

So basically I was tryna convert Arduino Uno into a HID device. For that, I uploaded my program and flashed the Atmega16u2 chip with the keyboard hex and I did it couple of time, frequently changing my code. Then suddenly my Arduino got stuck in DFU Mode. I checked device manager, it could show me the Atmega16u2 driver, which confirms it's stuck in DFU Mode. I tried burning boot loader and etc but it doesn't work. Even the dfu-programmer tool says no device available.

Can anyone please help me ASAP? I gotta submit my project soon.

Thank you in Advance.

Hi @Parthpawde.

Try this:

  1. Make an electrical connection between the GND and RESET pins on the ATmega16U2's ICSP header:


    📷

    Uno-front-DFU-reset.png by Arduino - CC BY-SA 4.0

  2. Remove the electrical connection between the GND and RESET pins on the ATmega16U2's ICSP header.

  3. Check to see if dfu-programmer now recognizes the ATmega16U2's DFU device.

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