Unrecognizable Digispark Starter Attiny85

I recently bought a digispark starter attiny85, but I haven't been able to use it at all. At first, I couldn't recognize it with my computer, so I flashed the micronucleus bootloader onto it. Seemed to work, but I still can't recognize it, both on windows and linux. When I plug it in, the computer doesn't even seem to realize that anything was plugged in. Before flashing, the red light would flash after I plugged it in, but now there is just a constant green light (no red, there are two seperate leds). Is it faulty, or did I do something wrong?

How did you flash it, if not recognized?

I flashed it using an arduino uno

Not sure I can advise you how to revive it other than to use the Uno, but you need the digistump or newer core / board. Apparently the ATTinyCore have support for these boards.

Windows needs a driver (it's out there somewhere..) and Linux have built-in?

Maybe both :wink:

Here's something to consider when you upload the bootloader:

It needs to be option 2.

Reset pin = Reset
Clock = 16.5 MHz

Try program this with your Uno, and I hope you get it back to life.

I just did it again with the same settings you suggested (If its important, the programmer i used was Arduino as ISP). Same result (it appears to have worked), but it still isn't recognized. I downloaded all the drivers I could find for windows earlier.

Hi @felix_g. Unlike most Arduino boards, the Digispark doesn't use a serial port for communication with the computer. So it is normal and expected that you won't see a serial port appear in Arduino IDE's Tools > Port menu when using this board.

So unless you have some other reason for thinking the board is not working, then I recommend against spending any more time messing with the bootloader.

Please try this:

  1. Disconnect the Digispark from your computer.
  2. Select the appropriate board from Arduino IDE's Tools > Board menu.
  3. Select Sketch > Upload from the Arduino IDE menus.
  4. Watch the black console panel at the bottom of the Arduino IDE window until you see the following message:
    > Please plug in the device (will time out in 60 seconds) ... 
    
  5. Connect the Digispark to your computer.

The upload should now proceed and finish successfully.

Let us know whether the upload was successful.

I do know that no port will appear in the menu when using it. What I mean by "unrecognized" is that when it asks me to plug in the device, I plug it in, and nothing happens. After 60 seconds, it just times out. I've tried this on multiple operating systems, and I've used lsusb (linux) & Device Manager (Windows) to see if anything changes once I plug it in. No result.

You picked the 16.5 MHz Clock option?

Yep. Just to make sure, I also tried 16 MHz. Neither worked.

16.5 is needed for the USB timing.

Seems you tested this your Digispark meticulously, so I cannot think of anything else to try.

I just realized that it's only recognizable in one of my usb ports (wierd, all of them work fine with other things like mouse + keyoboard), but arduino ide won't detect it when it prompts me to plug it in (once I plug it in, it only shows up on device manager)

I have similar odd things with my Attiny85 based digisparks. If I connect them to my USB-hub, I need to disconnect all other cables from the hub for them to be detected during upload. Took me a while to figure that out.

I tried on Windows 11, it doesn't work for me too. I also have a post about this.

In order to make all relevant information available to any who are interested in this subject, I'll share a link to @flash8007's topic: