Go Down

Topic: Timeout when uploading through ft232 (Read 292 times) previous topic - next topic

victorjung

Hi, I tried to upload some sketch into different arduino boards (mega, uno, breadboard, homemade) using some ft232 boards from sparkfun, but I always get this error:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer

I tried different ft232 boards, with and without the 100nF capacitor between rst and dtr but doesn't want to work.
I also tried to remove the atmega328 from one of my uno, and use the board as a ft232  like converter...,
Nothing work...
I am thinking about a software issue, because I used this technique hundreds of times before to upload several arduino mini pro...

mart256

#1
Oct 06, 2014, 07:15 pm Last Edit: Oct 06, 2014, 07:18 pm by mart256 Reason: 1
Which SO and which drivers are you using.

hiduino

That's usually a symptom of the bootloader not starting.  The auto-reset circuit is not working correctly.  Try increasing the auto-reset capacitor to 1uF or 10uF instead of 100nF.

victorjung


Thank you verry much!

I got it to work with 10uF instead of 100nf.
But now i try to upload it in 3.3v (because my board is atmega328 3.3v 8mhz) and it don't works.
It works only if ft232 signals are in 3.3V, and the board powered up at  5v, but with both ft232 and atmega working at 3.3v, it doesn't work... any ideas why?

mart256



It works only if ft232 signals are in 3.3V, and the board powered up at  5v, but with both ft232 and atmega working at 3.3v, it doesn't



If board is 3V3, how did it not get damaged when you powered with FTDI 5V?

hiduino


But now i try to upload it in 3.3v (because my board is atmega328 3.3v 8mhz) and it don't works.
It works only if ft232 signals are in 3.3V, and the board powered up at  5v, but with both ft232 and atmega working at 3.3v, it doesn't work... any ideas why?


You need to check the ft232 board jumpers to see if it actually is running at 3.3V.  A bunch of SparkFun boards will say 3.3V but the jumpers default to 5V.  Which SF ft232 board do you have?

victorjung

Hey, I have this one, https://dlnmh9ip6v2uc.cloudfront.net/assets/3/1/c/f/1/51acdb85ce395fd23d000000.jpg
What i call a board, is just an atmega328 and few stuff soldered on a pcb.
As the atmega can work at 5v, I guess it's no big deal to power it at 5v.
If the ft232 give  3.3v or 5v signals, and the atmega powered up at 5v it works anytime.
But if  the ft232 give 3,3v signals with atmega at 3.3v it never works...
How is that possibe?

hiduino

That picture you posted is of the FTDI basic at 5V.  So it is not a 3.3V ft232.  It is running at 5V.

You can change the jumper on the back of that FTDI board to 3.3V, by cutting the 5V trace to the middle pad and solder a bridge to the 3.3V side.

victorjung

On mine i have default 3.3v, i had to jump it to get 5v

Go Up