User Tools

Site Tools


avr:usage

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
avr:usage [2014/07/07 16:09] – [Liens utiles] sbolayavr:usage [2014/09/22 07:26] fdacruz
Line 32: Line 32:
 |Atmel JTAGICE mkII mode ISP|jtag2isp| |Atmel JTAGICE mkII mode ISP|jtag2isp|
 |Atmel JTAGE ICE mkII mode DebugWire|jtage2dw| |Atmel JTAGE ICE mkII mode DebugWire|jtage2dw|
 +|Atmel AVR ISP mkII|avrisp2|
 |Autre|Voir [[http://www.nongnu.org/avrdude/user-manual/avrdude_4.html|le manuel]]| |Autre|Voir [[http://www.nongnu.org/avrdude/user-manual/avrdude_4.html|le manuel]]|
  
Line 37: Line 38:
 <code.bash> <code.bash>
 avr-gcc -mmcu=attiny85 -o main.elf main.c avr-gcc -mmcu=attiny85 -o main.elf main.c
-objcopy -O ihex -R .eeprom main.elf main.hex+avr-objcopy -O ihex -R .eeprom main.elf main.hex
 avrdude -p t85 -c stk500 -P /dev/ttyUSB0 -U flash:w:main.hex avrdude -p t85 -c stk500 -P /dev/ttyUSB0 -U flash:w:main.hex
  
avr/usage.txt · Last modified: 2016/11/09 16:49 by sbolay