Hey all,
I'm trying to develop a totally breadboarded version of the AVRcam, so I'm plugging all of the components into breadboard for development. It's a daunting task! The first problem that I have run into is simply communicating with the AVR. I think it's a clock/baud issue because I'm getting junk back from the UART port of the AVR. Which means that the AVR is trying to send something but its rate is not correct. All of the parts are straight from component suppliers without firmware or settings of any kind so I have to set my own fuses for the clock options.
I am wondering what exactly should be the fuse settings for the Mega8 and the Tiny12? (High Byte + Low Byte for CKOPT, CKSEL, SUT, etc.)
I see in this thread http://www.jrobot.net/Forums/viewtopic.php?f=2&t=219&p=576&hilit=fuse#p576 that John said it should have "only the CKOPT bit asserted". For fuses does that mean lowbyte=0xFF and highbyte=0xEF? This does not seem to make any sense since this would disable the SPI for in-circuit-programming. So what should my bytes be? (I also tried highbyte=0xCF to no avail as well.)
You can check the values with the AVR fuse calculator here:
http://palmavr.sourceforge.net/cgi-bin/fc.cgi?P_PREV=&P=ATmega8
And fuses for the tiny12? What should they be?
Also- I've substituted a Tiny13 for the Tiny12, do you think this could cause any problems?
Thanks!
R