Bootloader loads, sketches don't on ATMega328

I burned the Arduino bootloader using ArduinoISP, with a Duemilanove that has an ATMega168 and a 16 MHz crystal. Programming the bootloader worked “fine”( after learning about placing a 120 ohm resistor from the RESET to +5. )

But when I pull the ATMega168 out of the Duemilanove and insert the ATMega328, disconnect the 120 ohm resistor, set the board to “Duemilanove or Nano w/ ATMega 328” , and try to upload the Blink sketch, I get this error: avrdude: stk500_recv(): programmer is not responding

.

When I search this error I found TONS of info about crystal frequencies, fuse settings, etc… I’ve tried everything I can read about, but am still having this error. Can anyone throw some advice my way?

(Or can I just send someone the board with the 328 on it and have you get it working $$ ?

Other info:

Using Arduino IDE 22
on Mac OS x 10.6.7
Using ATMega328P-PU purchased here at SparkFun (COM-09061 AVR 28 Pin 20MHz 32K 6A/D - ATMega328) - with no bootloader installed apparently…

Which bootloader did you put on it?

The “board type” is intimately associated with the CPU and bootloader, rather than the rest of the board hardware, so if you (for example) put the Uno bootloader on your 328, you’ll need to tell the IDE you have an UNO, even if the board itself is a duemilanove…

Using Arduino IDE 22, I chose the last option on Tools > Burn Bootloader > W/ Arduino as ISP.

I don’t know where/how to set the actual bootloader that this script loads, is it in the ArduinoISP script?

This seems like such a HUGE pain?! Is there a way to buy an ATMega328 that has a bootloader burned onto it? Do I need to buy a full Arduino board to get one??

It’s not all that bad. The bootloader that gets burned is the one corresponding to whatever board is selected in the IDE when you do the burn command.