Offline
Newbie
Karma: 0
Posts: 35
|
 |
« on: March 15, 2012, 12:01:44 am » |
Him I have problem using my Mega 2560 as ISP with the Included example in Arduino IDE 1.0. I want to upload boot loader to a ATMEGA328P-PU. I plugged it like this: MEGA 2560 ATMEGA328 Pin 50 (MISO) --> Pin 18 (MISO) Pin 51 (MOSI) --> Pin 17 (MOSI) Pin 52 (SCK) --> Pin 19 (SCK) Pin 53 (SS) --> Pin 1 (RESET) 5v --> Pin 7 (Vcc) Gnd --> Pin 8,22 (Gnd) The atmega328 in on a breadboard with 16 mhz crystal and 2x 22pF capacitor on pin 9 and 10. I try to short the reset pin to 5v (on the mega 2560) with :110 ohm resistor= don't work give this error: avrdude: stk500_recv(): programmer is not responding  ,1 uF capacitor= don't work give this error: avrdude: stk500_recv(): programmer is not responding :100 uF capacitor= Seem to work but give me this error: avrdude: Yikes! Invalid device signature. Double check connections and try again, or use -F to override this check. I try different atmega328 chip, different crystal, different capacitor and i always have this error. Someone have an idea of what is wrong with this? I look everywhere on the net but i find almost nothing about ArduinoISP with a Atmega 2560. Tanks !
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Dallas
Offline
Shannon Member
Karma: 129
Posts: 10380
|
 |
« Reply #1 on: March 15, 2012, 03:50:29 am » |
Did you connect the 100 uF capacitor right after uploading the ArduinoISP sketch?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 35
|
 |
« Reply #2 on: March 15, 2012, 06:48:34 am » |
Did you connect the 100 uF capacitor right after uploading the ArduinoISP sketch?
Yes i upload the isp sketch and then i place the capacitor between reset and 5v.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Dallas
Offline
Shannon Member
Karma: 129
Posts: 10380
|
 |
« Reply #3 on: March 15, 2012, 01:28:40 pm » |
Yes i upload the isp sketch and then i place the capacitor between reset and 5v. RESET and +5V? Did you mean to write RESET and GND? Or did you connect it incorrectly?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 35
|
 |
« Reply #4 on: March 15, 2012, 02:12:59 pm » |
Yes i upload the isp sketch and then i place the capacitor between reset and 5v. RESET and +5V? Did you mean to write RESET and GND? Or did you connect it incorrectly? yes reset and 5v ? .... it supose to be between RESET and GND ?
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Dallas
Offline
Shannon Member
Karma: 129
Posts: 10380
|
 |
« Reply #5 on: March 15, 2012, 02:34:11 pm » |
it supose to be between RESET and GND ? Yes.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 35
|
 |
« Reply #6 on: March 15, 2012, 02:52:25 pm » |
Yes.
I'm a NoOb with arduino.... and to put reset to 5v can cause this error? .1 uf is a correct value ? tanks to help me
|
|
|
|
« Last Edit: March 15, 2012, 02:54:42 pm by Lentrave »
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 226
Posts: 14101
Lua rocks!
|
 |
« Reply #7 on: March 15, 2012, 03:45:03 pm » |
After quite a bit of mucking around I go this to work. For a start, I had problems with the ArduinoISP sketch supplied with the IDE. However this one from Adafruit worked. https://raw.github.com/adafruit/ArduinoISP/master/ArduinoISP2.pdeInstall that, set the target board to Mega2560, and upload that to the Mega.
Next, I created a .hex file in the IDE (turn on verbose output to see its file name). At this stage the "target board" should be a Uno (or whatever it is). Copy the .hex file name to the clipboard. Wire up the Mega to the chip to be programmed as per your diagram above. Now to stop the Mega resetting you need to put something like a 10 uF capacitor between reset (the + side of the cap) and the Gnd pin. Do this after you have uploaded the ArduinoISP2 sketch.
Next I went to the command line/console and typed in this: avrdude -c avrisp -p m328p -P /dev/cu.usbmodemfd141 -U flash:w:Blink_Two_LEds.hex -b 19200 -v -v -v -v The target board type was a Atmega328p (m328p). The protocol is avrisp. The port was (in my case) /dev/cu.usbmodemfd141 - you need to adjust that. The baud rate is 19200. And the -v -v -v -v is "very verbose" output, so you can see at what point it fails, if it fails. In my case the .hex file was Blink_Two_LEds.hex, but you would paste in whatever file name you got from the compile.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 226
Posts: 14101
Lua rocks!
|
 |
