Cannot Upload Dual ES Firmware on Rambo

Tried to upload Ryan’s Dual Endstop firmware last night, no go. Repeated attempts failed. “avrdude: stk500v2_ReceiveMessage(): timeout” occurs a bunch of times then:
“avrdude: stk500v2_getsync(): timeout communicating with programmer”

this issue is all over the internet and Rambo boards seem to be a key victim.

https://forum.arduino.cc/index.php?topic=168051.0

http://forum.seemecnc.com/viewtopic.php?t=2023

https://reprap.org/forum/read.php?219,631416

Included are 2 screenshots. I even attempted to use Arduino 1.6.7 with the same results. I really purchased this for dual ES use so it’s kind of critical that I get this upload working. Any tips appreciated!

Mac OS 10.11.6; 24 Gb Ram
Arduino 1.8.5 AND 1.6.7 tested. Included U8glib and board is visible in the Serial monitor and responds.

Also changed the Baud rate in configuration.h to 115,200.

—mark o

addendum:

I can get board info just fine from the RAMBo. The serial monitor works, so I know cable and connection are OK. This was posted on the Seemecnc forum a while back, but may apply;

"

calabus
Printmaster!
Posts: 58
Joined: Sat Jun 08, 2013 11:09 am
Location: Durham, NC

Re: Arduino Timeout uploading firmware

Postby calabus » Tue Jun 11, 2013 8:14 pm

My problem is semi-resolved. By that I mean John has responded and confirmed, from what I can gather from the email, that defective boards were shipped. It appears that prior to shipping the boards they were loaded with firmware that somehow wiped the bootloader. The boards work fine until you attempt to update new firmware....no bootloader=no firmware update. "

from here: http://forum.seemecnc.com/viewtopic.php?t=2023

That is a generic message for “not connected” yes is will appear very common.

You should look at all the instructions including for the beta builds. Three issues, number one, your arduino is entirely too old. You do not say what firmware you are trying to use but there are very specific instructions for marlin 2.0 (arduino hourly). Two, you are on a MAC, some can not handle the baud rate we use and you will need to turn it down, if it is very old you should note that here. I will find the old MAC instructions. Three, did you do the two library adds to arduino?

https://www.v1engineering.com/marlin-firmware/

I can see in the screen shots you are on Marlin 2, so then you need the current hourly build and change the temp folder.

Arduino 1.6 does not work for any version of marlin anymore.

1 Like

I started out using Arduino 1.8.5, only tried the 1.6.7 as a test this AM.

Mac is 2009 version but all up to date. I’m using the front USB port; the front ports are USB 2.0. I changed the baud rate in the sketch to 115200 and commented out the previous 250000 command.

I added the two libraries, yes.

Screen-Shot-2018-06-09-at-3.06.30-PM.png

1.8.5 nightly still shows the exact same error?

It should show as 1.8.6 hourly, right now 2.0 is very picky

 

OK… complete meltdown. Downloaded the Hourly Build for OSX. Re-did all the steps, making sure to have the correct drivers. now it just completely fails on all counts, can’t even compile the file. This message appears about a zillion times before the failed message “/Users/mortso/Documents/Arduino/libraries/U8glib/src/U8glib.h:1278:1: error: unknown type name ‘class’
class U8GLIB_SSD1351_128X128GH_4X_HICOLOR : public U8GLIB
^”

I do not know how to change the temp folder on a Mac. It not listed in the prefs file.

It might not be an issue on a MAC what is the error message?

OK well, that’s it. TOAST. BRICKED BOARD. Now getting heartbeat blink yellow light next to green ON light. No more connection to Arduino. Hours of frustration and now this. The board now doesn’t even register on the PORTS list. I ALSO tried an XP computer all Arduino updates, could not see the port COM 1.

Is it truly gone?

Just plain HELL. Heartbroken.

I would be HAPPY to mail you this board and $50 to fix it and load dual endstop software. I have so little time this will probably go in the trash if not. Let me know, you’ll need a &^(^)^%V ISP programmer or other Arduino.

Just send it in and I will have a look, when you buy your shipping label drop in a return label for faster turn around, no big deal.

You should not have been able to actually brick the board without some serious effort, or external damage. Nothing you could have done over usb could have damaged it. Are you sure your power supply is working, and that you haven’t blown a fuse somehow? You were powering it during flashing correct?

