From: Rick M. <rm...@la...> - 2008-04-19 17:45:45
|
On Apr 19, 2008, at 4:11 AM, Frank Wallenwein wrote: > You didn't mention what kind of board you are using. > Is there any clock source on your board ? I'm using a JTAG ICE MkII connected to my own circuit on a breadboard, which is set up to run with a 16 MHz crystal oscillator. Previously I had an ATmega32 in there, which always worked fine. When I got the new '324P parts, I checked the data sheet and did my best to modify the fuse values properly. > Your ATmega324p came with "internal RC > Oscillator" siwtched on. > ( Low Fuse byte -> 0x62 ) > > You switched it to "Low Power Crystal > Oscillator" > (Low Fuse byte -> 0xef) > > Now you have to "enable" the Crystal Oscillator > on you board. When you say "enable," what do you mean? Is that yet another setting on the '324P, or do you mean, set up my board to use the crystal? In my board, the crystal is directly and permanently connected (no switches) to the part. >> Can I fix my parts? > > Well - enable or add a crystal oscillator to your board or > you can feed a clock from an external clock source - if you > have one. I guess you're implying that I'm reading 0xFFFF as the device ID because the part is stopped. That gives me hope, because I think I can rig an external clock source. We'll see. > See Chapter "Clock Systems and their > Distribution" in ATmega324p datasheet. I definitely read through that, and the fuses section, before starting this process. -- Rick |