Page 1 of 1
.hex for 32u2
Posted: Thu Jun 13, 2013 6:23 pm
by shadowfall
Hey Guys,
I'm still waiting on a reply from seemecnc about my issue. I can control the machine just fine but I need to upload new code in order to finish calibrating the toolhead.
Code: Select all
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
It seems to be a pretty common problem lately, maybe a bad batch of boards.
I'm fairly certain it's the bootloader. Does anyone have a .hex for the 32u2? I'd prefer to avoid compiling my own if possible.
Re: .hex for 32u2
Posted: Thu Jun 13, 2013 7:06 pm
by JohnStack
Can you add some detail?
Noise from the USB cable, baud rate, etc. What have you tried?
The first thing is typically baud rate. Adjust it down to 56.6 and see if that works, move your cable and PC away a bit, etc.
What type of computer? Other potential issues here before you get to debugging software...
Re: .hex for 32u2
Posted: Thu Jun 13, 2013 8:05 pm
by shadowfall
I'm running windows 7 home premium 64 bit.
I've got the machine up and running with the stock firmware on the rambo, I can manipulate the arms/hotend and bed from repetier.
I've calibrated the endstop screws using scripts 1-3, I'm at script 4 trying to set the print delta.
When I try to upload I get the error listed above.
My port is COM18, set originally at 9600 baud, 8, none, 1
I've tried baud 9600, 57600 and 115200
My repetier is set to communicate at 250000.
There are no driver errors.
Problem occurs with repetier open or closed.
I've run arduino as adminstrator.
Tested with clean arduino 1.03 and 1.05
when all that failed I rebooted with the same result.
Edit:
My pc is on one table and the printer on another. The usb doesn't cross any stepper wires so I don't think it's a noise issue.
Re: .hex for 32u2
Posted: Thu Jun 13, 2013 8:11 pm
by Eaglezsoar
See this link for a possible compatible bootloader hex file:
http://www.harryleo.cn/5/66.htm
I hope you know what you are doing, you can brick the card if not.
Re: .hex for 32u2
Posted: Thu Jun 13, 2013 8:20 pm
by shadowfall
I plan to wait until I hear a definitive answer from seemecnc that this is in fact the issue before I go poking it with my avr programming stick. I just like to be prepared.
If anyone has suggestions on something I should try first I will gladly attempt it.
Re: .hex for 32u2
Posted: Thu Jun 13, 2013 8:33 pm
by Eaglezsoar
shadowfall wrote:I plan to wait until I hear a definitive answer from seemecnc that this is in fact the issue before I go poking it with my avr programming stick. I just like to be prepared.
If anyone has suggestions on something I should try first I will gladly attempt it.
What "stick" do you have?
Re: .hex for 32u2
Posted: Thu Jun 13, 2013 8:34 pm
by Eric
Re: .hex for 32u2
Posted: Thu Jun 13, 2013 10:27 pm
by shadowfall
Eaglezsoar wrote:shadowfall wrote:I plan to wait until I hear a definitive answer from seemecnc that this is in fact the issue before I go poking it with my avr programming stick. I just like to be prepared.
If anyone has suggestions on something I should try first I will gladly attempt it.
What "stick" do you have?
Poking it with a programming stick was my way of saying fiddle with the hardware. I have a sparkfun avr programmer as well as an avrdragon packed away in boxes.
I'm taking the silence on my system specs to be a bad sign that this may not be a configuration issue and is more and more likely a firmware one.
No response from support yet. Looks like another night lost. The build was going so smoothly too. I'm gonna be lurking here in case someone has any ideas for me to try.
Re: .hex for 32u2
Posted: Fri Jun 14, 2013 5:52 pm
by shadowfall
Still no word back from support yet...
I decided to reburn my bootloader last night....IT WORKED! I was able to finish the initial script 1-4 calibration without issue after that. Time to learn repetier.
Hoping to find a guide on using repetier on seemecnc's youtube, I found this video telling me to do exactly what I did. SeeMeCNC could do a bit better on the proactive front when issues happen.
http://www.youtube.com/watch?v=mC4Pv15Ibco
Re: .hex for 32u2
Posted: Fri Jun 14, 2013 6:12 pm
by Eaglezsoar
shadowfall wrote:Still no word back from support yet...
I decided to reburn my bootloader last night....IT WORKED! I was able to finish the initial script 1-4 calibration without issue after that. Time to learn repetier.
Hoping to find a guide on using repetier on seemecnc's youtube, I found this video telling me to do exactly what I did. SeeMeCNC could do a bit better on the proactive front when issues happen.
http://www.youtube.com/watch?v=mC4Pv15Ibco
What hex code did you use to reflash the bootloader and can it be downloaded?
Re: .hex for 32u2
Posted: Fri Jun 14, 2013 10:41 pm
by shadowfall
No hex was needed. I realized that I was mistaken about the 32u2 (I had an issue where usb didn't work on a phonedrone auv board a year ago and I had to reflash the 32u2 hex to get that working) It's the atmega2560 that needed reflashed.
Just hook up your programmer to the appropriate 6-pin programming header, load up arduino, select the board type and programmer and hit burn bootloader. You need an arduino compatible programmer obviously. I used the sparkfun pocket programmer, $15
https://www.sparkfun.com/products/9825
The video I linked previously goes through it step by step.