I'm getting the same exact problem here, all of a sudden.
Thought it might be the new 009 app, since that is the only that's change since last I could upload to the board, so I tried 008 & 007, all produce the same results.
Also tried this on 3 different Macs, all throw the same error.
I have 2 other boards, but I'm afraid to try uploading to them, because I need the them to keep doing what they're doing.
Can you upload a program to the board from Windows or Linux using just a serial cable (no usb-to-serial converters)? Some USB-to-serial (and possibly your GeeThree serial port) don't work with Arduino serial boards, presumably because they don't implement some particular feature in the way avrdude or libusb expects them too.
I will try in on the windoze box, but I can't for the life of me find any DB9 serial cables now. Can't find mine, and can't afford to buy others, so I guess it'll wait unless I figure something out.
The stealth port should not be a problem. It is not an adaptor, in the usual sense - it's just that the OS sees its only serial port as a modem. The "adaptor" is little more than a TTL latch which snaps onto the board instead of the modem. So the serial port is a real native RS422 just like on older macs. I think iit's bizarre to emulate a regular serial port with USB when I have a regular serial port here. My system recognises it and Arduino defaults to it. It works for printing and MIDI so I am fairly certain that the port isn't the problem.
More likely would be the RS422->DB9 adaptor I made... It still looks fine but I guess I should check the continuity and my notes for correct pin assignment etc. After I get a few hours sleep!
It was all a very simple case of "do not believe everything you read on the internet". Mac serial is a kind of RS422, which is differential, I knew I needed to connect the -TX and -RX. I did a quick look online for a pin diagram, but whatever one I used had the positive and negative backwards. I switched them and now it works perfectly. All I need to do now... is learn how to program the Arduino!
So, yes, in case anybody else was wondering - the Stealth GeeThree serial port works fine, as likely do other modem-to-serial cards which work in a similar way. I've got another kind here somewhere which - if I can find it - I'm going to try stuffing in my Pismo laptop.
I had the same errors and this is what I did to fix it:
It all has to do with your COM port which can be accessed (for windows) under Control Panel/systems/hardware/device manager/ports
With the board hooked up to your computer you will see the USB COM port. Is this COM port number under 10? If not then go the advanced options for that USB port and rename it to a number lower than 10 and be sure that it is also not a number that is currently in use.
You will also have to change the bits per second for that same USB port (this is under port settings). You will need to change it to 115200.
Then when you are in the Arduino environment...select the new COM port number that you just renamed. That should do the trick!
If you are using a USB Arduino, you will need to install the drivers for the FTDI chip on the board. These can be found in the drivers/FTDI USB Drivers directory of the Arduino distribution. In the next step ("Connect the board"), you will point Window's Add New Hardware wizard to these drivers.
The latest version of the drivers can be found on the FTDI website.
hi all. I'm having the same not in sync problem. I've built the serial single sided, uploaded the bootloader, and can't upload the programs. I've tried with different versions and it doesnt wan't to work either. I tried connecting a couple leds to the Rx and Tx lines and get a single pulse in the Rx line and nothing else, changed baudrate, COM number, reset timings... nothing. I've noticed that the led on pin 13 flashes a couple times every ten seconds. Even when I try to upload a program (it takes about 20 seconds before the sync message apears) it flashes every ten seconds, as if nothing happened. Please help me becasue I've run out of ideas.
On a sidenote, the upload of the bootloader isn't working wery well. The verification almost always shows errors in some memory positions, sometimes more, sometimes less. I've to burn the upload seeral times until I get a error free verification. I dont know if this has some relationship with the other problem.
You're using Windows? How did you get the bootloader onto the board? Are you using the Arduino environment to upload the sketch?
The LED on pin 13 blinks every 10 seconds because of the bootloader. The fact that it does the same thing even when you try to upload makes it sound like no data is ever getting to the bootloader.
Have you checked the hardware with a meter to make sure everything's connected right?
I'm using win XP. I've uploaded the bootloader using the parallel programmer, I had to reburn a few times until the verification shows no errors. I'm using the latest Arduino enviornment to upload the scketch and it displays the no sync message when I try to upload. I tried older versions with no success.
My next aproach would be to remove the atmega from the socket and take measurements of the M8TXD and M8RXD lines, to see if the correct voltage is reaching the atmega. I'll take a look in the datasheet to see what voltage is required in these two pins and compare that with my measurements. What's the voltage level of the COM port? 5, 10 or 15v? How can I check that?
Thanks
EDIT
well, looks like the elder gods of electronics don't like me.
I built the Rx and Tx sections in a breadboard with some spare parts I had lying around. I asumed that the serial port works at 5 volts. these where the results:
Serial Rx(pin3) M8RXD
0v 5v
5v 0v
So far everything looks normal, when testing the Tx section looks like it depends also from the value of serial pin3:
Serial Rx M8TXD Serial Tx(pin2)
0v 0v 4.98v
5v 0v 5v
0v 5v slow drop from 0,3 to almost 0 when switching M8TXD from 0v to 5v
5v 5v slow drop from 5v to almost 0 when switching M8TXD from 0v to 5v
I obtained these results on the breadboard and measuring on the arduino board without the atmega in the socket. I don't like these two slow drops when switching the M8TXD, specially the last one, but since I got the same results in the breadboard I'm going to assume that it's normal. I checked the solder side and everything looks good. I've made measurements with the atmega back in the socket and M8TXD pin is always stuck in 5v, even when the small Rx pulse comes.
I don't know what else to do, I assume the board works fine. I don't know if there is some secret invisible thing I'm forgeting to check or what,I'm getting a bit frustrated with it.
Well, its 2 AM now... tomorrow I'm going to try it in another computer. Hopefully, somehow the problem will fix itself magically and the board will work on the first run...
Well, finally it worked ^_^. I swiched to an old muletto partition with XP and it worked fine. I't looks like there is some secret hidden software preventing me to use the serial port in the original partition, and I dont know why, because I disabled the antivirus, zonealarm and windows firewall. While I solve this at least I can still play using the other partition.
I solved the slow voltage drops from the previous post by removing the 10uF cap (C8 in the sch). I've put a piece of wire in it's place instead, it's work fine but... why is it there? Is there going to be any problem if I leave the circuit without the cap? And why is there a 1N4148 diode conecting it to the Rx pin? Later I'll try to solder the cap again and see if the board works.
And one final question, why the board uses the BC557 and BC547 for the inverters stage when a 7404N like the one used in the standalone Arduino can be fitted there? Yeah, you'll be wasting 4 inverters, but there'll be less components; less components to solder -> less probability of error. I'll try to modify the PCB for my next Arduino to see how it works. If it works I'll upload the files.
I'd appreciate if someone could answer these questions.
Thanks
I'm having problems getting my arduino to work. I know it's fine because I have I got it to work while on an arduino workshop. Currently using XP and have gone through the troubleshoot list. Anyone got any further with this?
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
What kind of Arduino is it? What does the LED on pin 13 do when you press the reset button on the board? What steps are you doing when you try to upload?
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
I'm using the latest drivers certified for Windows Vista.
The chip appears to be an Arduino Extreme v2, identified by the www.arduino.cc link under the Arduino label on the chip.
The PIN 13 LED never lights at all, not even when I press reset. I've watched a working version and it's very different.
The TX light flashes only once or twice with a large delay when I try to upload a sketch, which is very different from the working chip which flashed very fast many times.
I'm using Arduino 0011 Alpha version of the software. I also tried this on a Mac with the same and older software, and in all instances I got a different error saying the device is not responding.
I'm suspicious of the bootloader; the chip is checked out of a library, so I don't know who had it before me or what may have happened to it.
I have the same exact error : Arduino Diecimila, same avrdude error. mine came up when i shorted out the 5v pin to the gnd pin :-[ not the smartestpin 13 still flashes wierd when running on external power
I swapped my chip for an identical one at the library, and the new chip worked just fine. Whatever error was happening with the original chip was obviously a problem with the chip itself, not my computer configuration, since an identical chip worked fine on the same system with the same USB cable.
I still suspect the bootloader on the other chip is the problem, or some kind of common hardware failure/glitch with the chip.
I had this problem, try changing the usb port settings in the serial setting. This fixed it for me.
I don't think the arduino software knows when the decimilla is connected, just assumes that it is. When it gets no response it assumes an error in the avrdude rather than the board is on a different port and gives this error.
cheers,
Brian