I Apologize for the delay in this project, but life issues abound this year.
Even though this Arduino is not that expensive, this has become a challenge I just have to conquer.
My Arduino Mt. Everest as it is. With that said...
I attempted to load the boot loader as you (CrossRoads) suggested, using Nick Gammon’s “Atmega Bootloader Programmer” procedure several times over. Double checked the fabricated ISP jumper cable with a meter. Also I’ve deleted and reinstalled the Arduino drivers.
Results unsuccessful, as show below.
When I plug in the programming Uno to a USB port (with the target Mega connected via the jumper) the serial monitor displays;
⸮P7⸮⸮(⸮b⸮k’ RcB/D⸮⸮# ⸮9e⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮/9?=⸮⸮mU,⸮⸮\M⸮⸮I⸮
When I attempt to Burn Bootloader I get the following error;
Arduino: 1.8.4 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
E:\Arduino\hardware\tools\avr/bin/avrdude -CE:\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega2560 -cstk500v1 -PCOM8 -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0xFD:m -Uhfuse:w:0xD8:m -Ulfuse:w:0xFF:m
avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "E:\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM8
Using Programmer : stk500v1
Overriding Baud Rate : 19200
avrdude: ser_open(): can't open device "\.\COM8": Access is denied.
avrdude done. Thank you.
Error while burning bootloader
Then, I attempted this procedure from Arduino-er, Arduin Uno as ISP to burn Bootloader to Mega 2560, except for using the fabricated ISP jumper from above, instead of using individual jumper wires for connecting the boards.
Which is using the provided Arduino IDE > File > Examples > ArduinoISP > ArduinoISP, as below;
PC is connected to Uno.
- Program Uno as ArduinoISP
-
Select board of Uno*
-
Select programmer of AVRISP mkII*
-
File > Examples > ArduinoISP > ArduinoISP*
-
Upload*
- Now we are going to program MEGA, the Uno act as Arduino as ISP.
-
Select board of MEGA*
-
Select programmer of Arduino as ISP*
-
Tools > Burn Bootloader*
I get the below results,
Arduino: 1.8.4 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
E:\Arduino\hardware\tools\avr/bin/avrdude -CE:\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega2560 -cstk500v1 -PCOM8 -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0xFD:m -Uhfuse:w:0xD8:m -Ulfuse:w:0xFF:m
avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "E:\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM8
Using Programmer : stk500v1
Overriding Baud Rate : 19200
AVR Part : ATmega2560
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
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 10 8 0 no 4096 8 0 9000 9000 0x00 0x00
flash 65 10 256 0 yes 262144 256 1024 4500 4500 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : STK500
Description : Atmel STK500 Version 1.x firmware
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.02s
avrdude: Device signature = 0x000000 (retrying)
Reading | ################################################## | 100% 0.02s
avrdude: Device signature = 0x000000 (retrying)
Error while burning bootloader.
Reading | ################################################## | 100% 0.02s
avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.
avrdude done. Thank you.
So with this latest failure, I did a google search of the above high lighted text and found this Arduino forums post;
Atmega (any chip) Device Signature issues and stk500_getsync()(resolutions) by hexskrew (guest).
So, I purchased a Arduino power supply, and verified an output of 9.3 volts, and connected it up to the target Arduino Mega2560. And ran the same procedures as above. Same results as above, same error output as above. So I used individual jumpers to connect the two boards together instead of the ISP harness, same results (I did ring out the jumpers wires too, & double checked jumpers). Same error.
Now I’m thinking that, as hexskrew suggested in item 2 of his post, the below is what should be attempted.
“2. Use a crystal (2, 4, or 8mhz preferrably). It's possible you changed the fuses in the chip and changed the configuration from the internal resonator inside the chip, to using xtal1 and xtal2 (on chip not on arduino board). Also use 2x 22pF capacitors tied to ground.”
But, I have no ideal of how to do this, nor can I find clear step by step (like noob-rookie step by step) instructions on how to attempt this procedure.
So, with all this said could someone point me in the right direction please, please, please
!
Thank you!!