I was advised that there’s a bug in my AVRDUDE code for the ATtiny167. I don’t have a 167 to test it for myself as yet, so I’ll have to get hold of one, which may take a while. In the meantime, if you’re using a 167 and you get strange errors, attached this to the end of your AVRDUDE command line;
That extended option will disable my update temporarily. I’ll check it out when I can get hold of one and update patches if required. This may take some time.
EDIT: Ouch. Both Mouser and Digikey want over 30 dollars to ship a $2.50 part. Postage to Australia really sucks. If anyone’s got one and wants to send it to me, let me know and I’ll Paypal you for it.