arduino:isp_with_stk500

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
arduino:isp_with_stk500 [2013/08/27 06:13] brettarduino:isp_with_stk500 [2016/07/23 13:26] (current) – [ISP with an STK500 to program a ATMEGA328] minerva9
Line 6: Line 6:
 However, it can be hard to work out exactly how to use it to program your AVR chips. These notes might help get you started. However, it can be hard to work out exactly how to use it to program your AVR chips. These notes might help get you started.
  
-The first thing to do is to download a copy of [[http://www.atmel.com/microsite/avr_studio_5/default.asp?source=redirect|AVR Studio]]. This has a decent built-in programming capability and works well with the STK500 unit.+The first thing to do is to download a copy of [[http://www.atmel.com/tools/studioarchive.aspx|AVR Studio]]. You want version 4.19 \\ 
 +This has a decent built-in programming capability and works well with the STK500 unit.
  
 Depending on the board that you will use to host the AVR chip that is to be programmed, you might need an external power supply unit. We use this inexpensive serial Arduino board. To use it as a programmer, we require to plug in both the ISP connector and have external power applied to the little DC jack plug on the board. The important thing to note is that your board should have a six or ten pin ISP connector. Our board has a six pin connector. Depending on the board that you will use to host the AVR chip that is to be programmed, you might need an external power supply unit. We use this inexpensive serial Arduino board. To use it as a programmer, we require to plug in both the ISP connector and have external power applied to the little DC jack plug on the board. The important thing to note is that your board should have a six or ten pin ISP connector. Our board has a six pin connector.
Line 81: Line 82:
 # Power to Arduino # Power to Arduino
  
-avrdude -v -c avrisp2 -p m328p -P /dev/ttyUSB0 -b 115200 -U efuse:w:0x05:m -U hfuse:w:0xde:m -U lfuse:w:0xff:m -U flash:w:jeenode-rf12demo-bootloader.hex+avrdude -v -c avrisp2 -p m328p -P /dev/ttyUSB0 -b 115200 
 +-U efuse:w:0x05:
 +-U hfuse:w:0xde:
 +-U lfuse:w:0xff:
 +-U flash:w:jeenode-rf12demo-bootloader.hex
 </code> </code>
  
 {{tag>avr STK500 ISP Sure}} {{tag>avr STK500 ISP Sure}}
  • arduino/isp_with_stk500.1377584037.txt.gz
  • Last modified: 2013/08/27 06:13
  • by brett