Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
avr_bootloader:avrdude [2015/10/17 13:33]
admin created
avr_bootloader:avrdude [2020/06/11 22:13] (current)
Line 1: Line 1:
----- +===== AVRdude ​& Arduino =====
-**AVRdude** +
-----+
  
-AVRDUDE is a command line tool to program AVR chips. It runs in the background of the Arduino IDE. Sometimes ​it is necessary to erase a chip or set the fuse bits that's when the AVRdude comes handy.+AVRDUDE is a command line tool to program AVR chips. It runs in the background of the Arduino IDE. When burning the bootloader on an Arduino clone it is somtimes ​necessary to erase a chip or set the fuse bits manualy - that's when the AVRdude comes handy.
  
 Dokumentations:​\\ Dokumentations:​\\
Line 42: Line 40:
  
 Burning Serial to USB:\\ Burning Serial to USB:\\
-The hex file is in the arduino folder: /​usr/​share/​arduino/​hardware/​arduino/​firmwares/​arduino-usbserial/​Arduino-usbserial-uno.hex +The hex file is in the arduino folder: 
-  sudo avrdude ​-C /​usr/​share/​arduino/​hardware/​tools/​avrdude.conf ​-p m8u2 -c stk500v2 -P /​dev/​ttyACM0 -b115200 -U flash:​w:​Arduino-usbserial-uno.hex:​i+  cd /​usr/​share/​arduino/​hardware/​arduino/​firmwares/atmegaxxu2/​arduino-usbserial/​ 
 + 
 +  sudo avrdude -p m8u2 -c stk500v2 -P /​dev/​ttyACM0 -b115200 -U flash:​w:​Arduino-usbserial-uno.hex:​i
  
 Burning Serial to USB on Sparkfun Atmega8u2 Breakout Board: Burning Serial to USB on Sparkfun Atmega8u2 Breakout Board:
Line 50: Line 50:
 Burning Serial to Midi:\\ Burning Serial to Midi:\\
 The hex file is here: [[http://​hunt.net.nz/​users/​darran/​weblog/​52882/​Arduino_UNO_MIDI_USB_version_02.html]] The hex file is here: [[http://​hunt.net.nz/​users/​darran/​weblog/​52882/​Arduino_UNO_MIDI_USB_version_02.html]]
-  sudo avrdude ​-C /​usr/​share/​arduino/​hardware/​tools/​avrdude.conf ​-p m8u2 -c stk500v2 -P /​dev/​ttyACM0 -b115200 -U flash:​w:​MIDI_Firmware/​Arduino-usbmidi-0.2.hex:​i+  sudo avrdude -p m8u2 -c stk500v2 -P /​dev/​ttyACM0 -b115200 -U flash:​w:​MIDI_Firmware/​Arduino-usbmidi-0.2.hex:​i
  
 +----
 +==== License ====
  
 +This manual was made by **Wolfgang Spahn** 2011-20.\\
 +It is licensed under a [[http://​creativecommons.org/​licenses/​by-nc-sa/​4.0/"​|Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License]].
  
 +<​html>​
 +<a rel="​license"​ href="​http://​creativecommons.org/​licenses/​by-nc-sa/​4.0/"><​img alt="​Creative Commons License"​ style="​border-width:​0"​ src="​https://​i.creativecommons.org/​l/​by-nc-sa/​4.0/​88x31.png"​ /></​a> ​
 +</​html>​
 +
 +----