User Tools

Site Tools


setup_avrdude

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
setup_avrdude [2013/10/03 15:57] – [Check the programmer connection] breaker27setup_avrdude [2014/03/15 14:16] (current) – [Check the programmer connection] breaker27
Line 1: Line 1:
-====== Setup avrdude =====+====== Write default settings in config file =====
  
-After installing avrdude, create a file **avrdude.rc** in the same directory as your avrdude.exe (Windows) or a file **.avrduderc** in your home directory (Linux) with the following content:+You should create a config file for avrdude containing your default settings. After the config file is created, you can use avrdude without entering the settings each time. This also makes it possible to leave this parameters out of the makefiles. 
 + 
 +===== Create config file under Windows ===== 
 + 
 +After installing avrdude, create a file **avrdude.rc** in the same directory as your avrdude.exe with the following content:
  
 <code> <code>
Line 8: Line 12:
 </code> </code>
  
-(change your settings as needed). After this is set up, you can use avrdude without entering these settings each time. This also makes it possible to leave this parameters out of the makefiles.+(change your settings as needed).
  
-===== Check the programmer connection =====+===== Create config file under Linux =====
  
-Connect the ATMega to power and the ISP connector.+After installing avrdude, create a file **.avrduderc** in your home directory with the following content: 
 + 
 +<code> 
 +default_serial = "/dev/ttyUSB0"; 
 +default_programmer = "stk500v2"; 
 +</code> 
 + 
 +(change your settings as needed). 
 + 
 +====== Check the programmer connection ====== 
 + 
 +Now connect the ATMega to power and the ISP connector.
  
 Try to read out the fuses: Try to read out the fuses:
Line 31: Line 46:
 If not, check all connections or if you have a shortcut. If not, check all connections or if you have a shortcut.
  
-You can use "lfuse" for low fuses, "hfuse" for high fuses and "efuse" for extended fuses. +You can use "lfuse" for low fuses, "hfuse" for high fuses and "efuse" for extended fuses. Call avrdude without parameters to see your options.
setup_avrdude.1380808674.txt.gz · Last modified: 2013/10/04 18:56 (external edit)