digistump / DigistumpArduino

Files to add Digistump support (Digispark, Pro, DigiX) to Arduino 1.6.X (1.6.5+)
932 stars 377 forks source link

Flash erase error -71 has occured #125

Closed Cmd-Monkey closed 4 years ago

Cmd-Monkey commented 4 years ago

Hello, i got one Attiny85, but i cant flash a code on my Linux machine (on my Windows works fine), every time that i tried to upload a code this occurs:

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

Flash erase error -71 has occured ... Please unplug the device and restart the program.

Can someone please help me? Thanks

Cmd-Monkey commented 4 years ago

So i got it working by changing the Usb port (even with the port working well with other boards), i don't know why this is happening, but for now is working