digistump / DigistumpArduino

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

Flash write error -1 has occured ... #111

Open jepunband opened 4 years ago

jepunband commented 4 years ago

hello, im getting this error with digispark using arduino during upload.

Sketch uses 2810 bytes (46%) of program storage space. Maximum is 6012 bytes. Global variables use 106 bytes of dynamic memory. 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 2.2 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 Erasing the memory ... erasing: 55% complete erasing: 60% complete erasing: 65% complete Starting to upload ...

Flash write error -1 has occured ... Please unplug the device and restart the program.

ArminJo commented 4 years ago

What happened after restarting the program?

ArminJo commented 4 years ago

Please close the Issue.

Kevitto commented 2 years ago

Same issue here. Scoured the internet and there are no solutions. I'm trying to upload the blink example directly from the digistump Library, tried on two different usb hubs and three different attiny85s directly from Digistump.

Edit: Also tried restarting Arduino IDE, the computer, reinstalling the library as well as the IDE. Same message.

Any solutions?

MiranDaniel commented 2 years ago

I am also having this issue

ArminJo commented 2 years ago

Try this or this and check your fuses.

mander15 commented 1 year ago

Try taking out any spaces from your file name. For some reason this happens for me when i have a space in my file name.