Mixed day, it was going well....
AVR Studio 4 (4.13/528) on XP Pro
WinAVR / GCC - 20070525
ATMeta324P on a bread board, 5V supply
AVRISPmkII USB (upgraded via studio)
Got my LEDs flashing etc using 125kHz ISP update speed, and internal clock - all really good.... (some questions but they can wait)
Then I wanted to move to an external oscolator, went to the fuse page, and unchecked the CKDIV8 and checked "Ext Clock; Start up time 6CK + 65ms (SUT=10)". - Not sure if that was the right option - I think rereading it might an external signal clock feed - not an external osc....
Anyway it applied ok, I added a 4Mhz Osc + two 27pF caps to ground and now I can't get any life / contact / programs to work with the Mega....
From the Studio ISPmkII interface:
Getting revisions.. HW: 0x01, FW Major: 0x01, FW Minor: 0x06 .. OK Getting VTARGET.. 5.0V .. OK Getting ISP frequency parameters.. SD=0x06 .. OK Setting mode and device parameters.. OK! Entering programming mode.. FAILED! Leaving programming mode.. OK!
I've tried different Osc (16Mhz, 9Mhz), different ISP rates, including 51kHz for the erase function (which I think is a requirement) - all the same results - Programming mode FAILED
I think the 'solution' is to erase the chip and start again - but the ISP isn't playing that game.
This is my first embedded chip so go a little easy on me..... What should I be doing next / what have I got fundementally wrong?