Hi All!
I have recently had some boards made up, of course the usual checking and re-checking of schematics was done. And now that I have the hardware I’ve even beep-tested pins etc (it was hard - im using the 5mm x 5mm variety!).
But onto the problem!
Using a 6pin ICSP header and my trusty BusPirate i cannot communicate with the 328 at all!
I was under the impression that the 328 comes from the factory running off its internal 8Mhz oscillator, divided by 8… so at ~1Mhz.
Once I establish communication (hopefully this isn’t a similar story to the SparkFun slugs) I will be setting it to use a 20Mhz crystal, and then putting its firmware on (no bootloader).
In my experimenting I have setup an Arduino FIO (without bootloader) with a very simple “toggle the pin” program. This runs nicely at 8Mhz, and then at 1Mhz (8/8) and then at 125kHz! but now that it is running at 125kHz I have lost ICSP communication with it!
I have a feeling that the buspirate and/or avrdude is talking too fast (I’ve used the -x speed=0 flag) for the slow clock speed to keep up, but what do I do now!
Ive been trawling the web for FTDI bit-bang info, as avrdude seems to be able to slow that right down…
From the symptoms, I have a feeling that the same thing is happening to my new board, and the FIO.
Does anyone else have a similar story (and possibly a fix :lol:)?
I’d really appreciate any help!
Cheers!
Attie