尝试跳过5秒的bootloader等待
官方的教程,但是链接失效了
http://digistump.com/wiki/digispark/tricks
看的这篇文章最后成功的
http://blameitonthegoose.com/remove-5-second-startup-delay-on-digispark/
视频教程https://www.youtube.com/watch?v=DXMHB1GCGEE
用的micronucleus-1.11-entry-jumper-pb0-upgrade.hex
裸片烧写
https://github.com/micronucleus/micronucleus/tree/v1.11/firmware/releases
如果是自带bootloader的,启动micronucleus.exe 用micronucleus.exe micronucleus-1.11-entry-jumper-pb0-upgrade.hex直接更新就行
自带bootloader更新
https://github.com/micronucleus/micronucleus/tree/v1.11/upgrade/releases
源项目https://github.com/micronucleus/micronucleus
这个未测试
https://github.com/ArminJo/micronucleus-firmware
接线参考https://blog.csdn.net/sxhexin/article/details/117926470
avrdude -C “C:\Program Files (x86)\Arduino\hardware\tools\avr\etc/avrdude.conf” -v -pattiny85 -carduino -PCOM4 -b19200 -Uflash:w:micronucleus-1.11-entry_jumper_pb0.hex:i -U lfuse:w:0xE1:m -U hfuse:w:0xDD:m -U efuse:w:0xFE:m
另:发现的其他有意思的库
https://github.com/damellis/attiny/
https://github.com/SpenceKonde/ATTinyCore
https://forum.arduino.cc/t/attiny85-how-to-program-without-bootloader/643057