Avrdude: verification error, first mismatch at byte 0x0000 on new arduino uno atmega328p

i am getting this error when i try to upload code to arduino uno

latest arduino ide. windows 11

Error:

Writing | ################################################## | 100% 0.27s

avrdude: 1988 bytes of flash written
avrdude: verifying flash memory against C:\Users\linux\AppData\Local\Temp\arduino\sketches\3A88A04125E392402B1E73F895950C15/powerful_juttuli_duup1.ino.hex:
avrdude: load data flash data from input file C:\Users\linux\AppData\Local\Temp\arduino\sketches\3A88A04125E392402B1E73F895950C15/powerful_juttuli_duup1.ino.hex:
avrdude: input file C:\Users\linux\AppData\Local\Temp\arduino\sketches\3A88A04125E392402B1E73F895950C15/powerful_juttuli_duup1.ino.hex contains 1988 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 0.26s

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
         0x62 != 0x0c
avrdude: verification error; content mismatch

avrdude done.  Thank you.

Failed uploading: uploading error: exit status 1

Please post text, using code tags, rather than illegible screen shots.

The mismatch suggests that the chip on the Uno is not being programmed. Redo all the connections, and post a photo of your setup.

Is this a genuine Uno, or a knockoff, possibly with a counterfeit chip? Post a link to the product page.

product: https://www.amazon.in/gp/product/B00H1HR576/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1

code:

// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  Serial.begin(9600);
  pinMode(LED_BUILTIN, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  Serial.print("Code started ......");
  digitalWrite(LED_BUILTIN, HIGH);  // turn the LED on (HIGH is the voltage level)
  delay(1000);              
  Serial.print("Now LED goes Low");
  digitalWrite(LED_BUILTIN, LOW);   // turn the LED off by making the voltage LOW
  delay(1000);                      // wait for a second
}

From the Amazon link, this is clearly a clone, and since it is masquerading as an original I would be doubly suspect.

What is the history of this unit? Dis it ever work properly?

Most frequently the verification error is the result of an issue with the bootloader software. Less frequently it is a problem with the flash ram of the AT328 chip.

If this a new unit, and you can return it you may want to do that, and that would be my recommendation.

If you can't return it, or want to try and fix the one you have, its possible burn a new bootloader into the chip if you have using another Arduino or an ICSP programmer.

https://docs.arduino.cc/built-in-examples/arduino-isp/ArduinoISP

https://support.arduino.cc/hc/en-us/articles/4841602539164-Burn-the-bootloader-on-UNO-Mega-and-classic-Nano-using-another-Arduino?queryID=3bc1a7444f3bf3a1a671a9796147137f

Another alternative, since you appear to have a DIP mounted AT328 chip is to buy a new chip guaranteed to have the bootloader already programmed.

Is there any solution for issue with the bootloader software?
That means it was not sure burning bootloader will solve

yes, i was thinking about buying a USB ASP AVR programmer.

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