Programming ATTINYs (85 and 13)

To date I have been programming ATTINY85s using a Chinese USBasp clone and this board manager :

https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json

This has worked well for many months.

However I wanted to use an ATTINY13 so have tried various other JSONs but all give various errors.

For example
https://raw.githubusercontent.com/sleemanj/optiboot/master/dists/package_gogo_diy_attiny_index.json
claims to support ATTINY13 and ATTINY85, but on trying to program the '85 and using all the same clock speeds, etc, I get :

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xe4

Same happens for the '13.

The MCUDude one doesn't program the '85 but on the '13 I get a error -1 and suggests I have a wiring problem.

But on going back to the Damellis manager the '85 programs fine so all the hardware is working correctly.

Any suggestions greatly appreciated.

M

Have you tried the ATTiny core? That is the core that I use with Arduino as ISP to program all of my tiny85 projects. The core supports many other programmers.

groundFungus:
Have you tried the ATTiny core? That is the core that I use with Arduino as ISP to program all of my tiny85 projects. The core supports many other programmers.

Unfortunately it doesn't support the ATTINY13. I have used it in the past though for the ATTINY861 and it did work with my programmer.

The best bet for using the Tiny13 is to use MicroCore, which is by the same person as MiniCore.