Failed to read all of flash memory rc=-2

Dear All / Anyone

I've been getting various errors today while uploading to an Arduino clone that has worked fine before. Including

avrdude: stk500_disable_paged_load(): protocol error, expect=0x14, resp=0x00

the selected serial port Firmware Version: 0.4611299 does not exist or your board is not connected

The verbose compile says something about failing to read all of flash-memory, rc = -2. I've searched for rc = -2 and the people who've had this problem either had it with an ESP2866 or found it went away after the traditional switching off and on again. Solution number two hasn't worked for me.

The program I have is using a servo to turn an ultrasonic sensor although I don't think it's implicated - the same kind of things happen with 'blink'.

Any and all suggestions welcome. Well, non-biological ones anyway.

Lee

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