[Solved] Can't Upload to New Uno

EDIT: I solved the problem. Well, not really. I abandoned trying to run it on my old Macbook (OS X 10.4)and ran it on a newer one (OS X 10.5). It works on the newer Macbook. Based on internet research I’m guessing its an incompatibility between some OS X 10.4 machines and the Arduino Uno. This seems to be a legitimate flaw (not necessarily Arduino’s fault) that many users have.

Hello,

I can’t upload to my brand new Uno. The Uno uses the ATMEGA328 chip, I am running Mac OS X 10.4.11 (Macbook), and the Arduino software is the newest version, 0022. The board selected is “Arduino Uno,” and the serial port is /dev/tty.usbmodem0000103D1.

The Uno is plugged directly into to the Mac’s USB, with nothing else connected to it. No other device is connected to the Mac. The only other program running is Firefox. At this point, L is continuously flashing. When I try to upload “blink” or “bareminimum,” it fails. Below is what’s printed when I do shift-upload:

Binary sketch size: 1018 bytes (of a 32256 byte maximum)

/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avrdude -C/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega328p -cstk500v1 -P/dev/tty.usbmodem0000103D1 -b115200 -D -Uflash:w:/tmp/build8109195585898910298.tmp/Blink.cpp.hex:i

avrdude: Version 5.4-arduino, compiled on Oct 9 2007 at 11:20:31

Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

System wide configuration file is “/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf”

User configuration file is “/Users/tom/.avrduderc”

User configuration file does not exist or is not a regular file, skipping

Using Port : /dev/tty.usbmodem0000103D1

Using Programmer : stk500v1

Overriding Baud Rate : 115200

avrdude: Send: 0 [30] [20]

avrdude: Send: 0 [30] [20]

avrdude: Send: 0 [30] [20]

avrdude: Recv: . [86]

avrdude: stk500_getsync(): not in sync: resp=0x86

avrdude: Send: Q [51] [20]

avrdude: ser_recv(): programmer is not responding

avrdude: stk500_recv(): programmer is not responding

When I press upload, L, Tx, and Rx flash at different times (so the USB cable works?). I’ve attempted pressing reset before / after uploading, and it still doesn’t work. I’m sad and wondering if I need to send this back to Sparkfun for a replacement.

For what it’s worth, a user on the Arduino boards thinks it’s a problem due to using OS X 10.4. I’ll update after trying other OS.

pikachu,

I just got my Spark Fun kit in the mail and have the same problem as you had. stk500 communications problems. I have a Mac running 10.4.11 but I am not keen to go out to buy a new one. Mine is the PowerPC version and won’t upgrade to 10.5, I don’t think.

My full error message at end of this note.

I note one difference in your printout from mine.

me: Using Port : /dev/tty.modem

The Arduimo tutorial said to use /dev/tty.usbmodem26247 and I think that’s what your printout showed you used. When I use the Arduino applications, I am not presented with that 26247 option.

Thoughts?

When I went through the startup, because I had a UNO board and not a Duemilanova board, I did NOT install the FTDI Drivers. Perhaps this was a mistake.

Just to check: When you were having the problem, did you get a few blinks when you plugged in the USB cable and then a slow blink. One second on, one second off? I assumed the blink sketch was ‘preloaded’ in the microcontroller.

Any other ideas??!!

–jim hahn


Binary sketch size: 1018 bytes (of a 32256 byte maximum)

/Volumes/Arduino/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avrdude -C/Volumes/Arduino/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega328p -cstk500v1 -P/dev/tty.modem -b115200 -D -Uflash:w:/tmp/build7554345388825479034.tmp/Blink.cpp.hex:i

avrdude: Version 5.4-arduino, compiled on Oct 9 2007 at 11:22:08

Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

System wide configuration file is “/Volumes/Arduino/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf”

User configuration file is “/Users/jimhahn/.avrduderc”

User configuration file does not exist or is not a regular file, skipping

Using Port : /dev/tty.modem

Using Programmer : stk500v1

Overriding Baud Rate : 115200

avrdude: Send: 0 [30] [20]

avrdude: Send: 0 [30] [20]

avrdude: Send: 0 [30] [20]

avrdude: Recv: 0 [30]

avrdude: stk500_getsync(): not in sync: resp=0x30

avrdude: Send: Q [51] [20]

avrdude: Recv: Q [51]

avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

avrdude done. Thank you.

jim_hahn:
pikachu,

When I went through the startup, because I had a UNO board and not a Duemilanova board, I did NOT install the FTDI Drivers. Perhaps this was a mistake.

Just to check: When you were having the problem, did you get a few blinks when you plugged in the USB cable and then a slow blink. One second on, one second off? I assumed the blink sketch was ‘preloaded’ in the microcontroller.

Any other ideas??!!

–jim hahn

Yes, my board blinked the same way yours did. Like I said, I believe it is an incompatibility between the Arduino Uno and some OS X 10.4.11 machines. I read that some old macs don’t have the correct USB driver(s) installed. This fits the evidence since my board works fine with OS X 10.5. And it isn’t the FTDI driver, apparently Macs don’t use that.

I can not get it to work on either OSX 10.4 or 10.5.

Just posted a ‘new topic’ to the main board describing all the details of the problem.

Thanks!

–jim