I was using the same setup with a 328p which was working perfectly using the same caps and crystal!
The only changes I made when I went to the ceramic oscillator was to pull out the caps and crystal, install the ceramic osc just below the 1284p and use 3 jump wires to connect it. I then tan the IDE and it worked straight off. Like I said, very strange! The board was even tried with 3 different
Computers so it can't even be a bad USB power line on a particular machine. I'm at a loss as the what it is.
Just a small clarification on your choice of names for the various clock components you have talked about in this thread.
First off a complete clock oscillator requires both a resonator element (determines it's operating frequency) and a amplification circuit (ensures it starts up and oscillates continuously). A AVR chip has the clock oscillator amplification circuit built-in to the chip, so most AVR projects use only a crystal resonator
or a ceramic resonator
. What sometime gets confused is that there are avalible complete external crystal oscillator chips that include the crystal resonator and amplification circuit all in one package. These small DIP (normal 4 pin) package output a TTL clock signal all by themselves. A AVR with proper fuse settings can utilize such a crystal oscillator
, but normally the lower cost crystal resonator or ceramic resonator, or even the internal R/C clock is used because of lower costs. However if one wanted the most accurate clock source, one might choose an external crystal oscillator, perhaps a temperature compensated or oven controlled version.
Crystal resonator: Has only two terminals, requires two padding caps: http://www.sparkfun.com/products/536
Ceramic resonator: has three terminals, center terminal grounded, internal caps: http://www.sparkfun.com/products/9420
Crystal oscillator: Complete standalone crystal controlled oscillator, requires a Vcc voltage and ground and has a signal output pin.: http://www.b2bcrystaloscillator.com/dip-crystal-osciallator.htm
So this semi-rant isn't really aimed at you specifically, but I find the term crystal and crystal oscillator used around here synonymously, when they they are two different things. Just thought I would throw this out for newcomers to help with the component names we utilize in arduino projects.