Hello guys.
I'm having problems with uploading new codes to my digispark. This has been happening after I recorded a program that simulates a keyboard. So, every time I try to record something in my digispark, the arduino IDE doesn't seem to recognize it, but the program that is recorded in the memory of the digispark runs. I'm finding it strange because it's not waiting the 5 seconds before starting the program to allow recognition by the IDE, it starts running immediately. I believe this is what causes the problem.
So, I think I'll probably have to rewrite my digispark's bootloader. I searched the internet and saw that it is possible to do this using an arduino uno, but I don't have one of those, however, fortunately, I have an esp8266 and I wanted to know if it is possible to burn the digispark bootloader with the esp8266.