Go Down

Topic: problem uploading to board. (Read 1 time) previous topic - next topic

aurora123

hi
my arduino uno board was working fine earlier but now when I upload a code in it it displays the following error:

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




jigyasa_singh

You haven't selected the right board.

The board name appears at down right corner for your Arduino programming screen..
I officially suck at programming. Here cz of my aggressive and crazy coder best friend but we immensely believe in each other, defend each other & think the other deserves the world.

aurora123

I have selected the correct board, BTW by default also In arduino IDE the selected board is arduino uno..
so in any case this is not the solution, but if you have any better solution, please help.

ballscrewbob

@ aurora123

What OS ?
What version IDE ?
What type of USB port ?
Do you have anything connected to the board ? (pins 0 & 1 especially)
If its Windows what do you see in DEVICE Manager under COM ports ?

A little more relevant info would go a long way.
It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

rpt007

and: what did you change in your Windows configuration since the time the board was recognized?
Before you ask:
Did you really read and understand How to use this forum ?
AND:
Do you have already some solution or is a part of the problem sitting in front of the screen?  :)

aurora123

@rpt007
I changed nothing in  my windows configuration...

@Ballscrewbob

OS- Windows 8.1
IDE - 1.6.12
USB - 3.0
No nothing is connected to the board, I tried again with the simple hello world program...
My arduino is detectable in device manager devices under PORTS (COM & LPT)..

Since that board got dead I moved from that arduino UNO to MKR1000 for my project, but after this thread's response today I tried again to upload on UNO board, I tried just simple Hello print code
Code: [Select]
void setup() {
  Serial.begin(9600);
  // put your setup code here, to run once:

}

void loop() {
  Serial.println("Hello arduino");
  delay(5000);
  // put your main code here, to run repeatedly:

}


But again I got the following error

Code: [Select]
avrdude: Version 6.3, compiled on Sep 12 2016 at 17:24:16
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"

         Using Port                    : COM16
         Using Programmer              : arduino
         Overriding Baud Rate          : 115200
         AVR Part                      : ATmega328P
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PC2
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
           flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
           lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

         Programmer Type : Arduino
         Description     : Arduino
         Hardware Version: 3
         Firmware Version: 4.4
         Vtarget         : 0.3 V
         Varef           : 0.3 V
         Oscillator      : 28.800 kHz
         SCK period      : 3.3 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: reading input file "C:\Users\PRODUC~1.ODS\AppData\Local\Temp\arduino_build_505651/arduino_trial.ino.hex"
avrdude: writing flash (1592 bytes):

Writing | ################################################## | 100% 0.21s

avrdude: 1592 bytes of flash written
avrdude: verifying flash memory against C:\Users\PRODUC~1.ODS\AppData\Local\Temp\arduino_build_505651/arduino_trial.ino.hex:
avrdude: load data flash data from input file C:\Users\PRODUC~1.ODS\AppData\Local\Temp\arduino_build_505651/arduino_trial.ino.hex:
avrdude: input file C:\Users\PRODUC~1.ODS\AppData\Local\Temp\arduino_build_505651/arduino_trial.ino.hex contains 1592 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 0.21s

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
         0x62 != 0x0c
the selected serial port          0x62 != 0x0c
 does not exist or your board is not connected
avrdude: verification error; content mismatch

avrdude done.  Thank you.



Thanks..

ballscrewbob

#6
Feb 09, 2017, 02:43 pm Last Edit: Feb 09, 2017, 05:33 pm by Ballscrewbob
Avoid using USB 3.0 as there are lots of reports of that failing with Arduino to varying degrees.
If you really must use USB 3.0 then make sure you use a USB 2.0 POWERED HUB between them and the Arduino. That tends to sort out the USB 3.0 issue.

You may be able to see the Arduino on a USB 3.0 port but comms may fail at any time until you drop back to USB 2.0 or do as mentioned above.

It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

kprims

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


Reburning the bootloader with an ISP programmer worked on this thread.

https://forum.arduino.cc/index.php?topic=366893.0

Go Up