Ryan, so here’s what I did and you can chastise me or tell me to go away if you get disgusted!

  1. Attempted at least 15 times to load the firmware from Arduino App. Unplugged RAMBo, plugged it back in, etc. It was registering fine on the Serial Monitor but no upload possible.
  2. Moved over to a Mac Laptop with windows XP running on it with zero luck, could not even see the RAMBO on com 1 port.
  3. Quit for the night.
  4. Next night, Began reading Arduino posts about this very issue: the scrolling error message cited above.
  5. At least 3 separate posts suggested pressing reset as the app is trying to load the firmware, so I did. I pressed it 3 times as the error message kept scrolling on the computer screen. (My better judgement was told to shut up and be quiet)
    Lights near the USB port began blinking in a heartbeat fashion, board no longer visible to the Arduino Serial Monitor.

Tried shutting it off, disconnect USB and all Power, nothing worked. I bricked it.

Further reading suggests that if I toasted the bootloader then I would need either another arduino or a “USB Tiny” to force feed the new firmware into the RAMBo. eBay links to those below, but whatever it needs to be compatible with the 2560 chip on the RAMBo.

So if you’re game to try I’ll send it, if not I’ll eat my pride and attempt to do the re-flash myself with another Arduino

https://www.ebay.com/sch/i.html?_from=R40&_trksid=m570.l1313&_nkw=USB+tiny&_sacat=0

Also Pololu has gotten back to me about an ISP board they offer which they say WILL work with the Atmega2560 chip and RAMBo.

If this is anything like the windows “app” it doesn’t seem to work, you need the full IDE, the hourly (1.8.6). You could be talking about the IDE, just clarifying. I am clarifying for anyone reading this, the Arduino version is critical. I have zero ways to test this on a MAC, I honestly have no access to one.

 

Those are 3 year old post just stating the board is not connected. They have nothing to do with it other than the same error message is still used on every single arduino board. I personally flash every single board before it leaves here so connection issues are not on the board side.

 

Send it. I have never flashed a bootloader and am not convinced that is actually the issue. If it is I have hundreds of arduion’s to flash with (it doesn’t have to be a tiny). I have a know good system. I am honestly more worried about physical damage, the only way you should have been able to mess up the bootloader is if it was actually flashing and you interrupted it at the exact right moment, or physically damaging it. Sounds like you were never actually connected, just recognized the com port.

 

It came pre-flashed with the most current version of the firmware what was the reason to change it?

I was connected, as I said above it returned Chip ID when asked, and serial monitor returned a load of data.

RE WHY? Did I not explain that? I want precision. I am an old school machinist. I want the thing to zero perfectly each time. Ryan, if you’d prefer, (I sent it today) just pull it out of the envelope, put it into the return envelope and return it to me. I’m SO SORRY I attempted to change the firmware, but I have bigger things in mind for this than cutting a sign. I dunno why I sent it but I now know I can fix it. To Hell with USB programming use ISP /AVR.

Your choice. I did ZERO DAMAGE to it physically, and to question that is frankly offensive. I would not lie to you I’m an old bay area hacker with creds man. I gave you the honest picture including the reset button part.

Hey Mark, step back a moment and take a breath brother. Ryan isn’t saying you purposely damaged the board and are trying to cheat him out of anything. When he says “you” damaged the board he means something damaged the board. Whether it was something you did by accident or mistake or the board could just have an issue. It’s an electronic, shit happens. You have put it in the mail already, so let Ryan get it take a look at it and confirm what the deal is. Ryan will make it right. I’ve yet to see him cheat someone yet on this forum. So just take a breath and remember that emotions are difficult to judge in text. Don’t assume he is pointing the finger cause that is rarely the case.

1 Like

No offense was meant. You have to realize, this thread will be here for a very long time. It will come up in searches, people will reference it. I have to do my best to balance the present problem and prevent future ones. People quote things I said in the forums 3 years ago, even after I have written revised instructions. I can’t just go through and delete forums threads as that looks shady and there might be other relevant info.

I am also replying to many many post of many different platforms 7 days a week and can not keep all the info straight. I will go back a page or so and if I can quickly find the info I think is relevant, I will ask it again. Cut me a little slack, your issue is a first. I have Ultmachine as a lifeline, I will get the board flashed.

As to why I asked…I just need to know what firmware you want on it when I ship it back. I was not clear if you were making modifications or not. I didn’t want to ship it back and have the same thing happen again, I want to give you the firmware you need.

1 Like

Good to go, shipping it back today.

Received Sat 5/16 Thanks Ryan!!!

Now I got that birds nest of wires to begin to harness. :wink: cheers!

1 Like