Anyone finding this in the future looking for a way to remove the startup delay on their Digistump Attiny85 (or other) here are the instructions:
- Go here:
https://github.com/micronucleus/micronucleus/tree/v1.11- Download the whole project on 1.11 (thats the tag where the needed .hex files are at this point in time) and extract it to a dir.
- On Windows, open the command line and drag the file "micronucleus-1.11\commandline\builds\Windows\micronucleus.exe" to the command line so it pastes the whole path in it
- Click on the command line window, put a space in front of the path and add "--run" and another space
- Drag the "micronucleus-1.11\upgrade\releases" file you want to burn to your device, in my case, I use the PB0 as a push button (the only one) for my project, so I am just going to re-use it, so I picked the "micronucleus-1.11-entry-jumper-pb0-upgrade.hex"
- Once you drag you should see the full path of the exe + " --run " + the full path of the hex file
- Make sure the device is disconnected.
- Press enter and it will ask you to connect your device, it will then burn the new bootloader.
- Now when you want to program your device just keep the push button (PB0 in my case) pressed while you plug in the USB.
Note: There is two directories with .hex files, one is for FULL bootloaders (this will fail because of not enough space since there is a bootloader already on the device) and an UPGRADE dir. In the example I used the UPGRADE dir since my device came with a bootloader.
Example output :
C:\Users\silent>C:\Users\silent\Downloads\micronucleus-1.11\micronucleus-1.11\commandline\builds\Windows\micronucleus.exe --run C:\Users\silent\Downloads\micronucleus-1.11\micronucleus-1.11\upgrade\releases\micronucleus-1.11-entry-jumper-pb0-upgrade.hex
> Please plug in the device ...
> Press CTRL+C to terminate the program.
> Device is found!
connecting: 16% complete
connecting: 19% complete
connecting: 22% complete
connecting: 25% complete
connecting: 28% complete
connecting: 33% complete
> Device has firmware version 1.6
> Available space for user applications: 6012 bytes
> Suggested sleep time between sending pages: 8ms
> Whole page count: 94 page size: 64
> Erase function sleep duration: 752ms
parsing: 33% complete
parsing: 50% complete
parsing: 50% complete
> Erasing the memory ...
erasing: 50% complete
erasing: 50% complete
....
erasing: 66% complete
erasing: 66% complete
> Starting to upload ...
writing: 66% complete
writing: 66% complete
writing: 67% complete
.....
writing: 83% complete
writing: 83% complete
> Starting the user app ...
running: 83% complete
running: 100% complete
>> Micronucleus done. Thank you!
C:\Users\silent>