You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the error "Flash write error -1" every time I try to upload to Digispark. Everything worked before, e.g. blinking led, leds in series, DigiKeyboard... I uploaded my code about 50-100 times. But suddenly even this empty code got unable to upload:
void setup() {}
void loop() {}
So I press "Upload" and then plug my Digispark. I get this output:
Sketch uses 302 bytes (5%) of program storage space. Maximum is 6012 bytes.
Global variables use 9 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 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 ...
>> Flash write error -1 has occured ...
>> Please unplug the device and restart the program.
I tried to restart (and reinstall) the Arduino IDE, reboot my PC, switch USB port where I plug digispark, try from Windows (instead of Linux), I still get the same error.
Other details: Arduino IDE v2.3.1 Manjaro (Arch) Linux x86
Board I've chosen:
The text was updated successfully, but these errors were encountered:
I get the error "Flash write error -1" every time I try to upload to Digispark. Everything worked before, e.g. blinking led, leds in series, DigiKeyboard... I uploaded my code about 50-100 times. But suddenly even this empty code got unable to upload:
So I press "Upload" and then plug my Digispark. I get this output:
I tried to restart (and reinstall) the Arduino IDE, reboot my PC, switch USB port where I plug digispark, try from Windows (instead of Linux), I still get the same error.
Other details:
Arduino IDE v2.3.1
Manjaro (Arch) Linux x86
Board I've chosen:
The text was updated successfully, but these errors were encountered: