September 18, 2024

Biscotti firmware -- flash it into a flashlight

I have a flashlight apart and the PCB exposed so I can grab the ATtiny with a fancy clip I bought. I also cut traces on the board so pin 5 is no longer grounded. But it does not work. I try over and over and get:
avrdude -p attiny13 -c usbasp -B10 -U hfuse:w:0xFF:m -U lfuse:w:0x75:m
Error: program enable: target does not answer (0x01)
I have a tube full of brand new surface mount ATtiny chips. I pull one out and use the clip to grab it. I get the same error the first few times, but after fiddling with the clamp, on about the fourth try I am able to both set the fuses and program the chip!

This may be the road I need to go down. I do have a hot air rework station now.


Feedback? Questions? Drop me a line!

Tom's Light Info / [email protected]