Editing Using The ISP Shield 2
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 4: | Line 4: | ||
== ...To program the Arduino Bootloader onto an ATmega168/ATmega328 == | == ...To program the Arduino Bootloader onto an ATmega168/ATmega328 == | ||
− | + | #Attach the ISP Shield 2.0 to the Arduino. If using Arduino Uno, put a piece of insulating tape on top of the USB connector of the Uno to prevent the bottom of the shield from shorting against the connector housing. | |
− | # | ||
#Connect the Arduino to your computer and bring up the Arduino IDE | #Connect the Arduino to your computer and bring up the Arduino IDE | ||
#If necessary, configure the Arduino IDE for your Arduino or Arduino clone | #If necessary, configure the Arduino IDE for your Arduino or Arduino clone | ||
#In the '''File''' menu, select '''Examples''', and open the '''ArduinoISP''' sketch | #In the '''File''' menu, select '''Examples''', and open the '''ArduinoISP''' sketch | ||
#Upload this sketch to your Arduino or Arduino clone | #Upload this sketch to your Arduino or Arduino clone | ||
− | # | + | #At this time place an ATmega168 or ATmega328 into the ZIF socket on the ISP Shield 2.0 and lock it in place |
− | + | #In the '''Tools''' menu, select '''Board''', and select either: | |
− | + | #* '''Arduino Duemilanove or Nano w/ ATmega328''' if you are programing an ATmega328 | |
− | + | #* '''Arduino Diecimila, Duemilanove, or Nano w/ ATmega168''' if you are programing an ATmega168 | |
− | |||
− | |||
− | |||
− | #In the '''Tools''' menu, select '''Board''', and select | ||
− | #* '''Arduino | ||
− | #* '''Arduino Duemilanove or Nano w/ | ||
− | |||
#In the '''Tools''' menu, select '''Burn Bootloader''', and select '''w/ Arduino as ISP''' | #In the '''Tools''' menu, select '''Burn Bootloader''', and select '''w/ Arduino as ISP''' | ||
Line 40: | Line 32: | ||
== ...To use the ISP Shield 2.0 in place of an AVR ISP == | == ...To use the ISP Shield 2.0 in place of an AVR ISP == | ||
− | The ArduinoISP sketch mimics the [http://www.atmel.com/ Atmel] [http://www.atmel.com/dyn/products/tools_card.asp?tool_id=2726 AVRISP] programmer. | + | The ArduinoISP sketch mimics the [http://www.atmel.com/ Atmel] [http://www.atmel.com/dyn/products/tools_card.asp?tool_id=2726 AVRISP] programmer. The Arduino IDE won't let you use it to upload sketches, but you can use [http://savannah.nongnu.org/projects/avrdude avrdude] to upload compiled programs to an ATmega168/ATmega328 via the ISP Shield 2.0 ZIF socket or either of the ISP headers. |
When using an Arduino and ArduinoISP in this capacity the avrdude programmer type should be set to 'avrisp'. If you are using Windows avrdude may not be able to use the Arduino unless it is attached to COM port 9 (COM9) or lower. To change the port number that a device is attached to first locate it in the Device Manager: in the '''System Properties''' control panel, select the '''Hardware''' tab, then click the '''Device Manager''' button, and finally expand the '''Ports (COM & LPT)''' item. Right click the appropriate device for your Arduino and select '''Properties''' option, select the '''Port Settings''' tab, and click the button labeled '''Advanced...'''. Select a new unused port in the '''COM Port Number''' drop-down selection box. | When using an Arduino and ArduinoISP in this capacity the avrdude programmer type should be set to 'avrisp'. If you are using Windows avrdude may not be able to use the Arduino unless it is attached to COM port 9 (COM9) or lower. To change the port number that a device is attached to first locate it in the Device Manager: in the '''System Properties''' control panel, select the '''Hardware''' tab, then click the '''Device Manager''' button, and finally expand the '''Ports (COM & LPT)''' item. Right click the appropriate device for your Arduino and select '''Properties''' option, select the '''Port Settings''' tab, and click the button labeled '''Advanced...'''. Select a new unused port in the '''COM Port Number''' drop-down selection box. | ||
+ | Check the avrdude webpage for complete instructions and documentation regarding the use of avrdude. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Known Issue With Auto-Reset == | == Known Issue With Auto-Reset == | ||
Line 64: | Line 50: | ||
http://cdn2.evilmadscience.com/wiki/ispshield/assy_v2/29.jpg | http://cdn2.evilmadscience.com/wiki/ispshield/assy_v2/29.jpg | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |