SparkFun Forums 

Where electronics enthusiasts find answers.

Discussions on the software and hardware for Atmel's STK standard.
By Zotty
#104504
No matter what I do I can't get a new Arduino Pro mini 3v3 programmed using the FTDI breakout (also 3v3). Out of ideas I'm hoping someone here might have some suggestions.

Here's a summary of what's been happening so far. I've been using avrdude v5.10 running windows 7 and linux, both unsuccessful but with different results.

Running avrdude under win7 gives me this:
Code: Select all
avrdude -v -v -v -v -pm328p -b19200 -cSTK500v1 -PCOM11 -Uflash:w:default\musicplayer.hex:i

avrdude: Version 5.10, compiled on Jan 19 2010 at 10:45:23
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\WinAVR-20100110\bin\avrdude.conf"

         Using Port                    : COM11
         Using Programmer              : STK500v1
         Overriding Baud Rate          : 19200
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: Recv:
avrdude: stk500_getsync(): not in sync: resp=0x00

avrdude done.  Thank you.
When doing the same running linux a different error is given (same params, except -P/dev/ttyUSB0):
Code: Select all
avrdude: stk500_recv(): programmer is not responding
In both situations the red power LED is on and Tx on the FTDI breakout blinks when running avrdude. The first time avrdude is run the green LED does it's blinking thing (slow to fast), but under win7 only this first time. During subsequent runs it does not. This is different when using Linux when the green LED blinks each time avrdude is run.

Hope someone can help, as I'm completely stumped. Btw, I've programmed an Arduino Diecimila successfully on the same computer.
#104560
Solution found. Apparently the problem was the bitrate. All documentation I've read says 19200 or 9600 for really old arduinos, but nowhere is a baudrate of 57600 mentioned....

Hope this helps others:
Code: Select all
avrdude -v -v -v -v -pm328p -carduino -b57600 -PCOM11 -D -Uflash:w:<xxx>.hex:i