使得它们可以直接通过usb口来烧录.
我购买了很多digispark 开发板. 这些开发板小巧方便价格低廉. 非常适合做小项目.
micronucleus 可以直接通过usb口来升级.
首先
git clone [email protected]:micronucleus/micronucleus.git
进入commandline 目录安装micronucleus.exe
make
sudo make install
49-micronucleus.rules
copy 49-micronucleus.rules from this folder to /etc/udev/rules.d/
进入upgrade/releases/
micronucleus --run upgrade-t85_default.hex
如果使用错误的升级文件, 会出现内存不够无法安装的问他.
micronucleus --run t85_default.hex
> Please plug in the device ...
> Press CTRL+C to terminate the program.
> Device is found!
connecting: 33% complete
> Device has firmware version 2.3
> Device signature: 0x1e930b
> Available space for user applications: 6522 bytes
> Suggested sleep time between sending pages: 7ms
> Whole page count: 102 page size: 64
> Erase function sleep duration: 714ms
parsing: 50% complete
> Program file is 1594 bytes too big for the bootloader!