Flash erase error -71 has occured

I'm getting this error all the time with Digispark. 1 out of 10 times it works, then again not working. Always this error..

I use these instructions: https://docs.arduino.cc/software/ide-v1/tutorials/Linux

When I try $ sudo ls -l /dev/ttyACM*
It returns: ls: cannot access '/dev/ttyACM*': No such file or directory

I put user in groups 'dialout' and 'tty'.

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.

Hi!
Today I have faced the same issue. Digispark board does not create its own serial port (unlike usual Arduino). Looks like a hardware trubles.
Which USB port are you trying to use (USB3/USB2)?
UPD: also attach you Digispark via usb an watch what is going on in "journalctl -f"
UPD #2: Finally i figured out a root cause of this issue: digispark uploader cannot work correctly with USB 3.0. I have checked out to USB 2.0 and everything became fine.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.