How to upload the firmware to Sanguinololu

andy01842
Posts: 4
Joined: Tue May 17, 2016 2:39 am

Re: How to upload the firmware to Sanguinololu

Post by andy01842 » Tue May 17, 2016 5:55 am

How do I get "Sanguino" to show under the tools/boards menu it is not their?

andy01842
Posts: 4
Joined: Tue May 17, 2016 2:39 am

Re: How to upload the firmware to Sanguinololu

Post by andy01842 » Tue May 17, 2016 9:02 pm

I have followed all the instructions but do not have the "Sanguiro W/AT mega 1284 from the Boards menu and therefor cannot upload the firmware to the controller. How do i add the board to the menu? I can verify ok but not upload it times out with the board not selected correctly

Mat2Vence
Posts: 1
Joined: Mon Feb 20, 2017 4:38 am

Re: How to upload the firmware to Sanguinololu

Post by Mat2Vence » Mon Feb 20, 2017 5:56 am

When I try to upload the code after compilation, I am getting error message :

Code: Select all

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xe1
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x73
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x90
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x6c
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xfc
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x30
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x7d
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xc3
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x35
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x39
Look strange to me. I have the correct COM port, but it looks like the communication is node made between the ARduino IDE and the Sanguinololu card. For the programming mode, I am using the one I am use to use with ARduino board that is ARVISP mkII. Should I use something else?

bang
Posts: 402
Joined: Wed Dec 28, 2016 2:12 pm

Re: How to upload the firmware to Sanguinololu

Post by bang » Tue Feb 21, 2017 10:31 am

Mat2Vence wrote:When I try to upload the code after compilation, I am getting error message :

Code: Select all

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xe1
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x73
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x90
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x6c
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xfc
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x30
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x7d
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xc3
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x35
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x39
Look strange to me. I have the correct COM port, but it looks like the communication is node made between the ARduino IDE and the Sanguinololu card. For the programming mode, I am using the one I am use to use with ARduino board that is ARVISP mkII. Should I use something else?
The right firmware,Arduino version(1.0.1) and board type as this post?

tzupi
Posts: 2
Joined: Thu Apr 20, 2017 5:06 am

Re: How to upload the firmware to Sanguinololu

Post by tzupi » Thu Apr 20, 2017 5:13 am

I have the very same problem.

I have a full aluminium prusa i3 with the upgraded lead screw (sanguino atmega1284p), downloaded the firmware,
using Arduino 1.0.1 (with the sanguino addon), with the newest FTDI drivers. Tried on Windows 10 and OSX 10.10.2 as well.
Started the upload and got the "avrdude: stk500_getsync(): not in sync: resp=0x00" error.

Have to upgrade the firmware because I have to reduce the stepping on the Z axis because of the lead screw.
At the moment the printer is useless unfortunately.

User avatar
William
Site Admin
Posts: 4482
Joined: Tue Jun 07, 2016 9:38 am

Re: How to upload the firmware to Sanguinololu

Post by William » Fri Apr 21, 2017 10:28 am

tzupi wrote:I have the very same problem.

I have a full aluminium prusa i3 with the upgraded lead screw (sanguino atmega1284p), downloaded the firmware,
using Arduino 1.0.1 (with the sanguino addon), with the newest FTDI drivers. Tried on Windows 10 and OSX 10.10.2 as well.
Started the upload and got the "avrdude: stk500_getsync(): not in sync: resp=0x00" error.

Have to upgrade the firmware because I have to reduce the stepping on the Z axis because of the lead screw.
At the moment the printer is useless unfortunately.
Hi,I think the board setting in Arduino is wrong,it should be set like the attachments showing.You can check more detail in the following link:http://www.geeetech.com/forum/viewtopic ... 20&t=16433.
Attachments
1.png
1.png (308.56 KiB) Viewed 7855 times
-Keep your mind and try to test it. :)
-Everything will be fun!-Support all Getech printer.
-You can ask me the questions and I will kindly reply.
-Respect others is the best way you can get help!

tzupi
Posts: 2
Joined: Thu Apr 20, 2017 5:06 am

Re: How to upload the firmware to Sanguinololu

Post by tzupi » Fri Apr 21, 2017 3:25 pm

Thanks for the answer! I was not clear but I had that board chosen.
Although fortunately I found the solution and I will write it down to here for anyone. It would spare a couple of hours of googling.

1. Error during the compile : using typedef-name 'fpos_t' after 'struct'

Use Arduino 1.0.1, because the newest versions have different command set and Geeetech use the old one.
You can find it on the Arduino page

2. Again an error during the compile : #error Oops! Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu.

Download the Sanguino addon the Arduino from here : https://github.com/Lauszus/Sanguino
Locate your sketch folder : you can find it in the settings where it is exactly (user/Documents/Arduino on OSX, something similar on Windows 10)
Copy the Sanguino folder to there. After that you will see the "Sanguino W/ ATmega1284 or ATmega1284P (16MHz)" in the board list, and that is what you will need.

3. After compile, it pause a while before uploading then drops that error : avrdude: stk500_recv(): programmer is not responding

Locate the boards.txt in the Sanguino folder and edit it. Search for the Sanguino W/ ATmega1284 or ATmega1284P (16MHz),
and change its baud settings. It was 115200 for me originally. Set to 57600 than the uploading was successful.

Of course the rest is important as well, but you probably had these steps already:

- install the FTDI driver : http://www.ftdichip.com/Drivers/VCP.htm
- Set the correct port in the Arduino settings
- Make sure the controller can communicate with the PC (I had no problem controlling the printer from Slic3r or Repetier)
- Some mentioned to not use USB HUB but use direct connect to the PC. I am using via HUB without issue, but maybe it would help to you.

Happy printing :)

User avatar
William
Site Admin
Posts: 4482
Joined: Tue Jun 07, 2016 9:38 am

Re: How to upload the firmware to Sanguinololu

Post by William » Fri Apr 21, 2017 4:54 pm

Thanks for your experience sharing. :D
-Keep your mind and try to test it. :)
-Everything will be fun!-Support all Getech printer.
-You can ask me the questions and I will kindly reply.
-Respect others is the best way you can get help!

Ddman114
Posts: 8
Joined: Mon Aug 07, 2017 12:14 am

Re: How to upload the firmware to Sanguinololu

Post by Ddman114 » Wed Aug 30, 2017 6:08 am

Someone help! every time i try to upload the firmware i get the error
avrdude stk500_getsync() not in sync resp=0x00
i cant find a solution

bummer6
Posts: 0
Joined: Wed Nov 01, 2017 3:06 am

Re: How to upload the firmware to Sanguinololu

Post by bummer6 » Wed Nov 01, 2017 4:40 pm

[quote=Ddman114 post_id=77004 time=1504044482 user_id=60662]
Someone help! every time i try to upload the firmware i get the error
avrdude stk500_getsync() not in sync resp=0x00
i cant find a solution
[/quote]

Same here. Been trying to solve it for days with no luck.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests