Trying to update firmware to Merlin on Sanguinololu board

John LaBaff
Posts: 7
Joined: Tue Apr 07, 2015 10:01 am

Trying to update firmware to Merlin on Sanguinololu board

Post by John LaBaff » Thu Apr 23, 2015 8:53 am

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?
Last edited by John LaBaff on Fri Apr 24, 2015 12:21 am, edited 1 time in total.

zhangxueyou
Posts: 1405
Joined: Fri Feb 06, 2015 1:33 pm

Re: Trying to update firmware to Merlin on Sanguinolou board

Post by zhangxueyou » Thu Apr 23, 2015 11:34 am

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.

John LaBaff
Posts: 7
Joined: Tue Apr 07, 2015 10:01 am

Re: Trying to update firmware to Merlin on Sanguinololu boar

Post by John LaBaff » Fri Apr 24, 2015 12:15 pm

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 21868 times

zhangxueyou
Posts: 1405
Joined: Fri Feb 06, 2015 1:33 pm

Re: Trying to update firmware to Merlin on Sanguinololu boar

Post by zhangxueyou » Fri Apr 24, 2015 4:54 pm

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.

John LaBaff
Posts: 7
Joined: Tue Apr 07, 2015 10:01 am

Re: Trying to update firmware to Merlin on Sanguinololu boar

Post by John LaBaff » Fri Apr 24, 2015 8:40 pm

Is there a way to verify firmware version?

zhangxueyou
Posts: 1405
Joined: Fri Feb 06, 2015 1:33 pm

Re: Trying to update firmware to Merlin on Sanguinololu boar

Post by zhangxueyou » Sat Apr 25, 2015 9:23 am

No version, because the firmware is open source.

John LaBaff
Posts: 7
Joined: Tue Apr 07, 2015 10:01 am

Re: Trying to update firmware to Merlin on Sanguinololu boar

Post by John LaBaff » Sat Apr 25, 2015 11:11 am

Is there a way to verify that Merlin is what is already burned?

zhangxueyou
Posts: 1405
Joined: Fri Feb 06, 2015 1:33 pm

Re: Trying to update firmware to Merlin on Sanguinololu boar

Post by zhangxueyou » Sat Apr 25, 2015 2:06 pm

John LaBaff wrote:Is there a way to verify that Merlin is what is already burned?
Sorry, I don't get your point.

kling
Posts: 2
Joined: Sun Apr 26, 2015 11:14 am

Re: Trying to update firmware to Merlin on Sanguinololu boar

Post by kling » Sun Apr 26, 2015 6:34 pm

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

John LaBaff
Posts: 7
Joined: Tue Apr 07, 2015 10:01 am

Re: Trying to update firmware to Merlin on Sanguinololu boar

Post by John LaBaff » Thu Apr 30, 2015 10:21 am

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.

Post Reply