Rumba board no communication since failed firmware update via repetier server
Hi, I probably made a big mistake:
usinf repetier firmware V1.0.3 on a rumba board and repetier server on a raspberry Pi.
For BLTouch I did some firmwar changes and transferred from laptop via USB cable. Everything worked fine.
No I found in repetier server the possibility to perform firmware updates.
No I found in repetier server the possibility to perform firmware updates.
Compiled in arduino environment and exported. Two files were created , one without and one with bootloader.
By mistake i chose the one with bootloader.
The detail windows shows many "stk500v2_ReceiveMessage(): timeout".
since then I am not able to communicate with the rumba board.
I tried many hours to find a solution with
- putting the board in DFU mode
- Atmel Flip driver in win10 - faile due to missing certification
- Flip driver in a virtual Win XP - failed for incompatible driver
- Flip driver in a virtual Win7 - could be installed
Now I have an Atmel USB device with ATmega16u2 in device manager - I was hopeful.
But flip could not open USB device.
Now I have an Atmel USB device with ATmega16u2 in device manager - I was hopeful.
But flip could not open USB device.
I was printing face shield for MakervsVirus, but this is now stopped.
So I would be happy about any advice how to bring my rumba board back to live.
programmer - buy new rumba - buy another board?
And despite this: happy eastern and stay healthy!
Comments
If we assume you managed to destroy bootloader somehow, I know it can be written with a ISP or other arduino used as ISP (https://www.arduino.cc/en/tutorial/arduinoISP) - is that what you try to do? Then make sure to use the right ISP connector on rumba board. There are 2 - one for serial usb driver and one for the firmware. You need the one next to motor driver like shown here: https://reprap.org/wiki/File:RRD-RUMBA_ISP_2560.JPG with that you can repair any bootloader.
Since I want to understand what has happened:
Thanks for your help, Repetier!
But all I tried without success and the way it worked for me might be interesting for others:
What I didn't get to work:
1) following https://reprap.org/wiki/RUMBA#ATmega_2560_STK500v2.2FArduino2560_Bootloader
entering the DFU mode seemed to work, Tx/Rx flashed shortly.
Didn't find any way to install the Atmel flip driver atmel_usb_dfu.inf in Win10 because of missing certificate
2) setup a WinXP system in virtual box
driver was not accepted (other reason, not because of certificate)
3) setup a Win7 system in virtual box
driver was accepted (devie manager showed Atmel USB Devices / ATMega16U2
as other reason, not because of certificate)
Flip acceptet to select USB for communication. Clicking on open: could not open device
4) Hardware programmer Erfos AVR-ISP in Arduino IDE
6 pin cable was not included, made one
USB device was recognized in Win10
Arduino IDE: Selected AVR-ISP,
Main Errors stk500_getsync() attempt 1 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
5) Hardware programmer Arduino as ISP
Arduino IDE
Cabeling like several manuals
Selected Arduino as ISP as Programmer
Main error message: avrdude.exe: Device signature = 0x000000 (retrying)
6) Hardware programmer Diamax AVR USB Stick
like above
7) installed Atmel studio
all selection boxs in device programming were emtpty.
didn't want to read through manuals
What worked finally for me (I'm a greenhorn in bootloaders, so there could be just small steps to make other options work - or not work):
hardware programmer "DIAMEX USB ISP-Programmer Stick für AVR"
searched for another programming software, found bitburner
Settings: no changes
Tab AVRDude
- AVR Device: ATMEGA2560 (m2560)
- Programmer: Atmel AVR ISP V2 (avrispV2)
- COM7 (found in device manager)
- AVRDude Arguments: <empty>
Tab AVR Memories
- Flash: <Bootloader-hex-File from reprap link (see above)
- EEPROM: grayed out
- Memory Programmer: Flash only
- Button write --> it wrote and said success!!
AVR Fuses
- Set fuse bytes like shown in Reprap Link
- Low Fuse, Value 0xFF
- High Fuse, Value 0x10
- Extended Fuse, Value 0xFD
- Write
Power Off/On Board
Then I was able to write Repetier Firmware usind the arduino IDE.
One more information:
The Bootloader hex file from reprap-Link is not identical to the bootloader,
which is ceated by arduino IDE when ATmega 2560 is set, and you export the compiled binary file.
The reprap linked bootloader is part of the arduino V1.8.3, named Mega2560-prod-firmware-2011-06-29.hex,
but this file seems to be not used (not found in boards.txt).
Hope this helps somebody else!