Guide: how to flash ATtiny13a based drivers (NANJG, QLITE, etc.) with custom firmware

The flash-85.sh file is located in ToyKeeper’s flashlight firmware depository inside the /bin folder. Its avrdude command reads:

Change FILENAME.hex to your .hex file’s name.

Note the ‘t85’ option. This sets the chip model to ATtiny85. Your example shows ‘t13’, which is erroneously specifying an ATtiny13.

I mentioned in your other thread that before sending your new firmware, you can test your connection between the ATtiny85 and your programmer with this command:

If the connection test is unsuccessful, you may need to fiddle with your clip. I have a cheap one that sometimes needs a couple of tries. :slight_smile:

It looks like you’re getting close to a successful reflash. Keep at it, and keep us posted! :+1: