@potato
Running system?
Type of computer?
Are you using a cable or plugging directly into USB ports?
Laptop or Desktop? If desktop, front or rear ports?
This part
Assertion failed: res >= 4, file library/micronucleus_lib.c, line 63
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application\'s support team for more information.
Is exactly what I get if I have the Digispark already plugged in when I hit upload. Are you plugging it in before or after hitting upload? It should not be plugged into the computer until after hitting upload.
Regarding this part:
erasing: 79% complete
>> Eep! Connection to device lost during erase! Not to worry
>> This happens on some computers - reconnecting...
Does it work after that or is that where it dies? If it works, this is normal on some systems, basically the device disconnects and reconnects after being erased. If it dies after that then this suggests a probably with the USB signal - which could be due to the USB port being used, a bad cable, or various other things. Can you try plugging in directly to the rear ports (if possible) - and also try with a hub if you have one.
Let me know how it all goes and we can go from there.
Thanks,
Erik