Code upload errors

can anyone help?

Arduino: 1.8.2 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

Sketch uses 120266 bytes (47%) of program storage space. Maximum is 253952 bytes. Global variables use 6136 bytes (74%) of dynamic memory, leaving 2056 bytes for local variables. Maximum is 8192 bytes. avrdude: verification error, first mismatch at byte 0x023b 0x5f != 0x4f avrdude: verification error; content mismatch avrdude: verification error; content mismatch

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

Do you get the exact same error every time you try to upload? If so, it seems like your FLASH memory ('program storage space') is maybe broken.

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

Sounds like a reasonable thing to try. Maybe the additional information will provide a clue.

Thanks will try that and post results