USBASP v2.0 "avrdude: verification error"

Hi

I tried find some matching tomic but i coudn't.
I have problems with USBASP programmer. I got this message when i tried to program Arduino Uno

avrdude: verification error, first mismatch at byte 0x0002
0x00 != 0x5c
avrdude: verification error; content mismatch

avrdude: safemode: Fuses OK (E:FD, H:DE, L:FF)"

or I tried to program target circuit of my author project using Atmega328P ( some version but i can't read atm on chip, but it doesn't matter)

avrdude: verification error, first mismatch at byte 0x0042
0x55 != 0x75
avrdude: verification error; content mismatch

avrdude: safemode: Fuses OK (E:FF, H:D9, L:62)

Weird is that, a few days ago managed to program temporary simple 2 line code to check USBASP programmer.

I've tried change supply voltage on programmer with jumper ( 3,3V / 5V)- nothing.
In other topics i read it might be fuse bits issue but I don't touch any fusebit config !.

In past I had problem with recognize device manager on my PC ( windows 10) but i resolve this problem with new USB drivers (Zadiag)
I use Visual Studio Code with Platformio

this kind of programmer

Problem solved by myself and my mate...

Was problem with platformio and AVrdude configuration. It sets -D "Disable auto erase for flash".

I add in platformio.ini "upload_flag = -e" for erasing memory before programming. That's all :slight_smile: