Attiny44a 12 MHz external crystal

arduinoattinyavravrdude

I am having this configuration set in my arduino uno: Programming ATtiny84 / ATTiny44 with Arduino Uno

I have even uploaded the blink LED program(using arduino sketchbook) and it works great at 8 MHz. Now I am trying to add an external 12 MHz crystal. I tried burning my internal crystal by using the command mentioned below but stuck with this error.

D:\software\avrdude>avrdude -c arduino -p t44 -P COM7 -U lfuse:w:0x60:m -U hfuse:w:0xdf:m -U efuse:w:0xff:m
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0xe0

*update: I'm using arduino as ISP as my programmer

Best Answer

So you were able to use this setup to program the Tiny via the Arduino with Blink.ino. But you get a stk500 error with your other code.

Note that the IDE in "Arduino as ISP" is not talking Arduino Boot Loader. Rather the App loaded into the Arduino is to talk as ISP (likely AVR109) to avrdude.

Hence I think the "-c arduino" is likely incorrect and causing the observation.

Not sure what the -c needs to be. Either google it. Or in the IDE's preferences under the FILE menu enable verbose for upload and send the blink.ino and learn from the print of what arguments are being used with avrdude on the final program. Noting there may be one to upload the app with the ISP app into the UNO and then one to use the UNO as a programmer to the Tiny.