I'm trying to upload a sketch to my barebone arduino.
The Arduino program does not give me an error and is be stuck at around 90% of the progress bar.
Have a look here to see the problem visually: - YouTube
Why is it stuck?
Is there a problem with my board (seams unlikely since I don't get any errors).
Thanks for the reply. This is what seams to be causing the problem ( highlighted in red in the console).
Here is the output:
avrdude: Version 5.11, compiled on Sep 2 2011 at 18:52:52
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf"
User configuration file is "/Users/Paul-Arthur/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/tty.usbserial-A900fr6g
Using Programmer : arduino
Overriding Baud Rate : 57600
Thanks, you're really kind.
Here is the output from the manual avrdude command with the homemade board.
familys-imac:~ Paul-Arthur$ avrdude -c arduino -p atmega328p -C /Users/Paul-Arthur/avrdude.conf -P /dev/tty.usbserial-A900fr6g -v
avrdude: Version 5.11, compiled on Dec 23 2011 at 17:25:39
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "/Users/Paul-Arthur/avrdude.conf"
User configuration file is "/Users/Paul-Arthur/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/tty.usbserial-A900fr6g
Using Programmer : arduino
I can't see any errors. It's weird because I have the boot loader on there and an error would otherwise come up.
I appreciate your help.
Thanks again
Here is the result with no board connected: familys-imac:~ Paul-Arthur$ avrdude -c arduino -p atmega328p -C /Users/Paul-Arthur/avrdude.conf -P /dev/tty.usbserial-A900fr6g -v
avrdude: Version 5.11, compiled on Dec 23 2011 at 17:25:39
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "/Users/Paul-Arthur/avrdude.conf"
User configuration file is "/Users/Paul-Arthur/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/tty.usbserial-A900fr6g
Using Programmer : arduino
avrdude: stk500_recv(): programmer is not responding
avrdude done. Thank you.
So there's something odd with the hardware of your board. Make sure the pinout of the programming connector is correct. To make sure your adapter is still OK, do a loop-back test with it.
I know that avrdude may hang, if the serial port disappears while it is running. And that can happen if there is a short somewhere.
This is uber weird. :~
I've resoldered every part (sort of) and got it to compile once on my homemade board.
Then i change the sketch and now it doesn't work. I think it might be a short as you said.
thanks