Arduino from ATmega16u2 back to an normal arduino

Ive used an external program named 'UnoJoy' I turned my arduino uno into an Joystick using 'FLIP', now i want to go back and use it as an normal arduino but i can't get it back. Can someone help me please?

It helps if you tell us which Arduino board you have.

Oh, sorry i have an arduino uno

You will have to burn the original firmware to the 16U2; you should be able to do that with Flip. For a Windows system, you can find it in
C:\Users\yourUsername\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\firmwares\atmegaxxu2
or
C:\Program Files (x86)\Arduino\hardware\arduino\avr\firmwares\atmegaxxu2

Notes:
Change "-cusbasp" to match your ISP device.
If your board has the older ATmega8u2, use "-pm8u2" instead of "-pm16u2"

Change Directory to the Arduino "hardware" directory.

On Windows it is something like:
cd "C:\Program Files (x86)\arduino-1.6.13\hardware\"

On a Mac it is something like:
cd "/Applications/Arduino.app/Contents/Java/hardware/"

// MEGA update 16u2
tools/avr/bin/avrdude -Ctools/avr/etc/avrdude.conf -pm16u2 -Pusb -cusbasp -Uflash:w:arduino/firmwares/atmegaxxu2/arduino-usbdfu/MEGA-dfu_and_usbserial_combined.hex -Ulfuse:w:0xFF:m -Uhfuse:w:0xD9:m -Uefuse:w:0xF4:m -Ulock:w:0x0F:m

// UNO update 16u2
tools/avr/bin/avrdude -Ctools/avr/etc/avrdude.conf -pm16u2 -Pusb -cusbasp -Uflash:w:arduino/firmwares/atmegaxxu2/arduino-usbdfu/UNO-dfu_and_usbserial_combined.hex -Ulfuse:w:0xFF:m -Uhfuse:w:0xD9:m -Uefuse:w:0xF4:m -Ulock:w:0x0F:m

Sorry, I have very limited knowledge about this. Could you explain it in more detail

I solved it by downloading Flip again but this time with an included version of JRE
https://www.microchip.com/en-us/development-tool/FLIP

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