i just want to get my usb to serial devices working ,its not rocket science but theres a small glitch somewhere as not everybody has the same problem.
looking at youtube theres complaints on there with varying replies
http://www.youtube.com/watch?v=zGZx3Y9bHv4
Not in sync - error message
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 27
- Joined: Sat Aug 18, 2012 10:48 am
Re: Not in sync - error message
I have wasted so much of my time with this stupid thing. I am still fiddling around with it. I still have more things to try, and I won't give up until I get some kind of result. Even if that means buying some pre bootloaded chips.
But I will say this much, the Arduino does not impress me. It is a pain in the ass. Once I have a completed project put together, I will probably throw this rubbish in the bin, and buy a better quality product elsewhere. When it is this difficult and confusing to do nothing more than put a bootloader on to a chip, this tells me the Arduino has bugs, and was not thoroughly tested before being released. I haven't given up yet, but I certainly won't be recommending this piece of rubbish to any of my friends.
If I find a unit that works better than the Arduino, I will come on this forum and let other people know what to buy, so they don't waste their time or money with this thing also.
But I will say this much, the Arduino does not impress me. It is a pain in the ass. Once I have a completed project put together, I will probably throw this rubbish in the bin, and buy a better quality product elsewhere. When it is this difficult and confusing to do nothing more than put a bootloader on to a chip, this tells me the Arduino has bugs, and was not thoroughly tested before being released. I haven't given up yet, but I certainly won't be recommending this piece of rubbish to any of my friends.
If I find a unit that works better than the Arduino, I will come on this forum and let other people know what to buy, so they don't waste their time or money with this thing also.
-
- Posts: 27
- Joined: Sat Aug 18, 2012 10:48 am
Re: Not in sync - error message
The Arduino is cheap, but poorly designed. Better to spend more money, and get a better quality product that works, and won't give you a headache.
-
- Posts: 66
- Joined: Thu Jul 12, 2012 5:19 pm
Re: Not in sync - error message
In case of an arduino pro not working, I would first eliminate that as a source of trouble, by reprogramming it, or reading what was installed on it already, and if it is what should be expected. If that already fails, then nothing will work because you are talking with the chip directly. Then if you know the chip has the right content for the type and voltage of the arduino (since there are 3.3v and 5v arduino pros), and blink is working correctly, you can see what else can be wrong.
With fixing problems with computers, often it's better to start finding out what is working right, so you an eliminate those things. Without knowing what is right, everything can be wrong.
With fixing problems with computers, often it's better to start finding out what is working right, so you an eliminate those things. Without knowing what is right, everything can be wrong.
-
- Posts: 27
- Joined: Sat Aug 18, 2012 10:48 am
Re: Not in sync - error message
I just got it to work.....finally. He sighs a big sigh of relief. Finally managed to download the Arduino ISP to the target chip, and get the thing working. Took me until 3 0 clock in the morning, but at least it's done. Hip hip hooray
-
- Posts: 66
- Joined: Thu Jul 12, 2012 5:19 pm
Re: Not in sync - error message
I assume you mean the bootloader? ArduinoISP is the sketch that you should run on the arduino that is used to program the seperate 328p's.Stevelxxxxx wrote:download the Arduino ISP to the target chip
-
- Posts: 27
- Joined: Sat Aug 18, 2012 10:48 am
Re: Not in sync - error message
I couldn't download the Arduino ISP, or get the boards to communicate in sync. That much has been achieved. I managed to run blink with the two boards wired together. Couldn't do that before, so some progress has been made.
Wody - are you one of the engineers who made this device?
Wody - are you one of the engineers who made this device?
-
- Posts: 66
- Joined: Thu Jul 12, 2012 5:19 pm
Re: Not in sync - error message
Not at all! I'm not an engineer even. But I am a reasonable programmer, and these devices are very simple compared to what you had to know in the 80's and 90's to get microprocessors going. Of course much of that is the programming-environment like the arduino-ide, but also the hardware itsself is a lot more forgiving.Stevelxxxxx wrote:Wody - are you one of the engineers who made this device?
Even then things can and do go wrong, and can be broken, so it can be difficult to figure things out sometimes.
-
- Posts: 29
- Joined: Wed Aug 15, 2012 12:29 pm
Re: Not in sync - error message
i managed to get the uno board loaded with a sketch via the FTDI board after pressing the reset button ,but it wouldnt load a sketch onto a Xino board with a fresh 328 on board .no progress on the sketch onto a pro mini yet
-
- Posts: 66
- Joined: Thu Jul 12, 2012 5:19 pm
Re: Not in sync - error message
Remember from the ArduinoISP page at http://arduino.cc/en/Tutorial/ArduinoISP/ that you'll need to connect a 10 uF capacitor between reset and ground (after uploading the ArduinoISP sketch).
It prevents the Uno from resetting itsself instead of the chip it wants to program.
If it's just about the ftdi, all I know is from http://arduino.cc/en/Guide/ArduinoProMini where it says that the pins may be reversed between some of them, so you have to check that you are connecting it right.
It prevents the Uno from resetting itsself instead of the chip it wants to program.
If it's just about the ftdi, all I know is from http://arduino.cc/en/Guide/ArduinoProMini where it says that the pins may be reversed between some of them, so you have to check that you are connecting it right.
-
- Posts: 29
- Joined: Wed Aug 15, 2012 12:29 pm
Re: Not in sync - error message
this says a slightly different version ....
http://www.arduino.cc/cgi-bin/yabb2/YaB ... 1266940534
between dtr and reset
http://www.arduino.cc/cgi-bin/yabb2/YaB ... 1266940534
between dtr and reset
-
- Posts: 66
- Joined: Thu Jul 12, 2012 5:19 pm
Re: Not in sync - error message
The capacitor between DTR and reset is for the auto-reset function. When the atmega processor detects a low voltage on the reset-pin for a certain period, it will automaticly reset itsself. And, that capacitor stores power long enough for that to happen.
So, that capacitor is already installed on almost all arduinos. Unfortunatly, that text is not clear if it needs it between the reset-pin of the target-processor, or the uno. Since it says 'you need access to the reset pin on the target board' I am guessing that when the uno sends (or removes really) the voltage to the reset pin, it doesn't take away enough, so the target-processor doesn't detect a reset, and can't be programmed. Then this capacitor is big enough to take away just enough voltage so that the uno can take the rest of it away and reset the target, but not enough to cause it to reset all the time.
So, that capacitor is already installed on almost all arduinos. Unfortunatly, that text is not clear if it needs it between the reset-pin of the target-processor, or the uno. Since it says 'you need access to the reset pin on the target board' I am guessing that when the uno sends (or removes really) the voltage to the reset pin, it doesn't take away enough, so the target-processor doesn't detect a reset, and can't be programmed. Then this capacitor is big enough to take away just enough voltage so that the uno can take the rest of it away and reset the target, but not enough to cause it to reset all the time.
-
- Posts: 29
- Joined: Wed Aug 15, 2012 12:29 pm
Re: Not in sync - error message
so why then doesnt the FTDI cable sold my sparkfun have a cap in the dtr line ?
or mention one being needed ..
that may explain why i cant load a sketch to the pro mini ,but can do the uno ok
or mention one being needed ..
that may explain why i cant load a sketch to the pro mini ,but can do the uno ok
-
- Posts: 66
- Joined: Thu Jul 12, 2012 5:19 pm
Re: Not in sync - error message
I imagine the sparkfun didn''t have it because it can be used for other devices too, but the latest revision does have it like that.
Anyway, it is extremely useful, and makes things incredibly more easy, but it's still possible to do another way if you have to, because you can reset the processor manually (through a button for example), a couple of seconds before uploading (search for reset on http://arduino.cc/en/Guide/troubleshooting#toc1
That will activate the bootloader, which then goes to try the sync-process.
Anyway, it is extremely useful, and makes things incredibly more easy, but it's still possible to do another way if you have to, because you can reset the processor manually (through a button for example), a couple of seconds before uploading (search for reset on http://arduino.cc/en/Guide/troubleshooting#toc1
That will activate the bootloader, which then goes to try the sync-process.
-
- Posts: 27
- Joined: Sat Aug 18, 2012 10:48 am
Re: Not in sync - error message
Hello, anybody, can somebody help.
I am trying to burn a bootloader on to a blank atmega 328p micro processor, so I can run code then take the chip away and put it into my own stand alone board.
I have bought 2 Arduino Uno boards.
I have wired them up as per www.arduino.cc/en/Tutorial/ArduinoISP/ The first diagram you see.
It says open the Arduino ISP firmware. It says select the items in the Tools > Board and Serial Port (menus that correspond to the board you are using as the programmer, not the board being programmed.
I have done this. It says upload the Arduino ISP sketch.
It also says connect a 10uf capacitor between reset and ground after uploading the Arduino ISP sketch. I don't know why it says this. I managed to successfully upload the Arduino ISP, but only after I had connected the 10uf capacitor between reset and ground on the target board, before uploading the Arduino ISP sketch.
Now that task has been done. I went in to Examples, and uploaded the Arduino ISP, without getting a not in sync error.
What now? What do I do now?
I went to steps 6 and 7. Select Tools > Board, menu that corresponds to the board on which you want to burn the bootloader (not the board you're using as the programmer).
Then step 7. Use the Burn Bootloader>Arduino as ISP command.
Up until this point everything was fine. As soon as I do step 7, I get a not in sync error.
What am I supposed to do now.
I initially made up a board from the www.arduino.cc/en/TutorialToBreadboard page, to burn a bootloader. Then I read; Note these techniques only work with the Arduino Duemalinove w/ an ATmega 328, not the Arduino Uno or older boards.
There is a lot of information out there, but so much of it is scattered and confusing.
I would just like to know, if possible, once you have uploaded the Arduino ISP to a target board, in this instance I used 2 Arduino Uno boards to do it.
Once you have done this, what is the next step? Does anybody know?
I am trying to burn a bootloader on to a blank atmega 328p micro processor, so I can run code then take the chip away and put it into my own stand alone board.
I have bought 2 Arduino Uno boards.
I have wired them up as per www.arduino.cc/en/Tutorial/ArduinoISP/ The first diagram you see.
It says open the Arduino ISP firmware. It says select the items in the Tools > Board and Serial Port (menus that correspond to the board you are using as the programmer, not the board being programmed.
I have done this. It says upload the Arduino ISP sketch.
It also says connect a 10uf capacitor between reset and ground after uploading the Arduino ISP sketch. I don't know why it says this. I managed to successfully upload the Arduino ISP, but only after I had connected the 10uf capacitor between reset and ground on the target board, before uploading the Arduino ISP sketch.
Now that task has been done. I went in to Examples, and uploaded the Arduino ISP, without getting a not in sync error.
What now? What do I do now?
I went to steps 6 and 7. Select Tools > Board, menu that corresponds to the board on which you want to burn the bootloader (not the board you're using as the programmer).
Then step 7. Use the Burn Bootloader>Arduino as ISP command.
Up until this point everything was fine. As soon as I do step 7, I get a not in sync error.
What am I supposed to do now.
I initially made up a board from the www.arduino.cc/en/TutorialToBreadboard page, to burn a bootloader. Then I read; Note these techniques only work with the Arduino Duemalinove w/ an ATmega 328, not the Arduino Uno or older boards.
There is a lot of information out there, but so much of it is scattered and confusing.
I would just like to know, if possible, once you have uploaded the Arduino ISP to a target board, in this instance I used 2 Arduino Uno boards to do it.
Once you have done this, what is the next step? Does anybody know?
Please be positive and constructive with your questions and comments.