Error " avrdude: Verification mismatch"

Hello support team

after building my k8200 everything works fine!
First i have printed some tiny pieces and than the cover from the main page, two and a half hour!
After that success i could no longer reach the bord!
for two days i have tried different things but nothing will work , so i decide to renew the Firmware.
I followed the tutorial from your home page.
But during upload the Firmware, Arduino gives following error.
" avrdude: verification error, first mismatch at byte 0x00000x0c
! = 0x14
avrdude: verification error ; content mismatch"

that is where I am now!
The led`s on the bord ar blinking ! ( Power led and the two usb conect LED ´s during an upload try)
??? What now ???

Have you tried u selected the right board in the arduino software. This setting can be found under:

Tools - > Board -> Arduino Mega 2560 or Mega ADK

Hi

[ul]
[li]Yes Arduino Mega 2560 or Mega ADK is selected![/li]
[li]COM Port 5 is the right device and it works! (The two leds near the usb plug are flashing during the upload attempt)[/li]
[li]The JPROG pins are connected.[/li]
[li]The bord is totally unwired![/li]
[li]The Power led is flashing (in 1 1/2 stroke)[/li]
[li]The Red led (LD7) is flashing after the upload attempt![/li]
[li]I have tried to push the reset (P1) several times in different styles.[/li]
[li]I have tried to change the Baudrate to 115200 and back[/li][/ul]

Did I forget something?

You did load the firmware into the arduino program?

yes for sure
i have load the Marlin - 2560 file from your Homepage into the
Arduino Programm!!! (Marlin.ino)

There is indeed something wrong then. My colleague will contact you via e-mail to resolve this issue.

Sincerely

Velleman Support Team

I have the same message (avrdude: verification error, first mismatch at byte 0x0000). I just wanted to update the print to Version 2 of arduino Firmware to use the standalone Controller. I followed strictly the tutorial on this Website, everything went well. At the last step I got the error message.

I hope someone can help, thanks a lot!

here the complete message:

Binäre Sketchgröße: 52’104 Bytes (von einem Maximum von 258’048 Bytes)
avrdude: verification error, first mismatch at byte 0x0000
0x0c != 0x14

Hi hellstef,

please recheck that you used the right version - here, the Arduino IDE (version 1.0.5-r2) reports 102,326 Bytes for the “V2” or “Marlin - 2560 - LCD” firmware, and 52,104 Bytes for “V1” or “Marlin - 2560”.

Did you test whether your controller works as it should after uploading the new firmware? Sometimes, the verification routine in the Arduino IDE has a bit of a hiccup and reports an error where there is none. If the upload itself was ok and communication with the board is possible, you can disable the verification in the settings.

Cheers,
kuraasu

(edit: typo)

hi kuraasu

thanks a lot for your answer, yes this was V1 Version, so I tried the V2 Version and got this message

Binäre Sketchgröße: 102’326 Bytes (von einem Maximum von 258’048 Bytes)
avrdude: verification error, first mismatch at byte 0x0000
0x0c != 0x14
avrdude: verification error; content mismatch[/color]

after starting repetier host and connecting to the printer, the log-message still shows Marlin V1. The printer is working perfect controlled by the pc via usb, but the standalone controller isn’t working at all with Marlin V1 of course.

best regards
hellstef

Hi hellstef,

just try it. Both versions actually are Marlin v1.0, so the log entry is ok. “V1”/“V2” is just do distinguish between the two variants prepared by Velleman.

You can just as well use the current version from GitHub (github.com/ErikZalm/Marlin); the necessary changes to the config files are quickly done with the Velleman firmware as reference.

Cheers,
kuraasu

hi kuraasu

the behavior of the vellemann stand allone controller is the same. And, as far as I know in (Vellemann-) Version 2 of Marlin software the program should not be influenced by the endstop switch pressed during printing. But it does, everytime I press the switch there is a shift of the printing bed.

hmm.

I have an AVR ISP programmer (mysmartUSB light), maybe I could try with this to program arduino, what do you think?

thanks for your answer

best regards
hellstef

Hi hellstef,

what is “the same” in this case?

That’s right. Another test, that is a bit easier to perform: Starting at Z home, send G1 Z10 F300 G1 Z20 F450and observe the movement. If there is a notable difference in the speed, you have the “V1” firmware, if it’s the same for both parts, it’s “V2” (which has F300 as Z max feedrate).

Could be worth a try. As you probably know from other threads here, the USB connection can be a bit tricky. With the external programmer, you can of course circumvent those issues. Additionally, if you have one at hand, you can try to load the firmware using a laptop instead of a “normal” PC, they have better isolation from the power grid and therefore are less likely to show those connection errors.

Cheers,
kuraasu

thanks a lot for your suggestions.

yes, the Jumper was installed, otherwhise you get a timeout message after start programming.

the behavior of the stand allone Controller is:

  1. & 3. line are light blue (all pixels)
  2. & 4. line are blank
    pushing the reset button on the stand allone Controller resets the arduino, so connection seems to be ok

so I tried your Suggestion kuraasu
G1 Z10 F300
G1 Z20 F450 no difference, but
G1 Z30 F100 slow
so I changed max. Speed in firmware eeprom configuration (z direction) from 5 mm/s to 20 mm/s (edit in repetier host)
G1 Z10 F300
G1 Z20 F450 then second movement is faster.
so which version is it?

so tomorrow I will try to program the arduino with my laptop and a short usb cable, and if this is not working I try to program it with my isp programmer.

best regards
hellstef

so now I tried to program the board again:

  1. with my Laptop not connected to the powerline and a short usb cable. results in the same error
  2. with the avr programmer, didn’t work because the programmer does not support arduino mega 2560

no idea anymore.

best regards

hellstef

Hi hellstef,

V1 would have shown 50 mm/s in the EEPROM, while 5 mm/s (which is equivalent to F300) is the default value for the second version.

I’d disregard the avrdude error for the time being and look for possible errors in the display itself, checking the connectors and the wiring for continuity etc.

Cheers,
kuraasu

hello kuraasu

I had the possibility trying to program another arduino of another K8200 Printer. Same Laptop, same cable, and the upload was no Problem at all. standalone Controller works perfekt, so I think the bootloader is not running on my arduino board.

best regards
hellstef