Welcome! Log In Create A New Profile

Advanced

RUMBA Unable to upload Marlin firmware or get RUMBA into DFU mode

Posted by skc5741 
RUMBA Unable to upload Marlin firmware or get RUMBA into DFU mode
June 10, 2018 06:06PM
Hello,

I seem to be having a problem I feel like should be a pretty basic fix, but I am having a ton of trouble with it nonetheless. I am trying to upload my latest version of Marlin to my printer with some basic function changes, but I can't get the RUMBA to respond. The board is currently hooked up to my printer.

The errors I'm receiving are as follows:

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

I realized I should just be able to whip the RUMBA into DFU mode by putting a jumper on the reset pins as explained on the RUMBA RepRap wiki page. Unfortunately my RUMBA doesn't appear to be moving into DFU mode, as the TX and RX LEDs are inactive after removing the jumper from the pins. Strangely, LED1 is strobe flashing, and I don't know what to do. If I try to upload the firmware I still get the timeout errors and the jumper doesn't send the board into DFU mode.

What can I do to solve this issue?

Thanks,
Sam
Re: RUMBA Unable to upload Marlin firmware or get RUMBA into DFU mode
June 11, 2018 02:21AM
Um.... some confusion here.

the ATMega16u4 has a DFU bootloader the ATmega 2560 has a STK500v2/Arduino2560 Bootloader (or should have)

don't short reset out when trying to upload to ATmega 2560, as it stops the usb/serial converter (ATMega16u4) from running.
Re: RUMBA Unable to upload Marlin firmware or get RUMBA into DFU mode
June 11, 2018 09:53AM
I am equally confused about my issue!

Thanks for the reply! If shorting the reset out will prevent the USB/Serial converter from running, how can I get my firmware on the RUMBA?

Even when I don't put the jumper on the reset pins, the board won't respond to uploads. All it does is strobe flash LED1.

Thanks!
Sam

Edited 1 time(s). Last edit at 06/11/2018 09:56AM by skc5741.
Re: RUMBA Unable to upload Marlin firmware or get RUMBA into DFU mode
June 11, 2018 11:53AM
What is meant to happen is the usb/serial interface is told to set DTR low then high, this resets the ATmega 2560
On reset the ATmega 2560 runs its bootloader, this uses the usb/serial to get new data, if it doesn't receive anything it then runs the installed firmware. (2-3 seconds later)

The only other easy possibility is you may need to move the "usb power/stand alone" jumper onto usb power, this is where the atmega gets is power.

If this doesnt work most likely your suppliers didn't install the bootloader on the atmega 2560, so you have no way to replace the firmware over serial.


You can install one.. if you have a avrisp or a arduino board use as a avrisp.

Its not simple if your havent done it before... but if you can follow instructions we can give it a try,
Re: RUMBA Unable to upload Marlin firmware or get RUMBA into DFU mode
June 11, 2018 01:50PM
I've switched the power supply to USB power, and unfortunately that did not solve the issue. What's strange is that I was definitely able to upload firmware in the past without issues, so I'm not sure exactly what changed.

I haven't installed boot loaders before but I believe I can do a proficient job of following instructions, thanks so much! I am running on MacOS, so that may change the upload process. I have Windows machines available if it would be easier to upload firmware from there.

I do have an Arduino board and am willing to use that.

Thanks so much for your help!
Sam

Edited 1 time(s). Last edit at 06/13/2018 10:46AM by skc5741.
Re: RUMBA Unable to upload Marlin firmware or get RUMBA into DFU mode
June 18, 2018 01:19PM
So I attempted to follow a tutorial online here, using my Arduino Uno as an ISP for the RUMBA. This is how I connected the Arduino Uno to the RUMBA:


As the tutorial advised, I set the programmer to "Arduino as ISP" and then proceeded to "Burn Bootloader". I only had the Arduino connected to the computer, but the Arduino appeared to be supplying power to the RUMBA as well, as there were some lights flashing. Once I burned the boot loader, I assumed it had worked, as the Arduino software reported "Done burning boot loader", but I noticed during the process of uploading there were a series of errors that the Arduino software reported:

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x18
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x98
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xe6
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x98
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xe6
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x98
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x1e
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x98
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x80
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x18

I tried to upload firmware normally first, but received the same error I had to begin with. Next I tried to upload using the Arduino as ISP, and still had no luck. What can I do?

Thanks!
Sam
Sorry, only registered users may post in this forum.

Click here to login