« Reply #8 on: March 15, 2012, 03:47:35 pm » |
With -v -v -v (3 levels of verbosity) I see this output: Programmer Type : STK500 Description : Atmel AVR ISP Hardware Version: 2 Firmware Version: 1.18 Topcard : Unknown Vtarget : 0.0 V Varef : 0.0 V Oscillator : Off SCK period : 0.1 us
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.12s
avrdude: Device signature = 0x1e950f avrdude: safemode read 1, lfuse value: ff avrdude: safemode read 2, lfuse value: ff avrdude: safemode read 3, lfuse value: ff avrdude: safemode: lfuse reads as FF avrdude: safemode read 1, hfuse value: d6 avrdude: safemode read 2, hfuse value: d6 avrdude: safemode read 3, hfuse value: d6 avrdude: safemode: hfuse reads as D6 avrdude: safemode read 1, efuse value: 5 avrdude: safemode read 2, efuse value: 5 avrdude: safemode read 3, efuse value: 5 avrdude: safemode: efuse reads as 5 avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed To disable this feature, specify the -D option. avrdude: erasing chip avrdude: reading input file "Blink_Two_LEds.hex" avrdude: input file Blink_Two_LEds.hex auto detected as Intel Hex avrdude: writing flash (1218 bytes):
Writing | ################################################## | 100% 1.43s
avrdude: 1218 bytes of flash written avrdude: verifying flash memory against Blink_Two_LEds.hex: avrdude: load data flash data from input file Blink_Two_LEds.hex: avrdude: input file Blink_Two_LEds.hex auto detected as Intel Hex avrdude: input file Blink_Two_LEds.hex contains 1218 bytes avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 1.43s
avrdude: verifying ... avrdude: 1218 bytes of flash verified
avrdude: safemode read 1, lfuse value: ff avrdude: safemode read 2, lfuse value: ff avrdude: safemode read 3, lfuse value: ff avrdude: safemode: lfuse reads as FF avrdude: safemode read 1, hfuse value: d6 avrdude: safemode read 2, hfuse value: d6 avrdude: safemode read 3, hfuse value: d6 avrdude: safemode: hfuse reads as D6 avrdude: safemode read 1, efuse value: 5 avrdude: safemode read 2, efuse value: 5 avrdude: safemode read 3, efuse value: 5 avrdude: safemode: efuse reads as 5 avrdude: safemode: Fuses OK
avrdude done. Thank you.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 35
|
 |
« Reply #9 on: March 15, 2012, 04:09:55 pm » |
After quite a bit of mucking around I go this to work. For a start, I had problems with the ArduinoISP sketch supplied with the IDE. However this one from Adafruit worked. https://raw.github.com/adafruit/ArduinoISP/master/ArduinoISP2.pdeInstall that, set the target board to Mega2560, and upload that to the Mega.
Next, I created a .hex file in the IDE (turn on verbose output to see its file name). At this stage the "target board" should be a Uno (or whatever it is). Copy the .hex file name to the clipboard. Wire up the Mega to the chip to be programmed as per your diagram above. Now to stop the Mega resetting you need to put something like a 10 uF capacitor between reset (the + side of the cap) and the Gnd pin. Do this after you have uploaded the ArduinoISP2 sketch.
Next I went to the command line/console and typed in this: avrdude -c avrisp -p m328p -P /dev/cu.usbmodemfd141 -U flash:w:Blink_Two_LEds.hex -b 19200 -v -v -v -v The target board type was a Atmega328p (m328p). The protocol is avrisp. The port was (in my case) /dev/cu.usbmodemfd141 - you need to adjust that. The baud rate is 19200. And the -v -v -v -v is "very verbose" output, so you can see at what point it fails, if it fails. In my case the .hex file was Blink_Two_LEds.hex, but you would paste in whatever file name you got from the compile. Tanks for the response .... but i upload the ArduinoISP2 and after this you lost me ..... i want to burn the bootloader.... how i make a .hex file and why? Im noob with arduino. By the way i try to put capacitor between reset and ground and i have the same error
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 35
|
 |
