Hi! I received a pack of 5 attiny85's yesterday and am trying to upload a digikeyboard script to it. It compiles correct, but 29/30 times I get this error:
Run error -1 has occured ...
The other 1/30 times it works and uploads correctly. I feel like there's something I'm doing wrong here and can make it more consistent. Any ideas?
Thanks!
Here's the full log:
Running Digispark Uploader...
Plug in device now... (will timeout in 60 seconds)
Please plug in the device ...
Press CTRL+C to terminate the program.
Device is found!
connecting: 16% complete
connecting: 22% 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: 50% complete
Erasing the memory ...
erasing: 55% complete
erasing: 60% complete
erasing: 65% complete
Starting to upload ...
writing: 70% complete
writing: 75% complete
writing: 80% complete
Starting the user app ...
Run error -1 has occured ...
Please unplug the device and restart the program.
Can you post a link to these please. You see an ATtiny85 is just a chip so you would not expect to plug anything into it. Normally you would program it by connecting it to an Arduino running the ArduinoISP software. So what exactly do you have?
One other thing that could happen (happens all the time to me) when you instert the board into usb when prompted it might fail, so it takes several tries until it is inserted "right"
So you managed to get it upload succesfully? I dont know of any 100% way of doing it, and dont really care because it takes a few tries and then it is done, not a biggy