Welcome! Log In Create A New Profile

Advanced

avrdude error with sprinter

Posted by Anthrochick 
avrdude error with sprinter
September 11, 2012 02:45PM
I know a lot of people have posted issues that they have had uploading new firmware to the atmega but from what I have found, most of these have to do with the Atmega 644. Currently, I am working with a sanguinololu board (v 1.3), with atmega 1284p and arduino 1.0.1. The problem I am having has to do with the error:
avrdude: stk500_getsync() : not in sync: resp=0x00
I have tried compiling with every programmer (it was worth a shot) but no matter what I do I still get the same error. Does anyone know what the error refers to or what causes it?

Is this only a problem with sanguinololu or have other boards had this issue?

thanks for your help!

Update: I just tried uploading again and this time, it spit out even more erros at me. There was nothing that I had changed between last night when it kept showing the above error and this morning and yet it gave an error I've never seen before, let alone being something that I altered.

here are the new errors:





heater.cpp:297: error: expected unqualified-id before 'if'
heater.cpp:300: error: expected constructor, destructor, or type conversion before '=' token
heater.cpp:303: error: expected constructor, destructor, or type conversion before '=' token
heater.cpp:310: error: expected constructor, destructor, or type conversion before '=' token
heater.cpp:318: error: expected unqualified-id before 'if'
heater.cpp:321: error: expected unqualified-id before 'if'
heater.cpp:357: error: expected unqualified-id before 'if'
heater.cpp:362: error: expected unqualified-id before 'if'
heater.cpp:376: error: expected constructor, destructor, or type conversion before '=' token
heater.cpp:379: error: expected constructor, destructor, or type conversion before '=' token
heater.cpp:380: error: expected constructor, destructor, or type conversion before '=' token
heater.cpp:382: error: expected constructor, destructor, or type conversion before '=' token
heater.cpp:384: error: expected unqualified-id before 'if'
heater.cpp:395: error: expected unqualified-id before 'if'
heater.cpp:396: error: expected unqualified-id before 'if'
heater.cpp:397: error: expected unqualified-id before 'if'
heater.cpp:399: error: expected constructor, destructor, or type conversion before '=' token
heater.cpp:400: error: expected constructor, destructor, or type conversion before '+=' token
heater.cpp:401: error: expected constructor, destructor, or type conversion before '=' token
heater.cpp:404: error: expected unqualified-id before 'if'
heater.cpp:406: error: expected unqualified-id before 'else'
heater.cpp:444: error: expected unqualified-id before 'if'
heater.cpp:447: error: expected constructor, destructor, or type conversion before '=' token
heater.cpp:476: error: expected unqualified-id before 'if'

Update 2: After uninstalling and reinstalling everything, including arduino, I'm recieving this error message now:

In file included from arc_func.cpp:25:
/Configuration.h:353:2: error: #endif without #if

What am I doing wrong? I am following the directions on the reprap wiki as well as on make something for marlin. I'm at a complete loss.

Edited 2 time(s). Last edit at 09/12/2012 02:53PM by Anthrochick.


Bringing 3D printing to America's classrooms.

Follow my efforts at TheChicksNest.blogspot.com
Re: avrdude error with sprinter
September 20, 2012 08:46PM
These are compiler errors..

The issue is probbly that you are using arduino 1.0.1, Sprinter and marlin main branch both still need arduino 0023 (last Ilooked)
There are other branches working on arduino 1.0.1 compatability
Re: avrdude error with sprinter
October 07, 2012 01:38AM
Configure your serial port baud rate to 38400. On windows, do this in the device manager. Also, edit the boards.txt file in the sanguinololu hardware directory, and change the upload baudrate there as well.
Re: avrdude error with sprinter
November 03, 2012 02:03AM
"avrdude: stk500_getsync() : not in sync: resp=0x00"

You could not program through USB, this represents the bootloader in the Microcontroller is missing

Program the bootloader to your Microcontroller and then try with Arduino so it should work!

Burning Bootloader - a page from Reprap for burning bootloader
Re: avrdude error with sprinter
November 07, 2012 04:26AM
Hi Anthrochick,

What helped me (with the 644 though) is holding the reset button until the memory quote displays in white, quickly release it and it programs fine.
No clue why, no clue if it'll help but it's the same response as mine had when programming.. so try it!
Sorry, only registered users may post in this forum.

Click here to login