Pages: [1]   Go Down
Author Topic: [Problem] avrdude: stk500_getsync(): not in syn  (Read 1544 times)
0 Members and 1 Guest are viewing this topic.
Santiago de Chile
Offline Offline
Newbie
*
Karma: 0
Posts: 21
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I have the following problem trying to upload a very simple program. This is the program:
Quote
avrdude: Version 5.4-arduino, compiled on Oct 22 2007 at 13:15:12
         Copyright (c) 2000-2005 Brian Dean,

         System wide configuration file is "hardware/tools/avrdude.conf"
         User configuration file is "/home/roberto/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port            : /dev/ttyUSB0
         Using Programmer      : stk500v1
         Overriding Baud Rate  : 19200
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: Recv: . [06]
avrdude: stk500_getsync(): not in sync: resp=0x06
avrdude: Send: Q [51]   [20]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding

The program is:
Quote
#define BAUDIOS 9600
boolean ejecutar = true;
void setup(){
    Serial.begin(BAUDIOS);
}

void loop(){
  if(ejecutar){
    Serial.println("AT+iRP11");
    ejecutar=false;
  }
}

I have discarded a problem in the hardware, because if only i had the arduino board conected to the usb port and nothing conected to it, the program upload without problems, so I suspect that my circuit it has a problem, (but it is working). The circuit is in the next post (i can upload images with my first post):


I'm not an expert with this, but i thing that it's posible to get the main idea.

Someone can give me a hand?

Thanks a lot!
Roberto
Logged

Santiago de Chile
Offline Offline
Newbie
*
Karma: 0
Posts: 21
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The image of the circuit is here.

Thanks for the help!
Roberto
Logged

Santiago de Chile
Offline Offline
Newbie
*
Karma: 0
Posts: 21
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I have discovered that if I disconnect the pin of TX and RX of arduino, the problem it's avoided.
Now, i'm curious to know what is the reason of this. Anybody know?
Roberto
Logged

United States (Texas)
Offline Offline
God Member
*****
Karma: 3
Posts: 525
Arduino socks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i cant see your circuit, but if you have anything on pins 0 or 1 while you try to upload, you can run into problems. those are the pins that connect to the usb interface, and if something else is connected to them, it can interfere with the signals causing a failed program upload. you cant have more than one serial device on the serial lines at a time, if one were to go high and the other low, or the both wrote high one after another, the data would get garbled.
« Last Edit: March 19, 2009, 07:02:52 pm by weirdo557 » Logged

Santiago de Chile
Offline Offline
Newbie
*
Karma: 0
Posts: 21
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for your answer. Yesterday I conclude the same... This allow me to understand another things!
Thank you again!.
Roberto
Logged

Pages: [1]   Go Up
Jump to: