* Report this post
@ dbc
so you are saying that my clkdiv8 fuse was programmed so I actually need a clock source of 2 Mhz?
No, and no.
No #1: I'm saying: "check the data sheet, and see if clkdiv8 is programmed" -- it's a common mistake with AVR's. I didn't actually take the time to dig out a data sheet and read about that fuse for your part. That's your homework
And No #2: *IF* clkdiv8 is programmed, the XTAL runs at the same frequency it always did... but the *processor* is getting 1/8 of that. So the ISP programmer needs to be 1/4 of that, since the ISP bit rate needs to be 1/4 or slower than the processor clock.
If so can you recommend
an astable transistor oscillator or such circuit to provide it? Could I possibly program a pic as I have no more atmegas right now
Anything that gives a nice square wave. I like to keep a few TTL can oscillators around for just such occasions. Give 'em 5 volts, get a clock -- pretty much fool proof (well, extremely fool-resistant, anyway.)