Page 1 of 2

Trying to update firmware to Merlin on Sanguinololu board

Posted: Thu Apr 23, 2015 8:53 am
by John LaBaff
Trying to update the firmware on the printer. We have the Sanguinolou board. Followed directions about unzipping the Merlin files and dragged/dropped the files into Arduino.

Dropped Marlin files into Arduino 1.0.5r2 (Downloaded from the site)
Selected Sanguino W/ ATMega1284p from Tools/Board (per instruction)
Selected Com3 for Serial port
Clicked on Upload arrow.
Getting the following error:

In file included from /Marlin.h:23,
from BlinkM.cpp:5:
/pins.h:1273:3: error: #error Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.

Tried changing to Arduino Mega2560 or Mega ADK and uploading again

Getting a timeout

Binary sketch size: 52,348 bytes (of a 258,048 byte maximum)
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 am able to control the printer the Repetier. What are we doing wrong here?

Re: Trying to update firmware to Merlin on Sanguinolou board

Posted: Thu Apr 23, 2015 11:34 am
by zhangxueyou
Please make sure your mainboard type is Sanguinololu.
The error says:/pins.h:1273:3: error: #error Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
Tried changing to Arduino Mega2560 or Mega ADK and uploading again

I think your mainboard type is Ramp1.4+Mega2560.

Re: Trying to update firmware to Merlin on Sanguinololu boar

Posted: Fri Apr 24, 2015 12:15 pm
by John LaBaff
In looking at the boards on the website, and comparing, I'm nearly positive we have the Sanguinololu. Please let me know if I do not.
20150423_111710.jpg
The board on printer
20150423_111710.jpg (197.32 KiB) Viewed 21865 times

Re: Trying to update firmware to Merlin on Sanguinololu boar

Posted: Fri Apr 24, 2015 4:54 pm
by zhangxueyou
Yes, this is Sanguinololu. There must be something you do wrong. You can refer to this page to upload the firmware:
http://www.geeetech.com/forum/viewtopic ... 20&t=16253
But I think there is no need to upload the firmware, because all the printers have been burnt the correct firmware before sending.

Re: Trying to update firmware to Merlin on Sanguinololu boar

Posted: Fri Apr 24, 2015 8:40 pm
by John LaBaff
Is there a way to verify firmware version?

Re: Trying to update firmware to Merlin on Sanguinololu boar

Posted: Sat Apr 25, 2015 9:23 am
by zhangxueyou
No version, because the firmware is open source.

Re: Trying to update firmware to Merlin on Sanguinololu boar

Posted: Sat Apr 25, 2015 11:11 am
by John LaBaff
Is there a way to verify that Merlin is what is already burned?

Re: Trying to update firmware to Merlin on Sanguinololu boar

Posted: Sat Apr 25, 2015 2:06 pm
by zhangxueyou
John LaBaff wrote:Is there a way to verify that Merlin is what is already burned?
Sorry, I don't get your point.

Re: Trying to update firmware to Merlin on Sanguinololu boar

Posted: Sun Apr 26, 2015 6:34 pm
by kling
Hi,

I'd like to share the solution for "The error says:/pins.h:1273:3: error: #error Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.", I'm using the Sanguinololu board + Atmega1284 16Mhz.

You should config as on this page"http://www.geeetech.com/wiki/index.php/ ... le_Burning" on the topic
" Get Started

Sanguinololu is the CPU of a 3D printer, manipulating the whole process of printing. Sanguinololu can’t be put in use directly without uploading firmware............."

Please try it and reload again. Hope this can help.
Kling

Re: Trying to update firmware to Merlin on Sanguinololu boar

Posted: Thu Apr 30, 2015 10:21 am
by John LaBaff
Finally got the firmware to upload to the device. Now LCD screen is not showing anything on the display except blocks. What happened? The Repetier software can still control the printer.
Also trying to set the home points on the printer.