Digispark ATTiny

I bought 1/2 dozen of these ATTiny development boards to play with and to show my friends how capable an 8 pin MCU can be. My program reads a joystick and displays data on an LCD. Worked on the first one I uploaded, using the Digispark 16.5Mhz board. The program takes up only 42% of available memory. Despite that, I think I overwrote the bootloader and all attempts to restore it using the Google-oracle to help me, I was not able to. Taking a new component, uploading it...worked fine, and then it DIDN'T and I have no idea why not!
So...I abandoned that idea and decided to just upload from a USB programmer. I've used this before, many times for ProMinis without issue. Won't work with ATTiny. For one thing, if I choose Digispark (default) for my board, which it is, I can't choose the programmer - it defaults to Micronucleus. If I choose ATTiny85 with my USB programmer, I get this error:

Upload error: Failed programming: recipe not found 'program.pattern'

I've scoured the Internet for solutions at Arduino and at Digispark, without any success. I could try another programmer or use a Nano, but I see nothing wrong with my current setup.
So...any advice on next step? I've got 4 ATiny dev boards left.

I think you have to disconnect the board before programming, try that.
here is a link to some info http://digistump.com/wiki/digispark

I have found a solution...disregard the boot loader, ie, don't install it. I took a "bricked" ATTiny (Digispark) and programmed it directly with an ICSP programmer and it worked. This works as well, maybe better than plugging the development board into a USB socket. So, I'll use ATTiny ICs instead of the larger Digispark device.
This topic can be closed.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.