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

Help!

I’ve got the cheapo clip and cable setup, but I’ve been able to program the BLF FET+1 A17DD-L (from Banggood) with much success.

Well, I went to assemble some lights using the Qlite from Richard and thought I’d give a shot programming those as well. I can’t get avrdude to communicate with the Qlites properly.

I have everything wired up, and I execute the test command (below) and I get an error saying that it has the wrong device signature. I thought perhaps my clip got messed up, so I double checked all my wires. And some searches indicated it could mean a dirty clip, I wiped everything down with rubbing alcohol. Tried again – no dice. I then hooked up a A17DD-L and tried – it worked! Swapped back over to the Qlite, still not working.

The command I’m using to test (I’m on Linux):

sudo avrdude -p t13 -c usbasp -n

The output from the A17DD-L:

avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e9007

avrdude: safemode: Fuses OK (E:FF, H:FD, L:75)

avrdude done. Thank you.


The output from the Qlite:

avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x000102
avrdude: Expected signature for ATtiny13 is 1E 90 07
Double check chip, or use -F to override this check.

avrdude done. Thank you.


Things I’ve tried:

  1. Checking wires from the tip of the clip to the programming using a continuity tester
  2. Cleaning the connections with rubbing alcohol
  3. Five different Qlites from Richard
  4. A different 105C, pulled from a B158 (exhibits same problem)
  5. A A17DD-L, works just fine
  6. Restarting the computer
  7. Re-installing avrdude
  8. Different USB ports
  9. Both the 3V and 5V settings on the programmer

I’m getting a bit discouraged. Anyone run into this before or have ideas on things I should try? Sincerely, thank you!