6 lines
174 B
Text
6 lines
174 B
Text
|
dfu-programmer atmega16u2 erase
|
||
|
dfu-programmer atmega16u2 flash Arduino-usbserial-atmega16u2-Mega2560-Rev3.hex
|
||
|
echo 'Disconnect Arduino now'
|
||
|
|
||
|
dfu-programmer atmega16u2 reset
|