Welcome! Log In Create A New Profile

Advanced

I can not upload marlin to sanguinololu board error avrdude: stk500_getsync()

Posted by Dschiri1 
I can not upload marlin to sanguinololu board error avrdude: stk500_getsync()
July 04, 2017 11:42AM
Hi any help would be appreciated

I am presently running a 3d sprinter setup. I can connect sanguinololu with Pronterface and run 3d Printer on my computer. So hardware/computer connection is OK. I wanted to add graphic display to my printer so I wanted to upgrade to Marlin but Im having a tough time getting it to upload. I upgraded my IDE to current version and I'm having a hell of a time uploading file to sanguinololu board. Ive checked everything i can think of

Board: "sanguino"
Processor: ATmega1284 or ATmega1284P (16Mhz)
Port: Com3
Programmer: AVR ISP

When I select board info

BN: unknown board
VID: 0403
PID: 6001
SN: Upload any sketch to obtain it

When I select Serial Monitor. I get this in the window so it is talking to the board

Sprinter
1.3.11T / 19.03.2012
start
SD Start
SD init fail
Soft PWM Init
Planner Init
Stepper Timer init
Free Ram: 12734
Plan Buffer Size:1152 / 16


Every time I try to compile and upload I get this message

Arduino: 1.8.3 (Windows 10), Board: "Sanguino, ATmega1284 or ATmega1284P (16 MHz)"

Sketch uses 106528 bytes (81%) of program storage space. Maximum is 130048 bytes.
Global variables use 4611 bytes (28%) of dynamic memory, leaving 11773 bytes for local variables. Maximum is 16384 bytes.
E:\Arduino\hardware\tools\avr/bin/avrdude -CE:\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega1284p -carduino -PCOM3 -b115200 -D -Uflash:w:C:\Users\D\AppData\Local\Temp\arduino_build_101790/Marlin_sanguinolu.ino.hex:i

avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53
Copyright (c) 2000-2005 Brian Dean, [www.bdmicro.com]
Copyright (c) 2007-2014 Joerg Wunsch

System wide configuration file is "E:\Arduino\hardware\tools\avr/etc/avrdude.conf"

Using Port : COM3
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x53
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x44
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x20
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x69
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x6e
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x69
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x74
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x20
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x66
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x61

avrdude done. Thank you.

An error occurred while uploading the sketch

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Ive spent about 10 hour on this problem to no solution. Any suggestion would be appreciated

dschiri1
Re: I can not upload marlin to sanguinololu board error avrdude: stk500_getsync()
July 07, 2017 03:35PM
I don't know if this is of any help...

But I remember vaguely to have had a similar problem a while ago with my Sanguinololu and IIRC arduino 1.6.5. It turned out to be a problem with the baud rate.
I had to modify the corresponding speed parameter in the Sanguino's boards.txt from 115200 to 57600, then I could upload correctly.
Re: I can not upload marlin to sanguinololu board error avrdude: stk500_getsync()
August 03, 2017 08:14PM
I finally connected to sanguinololu.

I couldn't get it to connect normally via USB. So I purchased the Pololu USBAVR V2 From Pololu.com. It came with everything you need to connect with Sanguinololu except USB cable. Costs about 20 bucks with shipping.

Read pololu installation instructions. Very important. Download drivers from there website. installs with out a problem. Plug in US VAVR ggod to go.

I was able to connect to the Sanguinololu through the 6pin serial interface on the board(6 Pins in the corner)

How
I was selected programmer "Atmel STK500 development board" and com 3 under Tools tab.

I compiled and downloaded sketch via "upload using programmer" under Sketch tab.

Its a roundabout way but it works.

Now if I can only fix my sketch. I was playing with settings and screwed up sketch now I cant compile it. I try to fix it tonight.
Sorry, only registered users may post in this forum.

Click here to login