« Reply #10 on: March 15, 2012, 04:29:25 pm » |
After uploading ArduinoISP2 on my mega 2560 and activate verbose mode,i try to upload the bootloader and gave me this: /Applications/Arduino1,0.app/Contents/Resources/Java/hardware/tools/avr/bin/avrdude -C/Applications/Arduino1,0.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega328p -cstk500v1 -P/dev/tty.usbmodemfd111 -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0x05:m -Uhfuse:w:0xde:m -Ulfuse:w:0xff:m
avrdude: Version 5.11, compiled on Sep 2 2011 at 18:52:52 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "/Applications/Arduino1,0.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf" User configuration file is "/Users/lentrave/.avrduderc" User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/tty.usbmodemfd111 Using Programmer : stk500v1 Overriding Baud Rate : 19200 avrdude: Send: 0 [30] [20] avrdude: Send: 0 [30] [20] avrdude: Send: 0 [30] [20] avrdude: Recv: . [14] avrdude: Recv: . [10] AVR Part : ATMEGA328P Chip Erase delay : 9000 us PAGEL : PD7 BS2 : PC2 RESET disposition : dedicated RETRY pulse : SCK serial program mode : yes parallel program mode : yes Timeout : 200 StabDelay : 100 CmdexeDelay : 25 SyncLoops : 32 ByteDelay : 0 PollIndex : 3 PollValue : 0x53 Memory Detail :
Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- eeprom 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00 Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00 Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00 Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00 Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00 Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : STK500 Description : Atmel STK500 Version 1.x firmware avrdude: Send: A [41] . [80] [20] avrdude: Recv: . [14] avrdude: Recv: . [02] avrdude: Recv: . [10] avrdude: Send: A [41] . [81] [20] avrdude: Recv: . [14] avrdude: Recv: . [01] avrdude: Recv: . [10] avrdude: Send: A [41] . [82] [20] avrdude: Recv: . [14] avrdude: Recv: . [12] avrdude: Recv: . [10] avrdude: Send: A [41] . [98] [20] avrdude: Recv: . [14] avrdude: Recv: . [00] avrdude: Recv: . [10] Hardware Version: 2 Firmware Version: 1.18 Topcard : Unknown avrdude: Send: A [41] . [84] [20] avrdude: Recv: . [14] avrdude: Recv: . [00] avrdude: Recv: . [10] avrdude: Send: A [41] . [85] [20] avrdude: Recv: . [14] avrdude: Recv: . [00] avrdude: Recv: . [10] avrdude: Send: A [41] . [86] [20] avrdude: Recv: . [14] avrdude: Recv: . [00] avrdude: Recv: . [10] avrdude: Send: A [41] . [87] [20] avrdude: Recv: . [14] avrdude: Recv: . [00] avrdude: Recv: . [10] avrdude: Send: A [41] . [89] [20] avrdude: Recv: . [14] avrdude: Recv: . [00] avrdude: Recv: . [10] Vtarget : 0.0 V Varef : 0.0 V Oscillator : Off SCK period : 0.1 us
avrdude: Send: A [41] . [81] [20] avrdude: Recv: . [14] avrdude: Recv: . [01] avrdude: Recv: . [10] avrdude: Send: A [41] . [82] [20] avrdude: Recv: . [14] avrdude: Recv: . [12] avrdude: Recv: . [10] avrdude: Send: B [42] . [86] . [00] . [00] . [01] . [01] . [01] . [01] . [03] . [ff] . [ff] . [ff] . [ff] . [00] . [80] . [04] . [00] . [00] . [00] . [80] . [00] [20] avrdude: Recv: . [14] avrdude: Recv: . [10] avrdude: Send: E [45] . [05] . [04] . [d7] . [c2] . [00] [20] avrdude: Recv: . [14] avrdude: Recv: . [10] avrdude: Send: P [50] [20] avrdude: Recv: . [14] avrdude: Recv: . [10] avrdude: AVR device initialized and ready to accept instructions
Reading | avrdude: Send: V [56] 0 [30] . [00] . [00] . [00] [20] avrdude: Recv: . [14] avrdude: Recv: . [00] avrdude: Recv: . [10] avrdude: Send: V [56] 0 [30] . [00] . [01] . [00] [20] avrdude: Recv: . [14] avrdude: Recv: . [00] avrdude: Recv: . [10] ################avrdude: Send: V [56] 0 [30] . [00] . [02] . [00] [20] avrdude: Recv: . [14] avrdude: Recv: . [00] avrdude: Recv: . [10] ################################## | 100% 0.12s
avrdude: Device signature = 0x000000 avrdude: Yikes! Invalid device signature. Double check connections and try again, or use -F to override this check.
avrdude: Send: Q [51] [20] avrdude: Recv: . [14] avrdude: Recv: . [10]
avrdude done. Thank you.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 226
Posts: 14101
Lua rocks!
|
 |
« Reply #11 on: March 15, 2012, 05:24:08 pm » |
-cstk500v1 I was using -c avrisp. The bootloader file will be in your "bootloaders" folder, eg. optiboot_atmega328.hex Try locating that file, and then using the avrdude command with it. Looks like your device is: -P/dev/tty.usbmodemfd111
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 35
|
 |
« Reply #12 on: March 15, 2012, 05:58:35 pm » |
-cstk500v1 I was using -c avrisp. The bootloader file will be in your "bootloaders" folder, eg. optiboot_atmega328.hex Try locating that file, and then using the avrdude command with it. Looks like your device is: -P/dev/tty.usbmodemfd111 Ok i wrote this in Therminal (Mac OS X): /Applications/Arduino1,0.app/Contents/Resources/Java/hardware/tools/avr/bin/avrdude -C/Applications/Arduino1,0.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf -c avrisp -p m328p -P /dev/cu.usbmodemfd111 -U flash:w:optiboot_atmega328.hex -b 19200 -v -v -v -v and i receive the same error avrdude: Version 5.11, compiled on Sep 2 2011 at 18:52:52 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "/Applications/Arduino1,0.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf" User configuration file is "/Users/lentrave/.avrduderc" User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/cu.usbmodemfd111 Using Programmer : avrisp Overriding Baud Rate : 19200 avrdude: Send: 0 [30] [20] avrdude: Send: 0 [30] [20] avrdude: Send: 0 [30] [20] avrdude: Recv: . [14] avrdude: Recv: . [10] AVR Part : ATMEGA328P Chip Erase delay : 9000 us PAGEL : PD7 BS2 : PC2 RESET disposition : dedicated RETRY pulse : SCK serial program mode : yes parallel program mode : yes Timeout : 200 StabDelay : 100 CmdexeDelay : 25 SyncLoops : 32 ByteDelay : 0 PollIndex : 3 PollValue : 0x53 Memory Detail :
Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- eeprom 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00 Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00 Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00 Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00 Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00 Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : STK500 Description : Atmel AVR ISP avrdude: Send: A [41] . [80] [20] avrdude: Recv: . [14] avrdude: Recv: . [02] avrdude: Recv: . [10] avrdude: Send: A [41] . [81] [20] avrdude: Recv: . [14] avrdude: Recv: . [01] avrdude: Recv: . [10] avrdude: Send: A [41] . [82] [20] avrdude: Recv: . [14] avrdude: Recv: . [12] avrdude: Recv: . [10] avrdude: Send: A [41] . [98] [20] avrdude: Recv: . [14] avrdude: Recv: . [00] avrdude: Recv: . [10] Hardware Version: 2 Firmware Version: 1.18 Topcard : Unknown avrdude: Send: A [41] . [84] [20] avrdude: Recv: . [14] avrdude: Recv: . [00] avrdude: Recv: . [10] avrdude: Send: A [41] . [85] [20] avrdude: Recv: . [14] avrdude: Recv: . [00] avrdude: Recv: . [10] avrdude: Send: A [41] . [86] [20] avrdude: Recv: . [14] avrdude: Recv: . [00] avrdude: Recv: . [10] avrdude: Send: A [41] . [87] [20] avrdude: Recv: . [14] avrdude: Recv: . [00] avrdude: Recv: . [10] avrdude: Send: A [41] . [89] [20] avrdude: Recv: . [14] avrdude: Recv: . [00] avrdude: Recv: . [10] Vtarget : 0.0 V Varef : 0.0 V Oscillator : Off SCK period : 0.1 us
avrdude: Send: A [41] . [81] [20] avrdude: Recv: . [14] avrdude: Recv: . [01] avrdude: Recv: . [10] avrdude: Send: A [41] . [82] [20] avrdude: Recv: . [14] avrdude: Recv: . [12] avrdude: Recv: . [10] avrdude: Send: B [42] . [86] . [00] . [00] . [01] . [01] . [01] . [01] . [03] . [ff] . [ff] . [ff] . [ff] . [00] . [80] . [04] . [00] . [00] . [00] . [80] . [00] [20] avrdude: Recv: . [14] avrdude: Recv: . [10] avrdude: Send: E [45] . [05] . [04] . [d7] . [c2] . [00] [20] avrdude: Recv: . [14] avrdude: Recv: . [10] avrdude: Send: P [50] [20] avrdude: Recv: . [14] avrdude: Recv: . [10] avrdude: AVR device initialized and ready to accept instructions
Reading | | 0% 0.00savrdude: Send: V [56] 0 [30] . [00] . [00] . [00] [20] avrdude: Recv: . [14] avrdude: Recv: . [00] avrdude: Recv: . [10] avrdude: Send: V [56] 0 [30] . [00] . [01] . [00] [20] avrdude: Recv: . [14] avrdude: Recv: . [00] avrdude: Recv: . [10] Reading | ################# | 33% 0.08savrdude: Send: V [56] 0 [30] . [00] . [02] . [00] [20] avrdude: Recv: . [14] avrdude: Recv: . [00] avrdude: Recv: . [10] Reading | ################################################## | 100% 0.12s
avrdude: Device signature = 0x000000 avrdude: Yikes! Invalid device signature. Double check connections and try again, or use -F to override this check.
avrdude: Send: Q [51] [20] avrdude: Recv: . [14] avrdude: Recv: . [10]
avrdude done. Thank you. Any idea? i have always the " avrdude: Device signature = 0x000000 " error.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 226
Posts: 14101
Lua rocks!
|
 |
« Reply #13 on: March 15, 2012, 06:05:30 pm » |
After uploading ArduinoISP2 on my mega 2560 ...
I was getting that when using the ArduinoISP that came with the IDE. Where exactly did you get yours from?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 35
|
 |
« Reply #14 on: March 15, 2012, 06:08:54 pm » |
After uploading ArduinoISP2 on my mega 2560 ...
I was getting that when using the ArduinoISP that came with the IDE. Where exactly did you get yours from? the one you post before https://raw.github.com/adafruit/ArduinoISP/master/ArduinoISP2.pde
|
|
|
|
|
Logged
|
|
|
|
|
|