I am trying to program an ATtiny167 with the ATtinyCore by SpenceKonde.
When I try to burn a bootloader or upload a sketch, I get the error message "AVR Part ATtiny167 not found".
I am guessing that there is some file that has gone corrupt, since it lists all other chips of said core in the log window; but I am not sure where to look. I installed the core via json if that makes a difference (probably does).
What throws me is that this exact setup used to work perfectly just a month ago, and now it suddenly doesn't. It also strikes me as odd that only the ATtiny87/167 have disappeared, maybe they are not supported anymore?
I have reinstalled Arduino (1.8.7 btw) and the ATtinyCore, without any improvement.
Can you attempt to upload or burn bootloader (doesn't matter which), click "copy error message" and show me what you get?
I suspect the issue is that the wrong version of avrdude.conf is getting used. Though I'm seeing different behavior than I used to see while investigating this now, that change should make things work better, not worse.
Also: "ArduinoISP" is a different thing from "Arduino as ISP". For when the programmer is an arduino running Arduino ISP sketch, use "Arduino as ISP".
I am using the correct programmer, that ArduinoISP doodah.
I meant that I could get an Uno and try with that, but I am pretty convinced that the error is happening somewhere on my computer. Unfortunately I am not very computer-savy for things like that.
The odd thing about the situation is that the exact setup did work before, and it doesn't now a month later; the only thing I can imagine to have changed is my computer.
Argh! Copy error messages button misses the most important line.... but i think i see whats happening
Youre using ArduinoISP. But there isnt an ArduinoISP (attinycore) programmer in the list. So its using the avrdude.conf supplied with the official core instead of the one included with my core, so the message you are seeing is expected. Only programmer options with (attinycore) in the name will work with this part - these definitions are direct copies from the official core, but due to a strange bug/feature of the ide, only programmers provided by a third party board package will use the programming parameters specified in the board package's platform.txt
I didnt add a programmers.txt entry for ArduinoISP because there seem to be very few of them in circulation and people complain about the extra entries in programmer menu cluttering it up.
That makes sense, I assume it used to be supported?
The ArduinoISP duoesn't get much use anymore. Usually I use an AVR Dragon these days, but I can't find it at the moment.
I will try with an Uno when I find the time, and I will report back.