Hepl, After replacing the mightyboard can't upload firmware

86 views
Skip to first unread message

adrian villalpando jurado

unread,
Jan 19, 2018, 9:53:38 AM1/19/18
to Jetty Firmware
hi guys, some time ago I bought a Mightyboard rev.E (Geeetech) as spare part, today I had to replace the board of my dual CTC and I can not upload the firmware to this board.

When I power the board I only get two white lines on the LCD (not inialized), I thought that the board would come with no firmware, but no matter how hard I try, I can not upload firmware and/or bootloader.

-With ReplicatorG I have tried many times and it does not works.

-With Aduido IDE, when requesting information from the board (connected by USB) it shows me this:



-But nevertheless if I try to "burn bootloader" with my USBASP programmer it shows me this:



This Rev.E board comes with Atmega1280 and the 16u2 chip (not the 8u2).

Some help? Thank you!

Daniel Newman

unread,
Jan 19, 2018, 10:28:08 AM1/19/18
to jetty-f...@googlegroups.com, adrian villalpando jurado
On 19/01/2018 9:53 AM, adrian villalpando jurado wrote:
> hi guys, some time ago I bought a Mightyboard rev.E (Geeetech) as spare part, today I had to replace the board of my dual CTC and I can not upload the firmware to this board.

They do not put a bootloader onto the board. You need to install a boot loader yourself.
To do that, you will need an AVR ISP programmer. Use the .hex file

https://github.com/dcnewman/MightyBoardFirmware-2560-bootloader/tree/master/goodHexFiles

> When I power the board I only get two white lines on the LCD (not inialized),

The board may lack firmware as well as a bootloader. Once you have the correct bootloader
on, you can then load the firmware via RepG.

I thought that the board would come with no firmware, but no matter how hard I try, I can not upload firmware and/or bootloader.
>
> -With ReplicatorG I have tried many times and it does not works.
>
> -With Aduido IDE, when requesting information from the board (connected by USB) it shows me this:
>
> <https://lh3.googleusercontent.com/-QHuwZFL9Ltc/WmIFtJNrAlI/AAAAAAAAWuM/32BDOysO50kSxpZa3U4r4cXvdtPR_i4qQCLcBGAs/s1600/arduinoIDE%2Bobtener%2Binfo%2Bde%2Bplaca.jpg>
>
>
>
> -But nevertheless if I try to "burn bootloader" with my USBASP programmer it shows me this:

YOU MUST use the bootloader I cite above. It's the standard 2560 bootloader but compiled with
an additional option or two as described at

https://github.com/dcnewman/MightyBoardFirmware-2560-bootloader

Note that the stepper drivers sent with the Geetech board may or may not work. They used
to send the wrong stepper drivers. Also the board has a number of errors, most significantly
if they are feeding the 3.3V regulator 24V then it will certainly overheat and die. It should
be fed the 5V output from the 5V regulator. MakerBot actually cut the trace on the Mightyboard
and soldered in a jumper. There are other issues as well with the Geetech boards, but that's
the most critical one.

At issue is that Geetech built the EXCACT board which MakerBot published at Thingiverse. They
did not seem to realize tha the actual board that MakerBot went to market with had a number of
corrections made to it. Geetech did not produce the actual rev E Mightyboard which MakerBot made
and sold. Instead they produced what was the final protoype of the board -- a prototype with
known issues.

Dan

adrian villalpando jurado

unread,
Jan 19, 2018, 11:22:06 AM1/19/18
to Jetty Firmware
Many thanks Dan, I have USBASP programmer but when i tried to burn the standard Arduino bootloader using Arduino IDE i get the previous error. I don`t know how to try to burn the bootloader you posted, maybe by command line? 

Is ok the USB ASP for that?

Note If i try to upload any blank sketch using the USB_ASP programmer from Arduino IDE i get the "avrdude: error: could not find USB device with vid=0x16c0 pid=0x5dc vendor='www.fischl.de' product='USBasp'"

About the drivers i will use the same previously used "BotStep" type, and i have also made the 5v mod to the board (replaced 5v regulator and re-rouning the 3.3v reg input) and shorted the SSR 4-5 pins. 

Daniel Newman

unread,
Jan 19, 2018, 12:03:34 PM1/19/18
to jetty-f...@googlegroups.com, adrian villalpando jurado
On 19/01/2018 11:22 AM, adrian villalpando jurado wrote:
> Many thanks Dan, I have USBASP programmer but when i tried to burn the standard Arduino bootloader using Arduino IDE i get the previous error. I don`t know how to try to burn the bootloader you posted, maybe by command line?

I have only ever used ISP programmers via command line.

> Is ok the USB ASP for that?

If it is supported by avrdude, then yes.

> Note If i try to upload any blank sketch using the USB_ASP programmer from Arduino IDE i get the "avrdude: error: could not find USB device with vid=0x16c0 pid=0x5dc vendor='www.fischl.de' product='USBasp'"

Sorry, I don't use the Arduino app. Cannot help you myself.

Dan

adrian villalpando jurado

unread,
Jan 21, 2018, 3:28:18 PM1/21/18
to Jetty Firmware
many thanks Dan, i don't have experience using avrdude, i read there is some risk of
briking the chip, could you say me which exact command line i need to use for flashing the bootloader with an usbasp programmer?


Daniel Newman

unread,
Jan 21, 2018, 4:13:57 PM1/21/18
to jetty-f...@googlegroups.com, adrian villalpando jurado
On 21/01/2018 3:28 PM, adrian villalpando jurado wrote:
> many thanks Dan, i don't have experience using avrdude, i read there is some risk of
> briking the chip, could you say me which exact command line i need to use for flashing the bootloader with an usbasp programmer?

No, I cannot since I've never used your programmer. Basically, this isn't something
you should be doing unless you (1) are comfortable doing it, and (2) can deal with
a bricked chip.

Dan

adrian villalpando jurado

unread,
Jan 22, 2018, 6:35:43 AM1/22/18
to Jetty Firmware
Finally i go for a new Geeetech Mightyboard rev G. After a lot of work still no comunication, i flashed the 16u2 and ok but still issues wtih the Atmega 1280, I replaced three times the Atmega 1280 by Atmega 2560 (extracted from some spare Arduinos Mega 2560) but still no comunication. flashed the bootloader when they are still on the Arduino board and ok, then moved to Mightyboard but the same issue, removed the 16u2 and try to flash the firmware without bootloader on the 2560 but still, tested the ICSP lines and they are ok, so i think some bad on my board that is causing no comunication with the Atmega. Nothing connected, only the board without drivers.

These are the commands i used for trying to flash the Atmega 2560. First with bootloader without sucess and second no bootloader with the same results.

avrdude -p m2560 -F -P usb -c usbasp -U flash:w:stk500boot_v2_mega2560.hex -U lfuse:w:0xFF:m -U hfuse:w:0xDA:m -U efuse:w:0xF4:m -U lock:w:0x0F:m

avrdude -c usbasp -p m2560 -P usb -b 115200 -V -U flash:w:mighty_one-2560-Sailfish-v7.7.0-r1432.hex


Many thanks for replies Dan!
Reply all
Reply to author
Forward
Message has been deleted
0 new messages