Welcome! Log In Create A New Profile

Advanced

Sanguinololu not connecting, error when uploading

Posted by peqo 
Sanguinololu not connecting, error when uploading
February 21, 2012 08:46PM
When I plug in my Sanginololu, device manager does not acknowledge a connection.
Uploading a sketch produces this error:

avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

The power led is on.
I re-soldered my FTDI chip and re-checked the connections.
I re-burnt the bootloader.
Yes, I have a jumper on AUTO-RST and I tried pushing the reset button while I uploaded.
Since it gives "resp=0x51" that means the FTDI chip responds, right?
What should I do?

EDIT:
By resoldering the FTDI pins again, I got it to connect, but now it is an unknown device in device manager, and hitting properties gives this error: "Windows has stopped this device because it has reported problems. (Code 43)"

Edited 1 time(s). Last edit at 02/21/2012 10:53PM by peqo.
Re: Sanguinololu not connecting, error when uploading
February 23, 2012 05:56AM
if U have new one Atmega U need to set FuseBits via external program.
Factory settings for Atmega: internal oscilator 1Mhz, JITAG enabled, CKDIV8 enabled.
U need to change: external oscilator >8MHz, JITAG off, uncheck CKDIV8
check Atmega - 644 or 644P - Sprinter's firmware is set for Atmega 644P. If U have Atmega 644 - need to change pins.h file and boards.txt

After this changes conectinng and uploading via Arduino without problems (I had same problem few days ago when I put 644 to Sanguinololu 1.3a board)

Edited 3 time(s). Last edit at 02/25/2012 02:50PM by codec.
I have the same problem and bought an Atmega 644P.
Any idea of what it could be ?
Here is a more precise description of the problem I have :

When I plug in my Sanginololu, device manager does not acknowledge a connection.
Uploading a sketch produces this error :

avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

The power led is on.
I have an Atmega 644P and the bootloader is burnt.
I tested the SMT as in this video : [www.youtube.com] and everything is working fine.
I put a jumper on AUTO-RST and I tried pushing the reset button while I uploaded. I still get the error message

I am using Spinter (kliment-Sprinter-6d5a329) with Arduino-0018 and Sanguino-0018r2
Do you have any idea of what could be going on ?

You can find a picture of my Sanguinololu here :
[hpics.li]
[hpics.li]
Re: Sanguinololu not connecting, error when uploading
March 31, 2012 09:38AM
Im getting the same error message with gen 6 electronics! help


Ryan
Quality Engineer & Hobbyist
thingsandtrains.blogspot.com
Re: Sanguinololu not connecting, error when uploading
April 14, 2012 02:57PM
Did you figure this out? I have the exact same issue for my Sanguinololu. I also followed all the steps you went through. I soldered the board from scratch so I am hoping something didn't go wrong although my computer does recognize it properly.
Re: Sanguinololu not connecting, error when uploading
April 16, 2012 01:50AM
Those error messages could have something to do with the FT232RL not communicating well with the 644p chip. Check the tx and rx lines(pins 1,5 on FT232RL) with reference to the schematic and make sure you get good contacts. Also, check that the DTR line(pin2 on FT232RL) and the cap connected to the reset line is 0.1uf and is soldered properly.

Also, try Arduino 0022 and get the Sanguino patch included in the Marlin Firmware download, reburn bootloader.

Edited 1 time(s). Last edit at 04/16/2012 02:41AM by royco.
Re: Sanguinololu not connecting, error when uploading
April 19, 2012 12:25AM
Hi Royco,
The contacts seem fine for me although Im no expert. If I can communicate via Putty to the FTDI chip would this rule that out? Is there any other explanation?

I posted more info here for my issues [forums.reprap.org]
Did you guys sort it out? I'm having the exact same problem. FTDI was presoldered, the rest of the soldering was done by me. The 644P, bootloader and firmware (sprinter) were tested before it was shipped.
Re: Sanguinololu not connecting, error when uploading
May 12, 2012 01:50PM
I couldn't sort it out because I couldn't figure out how to diagnose the issue. I just ordered a assembled board to see if I can compare my soldering to the one I purchased.....
gnu
Re: Sanguinololu not connecting, error when uploading
July 23, 2012 04:43PM
I solved this by downgrading sanguino from Sanguino-0023r4 to Sanguino-0023r3. After that it worked like a charm!
Re: Sanguinololu not connecting, error when uploading
October 31, 2012 10:43AM
yehaaaa... thank you..... this is the solution........

gnu Wrote:
-------------------------------------------------------
> I solved this by downgrading sanguino from
> Sanguino-0023r4 to Sanguino-0023r3. After that it
> worked like a charm!
Sorry, only registered users may post in this forum.

Click here to login