problems with Duemilanove

For makers who have purchased an Adafruit Starter Pack, get help with the tutorials here!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
rmckin6412
 
Posts: 6
Joined: Wed Mar 10, 2010 10:10 pm

problems with Duemilanove

Post by rmckin6412 »

Hi,

I just received my Arduino Duemilanove (assembled) board. I went through the tutorials and have done the following--

Downloaded the software environment.
Connected the board via USB cable.
Went through the procedure of installing the drivers.
Loaded the environment.
Selected the board. (the first one)
Selected the port. (Com 3)
Loaded blink.
Compiled and verified.
Attempted up load.
I get these errors;

avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

I also have tried changing baud rate and ports.
Green light is on. Yellow light blinking. No Tx or Rx lights upon upload.
Examining the board there does appear to be a solder blob between pins 2,3,4 on the the FT232RL chip. The pins are too small for me to determine if there is a short.

Any help would be greatly appreciated!

Thanks
Ron

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: problems with Duemilanove

Post by adafruit »

try a different USB port and cable. these can be trouble
also make sure you have the right board selected. check again.
restart the arduino software

rmckin6412
 
Posts: 6
Joined: Wed Mar 10, 2010 10:10 pm

Re: problems with Duemilanove

Post by rmckin6412 »

Hey Adafruit,

Thanks for the reply.

OK, I tried another USB cable and two more USB ports and get the same result. I also tried several COM port selections including COM3, 4, 5, 6 making sure the port was selected within Arduino. I also tried baud rates of 9600, 19200 and 57600. The board selection within Arduino is "Arduino Duemilanove or Nano w/ATMega328."

In addition I tried my Dell Inspiron laptop including all the above selections with the same result.

I restarted Arduino each time to be sure.
I also downloaded the latest drivers. They are dated 10/22/09 Version 2.6.0.0 provided by FTDI

Same result each time.

I was mistaken about the Rx light. I had to turn off the light to see it. The Rx light appears to flash 3 times after I hit "upload". The Tx light does not light.

Any other ideas?

Thanks

Ron McKinney

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: problems with Duemilanove

Post by adafruit »

well, there should be only one COM port, the one that is created when you plug in the arduino.
the baud rate is set by the arduino software - you shouldnt be changing it anywhere.
did you try going through our first 2 tutorials at
http://www.ladyada.net/learn/arduino/
?

rmckin6412
 
Posts: 6
Joined: Wed Mar 10, 2010 10:10 pm

Re: problems with Duemilanove

Post by rmckin6412 »

Hi Adafruit,

Yes, I went through Tutorials one and two and they are very good!

Under XP
control panel > system > hardware > device manager > ports > usb serial port > port setting > advanced allows you to change the com port associated with any device. Once changed here Arduino picks it up and displays the new one within the "serial port" of the Arduino software environment.

It is quite possible under XP for two devices to compete for com ports.

Also under XP
control panel > system > hardware > device manager > ports > usb serial port > port setting allows you to change the baud rate, stop bits, flow control, etc.

If Arduino sets the defaults then it came up with COM3, baud rate = 9600, 8 data bits, parity none, one stop bit, and no flow control and this combination I have tried with the same no results.

Looking through some of the files of the Arduino environment there is a file entitled boards.txt located in the hardware:arduino: sub-folder. Here is the information provided for the atmega328 chip.

atmega328.name=Arduino Duemilanove or Nano w/ ATmega328

atmega328.upload.protocol=stk500
atmega328.upload.maximum_size=30720
atmega328.upload.speed=57600

atmega328.bootloader.low_fuses=0xFF
atmega328.bootloader.high_fuses=0xDA
atmega328.bootloader.extended_fuses=0x05
atmega328.bootloader.path=atmega
atmega328.bootloader.file=ATmegaBOOT_168_atmega328.hex
atmega328.bootloader.unlock_bits=0x3F
atmega328.bootloader.lock_bits=0x0F

atmega328.build.mcu=atmega328p
atmega328.build.f_cpu=16000000L
atmega328.build.core=arduino

The baud rate stated for "atmega438.upload.speed=57600" is why I tried it.

Any more suggestions?

Regards
Ron McKinney

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: problems with Duemilanove

Post by adafruit »

mm did you change anything in boards.txt?

rmckin6412
 
Posts: 6
Joined: Wed Mar 10, 2010 10:10 pm

Re: problems with Duemilanove

Post by rmckin6412 »

Hey Adafruit,

No I did not change anything in boards.txt

Ron

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: problems with Duemilanove

Post by adafruit »

ok email support@adafruit to get a replacement arduino as it could be a hardware problem. you should return the old arduino and ask for a return envelope

rmckin6412
 
Posts: 6
Joined: Wed Mar 10, 2010 10:10 pm

Re: problems with Duemilanove

Post by rmckin6412 »

Hey Adafruit,

Received the new board today. Pulled it out of the package, plugged it in, uploaded blink and EVERYTHING WORKS JUST GREAT!!!!!!!!!!!

Terrific support, fast response, I'll be back for more. Thanks so much.

Ron McKinney

rmckin6412
 
Posts: 6
Joined: Wed Mar 10, 2010 10:10 pm

Re: problems with Duemilanove

Post by rmckin6412 »

BTW,

I didn't receive a return envelope for the other board, yet. What should I do?

Thanks

Ron

User avatar
adafruit_support_bill
 
Posts: 88088
Joined: Sat Feb 07, 2009 10:11 am

Re: problems with Duemilanove

Post by adafruit_support_bill »

You might want to send a reminder to [email protected]

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Starter Pack”