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 revisionBoth sides next revision
setup_avrdude [2013/10/04 18:56] – external edit 127.0.0.1setup_avrdude [2014/03/15 14:12] breaker27
Line 1: Line 1:
-====== Setup avrdude =====+====== Setup avrdude under Windows =====
  
-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:+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 8:
 </code> </code>
  
-(change your settings as needed). After this is set up, you can use avrdude without entering these settings each timeThis also makes it possible to leave this parameters out of the makefiles.+(change your settings as needed). 
 + 
 +====== Setup avrdude under Linux ===== 
 + 
 +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 ===== ===== Check the programmer connection =====
  
-Connect the ATMega to power and the ISP connector.+After the config file is created as shown above, you can use avrdude without entering the settings each time. This also makes it possible to leave this parameters out of the makefiles. 
 + 
 +Now connect the ATMega to power and the ISP connector.
  
 Try to read out the fuses: Try to read out the fuses:
Line 32: Line 45:
  
 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.
- 
setup_avrdude.txt · Last modified: 2014/03/15 14:16 by breaker27