jarchie wrote:--updated post--
The external oscillator on the Arduino Uno R3 should work just fine. Is this project the only reason you're purchasing an Arduino? If so, I am willing to mail you a chip with Ice-Tube-Clock-compatible fuse settings. jarchieREPjarchie.com where REP is the at symbol.
By the way, congrats on fixing the dim-digit issue. Well done!
jarchie wrote:I have reproduced your error and am wrong about the Adafruit chip working out-of-the-box. I apologize for the inconvenience.
To reproduce the error, I removed the ATmega328p from my GPS-enabled clock, placed it in an Adafruit DC Boarduino, and burned the Arduino bootloader. When I inserted the chip back in my clock, programming failed exactly as you describe.
The problem was that the Arduino uses an external 16 MHz oscillator, so an ATmega328p with an Arduino bootloader has the external oscillator fuse configured. Since the clock does not provide a high-frequency external oscillator, the chip will not function in the clock--not even to be programmed.
To fix the situation, I installed the ATmega328p in my AVR development board (which provides power and an ISP header), wired in a 16 MHz external oscillator, and programmed the new fuse settings using the xmas-icetube's "make install-fuse". (A Boarduino or Arduino board also would have worked, but I wanted to make sure the problem really was the external oscillator.) With the ATmega328p fuses configured to use the internal 8 MHz oscillator, I put the chip back in my clock and was able to program it normally with a "make install."
Do you have access to an Arduino board or something with an ISP header and external crystal oscillator?
Users browsing this forum: No registered users and 3 guests