Can't upload the program

Hi there

When I upload a program to my ATMEGA328P-PU, standalone or on a UNO board, I get the following error message:

Without verbose mode:

Arduino: 1.8.12 (Windows 10), Board: "Arduino Uno"

Sketch uses 25702 bytes (79%) of program storage space. Maximum is 32256 bytes.
Global variables use 1048 bytes (51%) of dynamic memory, leaving 1000 bytes for local variables. Maximum is 2048 bytes.
An error occurred while uploading the sketch
avrdude: verification error, first mismatch at byte 0x0000
         0x62 != 0x0c
avrdude: verification error; content mismatch

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

With verbose mode on: Due to its number of characters, I will attach a TXT file with the log

BTW, I have checked the Serial Port.

This error is given with any programme, including basic examples.

Thanks in advance,

verboseMode.txt (53.5 KB)

How did you burn the bootloader ? Try reflashing the bootloader