verification error, first mismatch at byte
Moderators: adafruit_support_bill, adafruit

verification error, first mismatch at byte

by 5826colin on Sun Mar 03, 2013 11:06 am

Hello, I have purchased the USBTinyISP from AdaFruit, soldered it as shown in the tutorial and am getting the error when uploading or bootloading the Atmel328P on an nano board. Using Arduino API on Windows 7. I have the JP3 jumpered to supply the board with power and can see the LED flashing showing that it is uploading data and uploading the Blink program does work from appearance of the led but am getting the following error:
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 1.61s

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0080
0x23 != 0x00
avrdude: verification error; content mismatch

avrdude done. Thank you.

This also happens if I try and flash the board with the bootloader.

I have attached some pictures so that you can verify my wiring and soldering.

Any recommendations to how I can overcome this problem?
Attachments
IMAG0020Scaled.jpg
IMAG0020Scaled.jpg (858.81 KiB) Viewed 1458 times
IMAG0016.jpg
IMAG0016.jpg (930.87 KiB) Viewed 1476 times
5826colin
 
Posts: 6
Joined: Sun Mar 03, 2013 10:20 am

Re: verification error, first mismatch at byte

by 5826colin on Sun Mar 03, 2013 9:23 pm

I have another Nano board with 328P and tried the USBTiniISP on it and success!!! Short lived though :(, every upload after the initial one failed, however the LED is blinking so some code is getting through, I also tried to upload the arduino bootloader which also failed with same mismatch error.

15min later
For a while I was able to unplug the usb cable at the PC socket and reinsert with the first upload being a success then failure afterwards. I changed Nano boards to try to replicate the issue on the other board and could not reproduce on this board and then neither on the first board afterwards.

Seems like a noise issue to me

1hr later
Changed USB cable and still the same behavior. Bruise on front of head from banging against wall.

Any thoughts?
5826colin
 
Posts: 6
Joined: Sun Mar 03, 2013 10:20 am

Re: verification error, first mismatch at byte

by 5826colin on Tue Mar 05, 2013 7:44 pm

Did not progress any further, no help from this site and was not worth the cost of my time. Have purchased another USBtinyISP from another supplier.
5826colin
 
Posts: 6
Joined: Sun Mar 03, 2013 10:20 am