Hi everyone,
This is my first time working with an Arduino, and I’m having some issues uploading the ‘Blink’ sketch. I haven't had much luck searching the forums, so I would greatly appreciate any suggestions!
I have an Arduino Mini with the ATmega328 connected to my MacBook (OS X Version 10.6.5, 2.4 GHz Intel Core 2 Duo) via a serial-USB adapter. I have the circuit connected as is shown on the Arduino website (http://arduino.cc/en/Guide/ArduinoMini).
In the Arduino program I have the board selected as “Arduino Pro or Pro Mini (5V, 16MHz) w/ ATmega328", and the Serial Port set to /dev/tty.usbserial-A9007W6X.
When I reset the board, the LED on pin 13 flashes 3 times, then I hit upload, and after a few seconds I get the following error message:
avrdude: stk500_getsync(): not in sync: resp=0x12
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x12
I have confirmed that the USB connector is working by using the terminal, so I’m afraid it might be something with the board itself. I have also tried selecting different boards in the board menu to no avail.
Here’s what I get when I hit shift+upload:
Binary sketch size: 1018 bytes (of a 30720 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.usbserial-A9007W6X -b57600 -D -Uflash:w:/var/folders/3q/3qc+TaF2Fxek69KqFbEBdU+++TI/-Tmp-/build3438798255416031775.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/Kara/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/tty.usbserial-A9007W6X
Using Programmer : stk500v1
Overriding Baud Rate : 57600
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Recv: . [12]
avrdude: stk500_getsync(): not in sync: resp=0x12
avrdude: Send: Q [51] [20]
avrdude: Recv: . [12]
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x12
avrdude done. Thank you.
Again, any suggestions are greatly appreciated! Thank you! If any other info would be helpful, just let me know.