Problem with Bare-bone arduino on MAC OSX with Arduino 1.0

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).

Enable debug messages in the preferences.

A screen shot might be more helpful.

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

Image is here: http://cl.ly/1B2H32310y2G373q2E33

There's no error message in there that would indicate a serious problem.

But it then stays here.
It stops here, it's an evil loop of death.

I'm not saying there's nothing wrong, but the output of avrdude does not indicate anything serious or remotely useful.

Close the IDE and anything else that might interfere with serial ports and run avrdude by hand.

avrdude -c arduino -p atmega328p -C /path/to/avrdude.conf -P /dev/<right_com_port> -v

If this freezes as well, there's something else wrong with your machine.

With an official board, I get this output: avrdude: Version 5.11, compiled on Sep 2 2011 at 18:52:52 Copyright - Pastebin.com
(it's too long for a post).
Does anyone know why it is stopping and if it's a software or hardware related problem.

  • missing bootloader
  • wrong baud speed
  • error in your circuit
  • ...

And it is nice that your other board runs, but we need error messages when using your home-made one. So please do as suggested.

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

I like your website :slight_smile:

What baudrate should the arduino be programmed at?

My blog if anyone is curious: http://asselinpaul.posterous.com/

And now the same with your board disconnected (the usb/serial adapter is still plugged in of course).

The baud speed depends on the bootloader. Nowadays it's either 57600 or 115200.

Glad you like my little blog :wink:

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. :slight_smile:
Then i change the sketch and now it doesn't work. I think it might be a short as you said.
thanks