Custom Arduino board

Hi all,

A coworker of mine designed a custom ATmega328 board and we are now trying to program it with the boot loader and then the example Arduino code. It uses an 8MHz resonator and looks almost identical to the Arduino Pro schematic in terms of programmer. We are using Avrdude to put the bootloader on along with the Pocket Programmer from SparkFun (and an old mac keyboard for the hub). The Avrdude seems to be successful and we also used the Avrdude to redo a Freeduino just to be sure and programmed it with the "Blink" example. However, while we can get the bootloader on to the custom board, we can't connect with the Arduino software (tried to do "Blink) and get the standard "not in sync" error that can mean a lot of things. We've checked the com port and are using the ATmega328 8MHz board and the boot loader was the ATmegaBOOT_168_atmega328_pro_8MHz.hex file in the Arduino software package.

I can post a copy of the response from Avrdude if needed. Are there any common things that might be causing this other than what we've already checked? The circuit seems to be perfect, we've looked at the soldering under a microscope, the boot loader seems to get on there fine, and the Avrdude method works with a Freeduino. We've also tried programming at both 3.3 and 5V with different copies of the board.

Thanks in advance!

I can think of two possibilities...

  1. The fuses are not correctly set allowing the bootloader to be overwritten. In addition to installing the bootloader, did you change the fuses?

  2. The resonator is not accurate enough for 57600 baud.