Please note: the forum is closed.
No new user registrations are accepted. For more info, please click here.
No new user registrations are accepted. For more info, please click here.
Re-burning bootload on A5
g_pwn
Posts: 29Active Member
So my USB cable crapped out on me while I was uploading Marlin firmware onto my A5. Once I tried to reupload I started receiving the avrdude stk500_recv() programmer is not responding error.
I purchased an Arduino Uno and wired the A5's board to it appropriately (Mosi to mosi, sck to sck, rest to pin 10 etc etc - also loaded the ArduinoISP sketch onto the Uno + made sure to select the Mega2560 board and appropriate processor) but when I try to burn the bootloader I am getting the same error. I made sure to select the Arduino as ISP from the programmer menu as well.
Specific error:
and it repeats for 10 attempts
Any thoughts? Thanks!
PS I've attached the full error message below
I purchased an Arduino Uno and wired the A5's board to it appropriately (Mosi to mosi, sck to sck, rest to pin 10 etc etc - also loaded the ArduinoISP sketch onto the Uno + made sure to select the Mega2560 board and appropriate processor) but when I try to burn the bootloader I am getting the same error. I made sure to select the Arduino as ISP from the programmer menu as well.
Specific error:
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x03
and it repeats for 10 attempts
Any thoughts? Thanks!
PS I've attached the full error message below
<div>Arduino: 1.8.5 (Windows 7), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"</div><div><br></div><div>...Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino9/bin/avrdude -CC:...Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino9/etc/avrdude.conf -v -patmega2560 -cstk500v1 -PCOM7 -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0xFD:m -Uhfuse:w:0xD8:m -Ulfuse:w:0xFF:m </div><div><br></div><div>avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53</div><div> Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/</div><div> Copyright (c) 2007-2014 Joerg Wunsch</div><div><br></div><div> System wide configuration file is "...\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino9/etc/avrdude.conf"</div><div><br></div><div> Using Port : COM7</div><div> Using Programmer : stk500v1</div><div> Overriding Baud Rate : 19200</div><div>avrdude: stk500_recv(): programmer is not responding</div><div>avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x03</div><div>avrdude: stk500_recv(): programmer is not responding</div><div>avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x03</div><div>avrdude: stk500_recv(): programmer is not responding</div><div>avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x03</div><div>avrdude: stk500_recv(): programmer is not responding</div><div>avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x03</div><div>avrdude: stk500_recv(): programmer is not responding</div><div>avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x03</div><div>avrdude: stk500_recv(): programmer is not responding</div><div>avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x03</div><div>avrdude: stk500_recv(): programmer is not responding</div><div>avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x03</div><div>avrdude: stk500_recv(): programmer is not responding</div><div>avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x03</div><div>avrdude: stk500_recv(): programmer is not responding</div><div>avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x03</div><div>avrdude: stk500_recv(): programmer is not responding</div><div>avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x03</div><div><br></div><div>avrdude done. Thank you.</div><div><br></div><div>Error while burning bootloader</div>
.
Comments
I've attached an image of the board I have
I'm thinking I'll need to play around with the timing of pressing flash and pressing reset on the host arduino (dont have any capacitors handy).
I can confirm that the target mks board is not plugged into usb and that the port selected is for the Uno board.
Also, I can confirm that I have been using pin 10 on the host arduino board for the reset pin on the target mks board. All other pins are going to the ICSP on both boards.
I actually even tried the old style wiring (found on this page https://www.arduino.cc/en/Tutorial/ArduinoISP) without any luck (I did also define old style wiring within the sketch itself when trying this).
Yeah I actually said screw it and ordered a mega after finding this tutorial (he uses a mega)
If the tricks you mentioned work, I'll return the Mega and keep the uno just in case!
I'm sorry I don't really have any other suggestions - the last option is to buy a USB flasher, which is a dedicated tool for this job. I'm not sure why this is giving you so much grief unfortunately!
If a USB flasher doesnt work, I'm going to try a golf club and see if that makes it work. lol
I just got the Mega I ordered today and its actually a clone, so I figured I would check
From what I can tell, this one has an Atmel MEGA16u2
When you say jumper from reset to ground, you mean reset from the ICSP on the host arduino to ground (any of the available grounds on the host arduino), right?
Without reset to ground I get the following
Which USB programmer do you think I should get?
Can you check your wiring? For a arduino mega it should look like this on the left
Howdy, Stranger!
RegisterIt looks like you've been lurking for a while.
If you register, we will remember what you have read and notify you about new comments. You will also be able to participate in discussions.
So if you'd like to get involved, register for an account, it'll only take you a minute!