.hex for 32u2

Having a problem? Post it here and someone will be along shortly to help
Post Reply
shadowfall
Plasticator
Posts: 11
Joined: Thu Jun 13, 2013 6:17 pm

.hex for 32u2

Post 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.
User avatar
JohnStack
Printmaster!
Posts: 839
Joined: Thu Jan 03, 2013 7:07 pm
Location: Carlsbad, CA
Contact:

Re: .hex for 32u2

Post 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...
Technologist, Maker, Willing to question conventional logic
http://dropc.am/p/KhiI1a
shadowfall
Plasticator
Posts: 11
Joined: Thu Jun 13, 2013 6:17 pm

Re: .hex for 32u2

Post 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.
User avatar
Eaglezsoar
ULTIMATE 3D JEDI
Posts: 7159
Joined: Sun Apr 01, 2012 5:26 pm

Re: .hex for 32u2

Post 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.
shadowfall
Plasticator
Posts: 11
Joined: Thu Jun 13, 2013 6:17 pm

Re: .hex for 32u2

Post 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.
User avatar
Eaglezsoar
ULTIMATE 3D JEDI
Posts: 7159
Joined: Sun Apr 01, 2012 5:26 pm

Re: .hex for 32u2

Post 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?
Eric
Printmaster!
Posts: 717
Joined: Sat Aug 18, 2012 4:09 am
Location: Chula Vista, CA

Re: .hex for 32u2

Post by Eric »

Sounds like identical symptoms as this thread: http://forum.seemecnc.com/viewtopic.php?f=37&t=2023
shadowfall
Plasticator
Posts: 11
Joined: Thu Jun 13, 2013 6:17 pm

Re: .hex for 32u2

Post 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.
shadowfall
Plasticator
Posts: 11
Joined: Thu Jun 13, 2013 6:17 pm

Re: .hex for 32u2

Post 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
User avatar
Eaglezsoar
ULTIMATE 3D JEDI
Posts: 7159
Joined: Sun Apr 01, 2012 5:26 pm

Re: .hex for 32u2

Post 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?
shadowfall
Plasticator
Posts: 11
Joined: Thu Jun 13, 2013 6:17 pm

Re: .hex for 32u2

Post 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.
Post Reply

Return to “Troubleshooting”