• Issue on byte 42

     Lukas updated 4 years, 9 months ago 4 Members · 6 Posts
  • oleao80

    Member
    December 13, 2019 at 8:33 pm

    I have a brand new CONTROLLINO MINI and I’m trying to make it work.

    I’ve followed the startup tutorial online without any issue. The problem is that I’m not able to download any piece of code on top of it, because I always receive the following error:

    Code:

    Reading | #############################################An error occurred while uploading the sketch
    ##### | 100% 0.54s

    avrdude: verifying …
    avrdude: verification error, first mismatch at byte 0x0042
    0x7c != 0x2d
    avrdude: verification error; content mismatch

    avrdude done. Thank you.

    The mismatch is always at byte 0x0042, whatever is the code I’m trying to download.

    The issue happens both with and without 24V external power supply.

    I tried to contact the company since weeks ago, with several trials, but I’m still waiting for an answer.

  • seprim

    Member
    January 5, 2020 at 6:55 pm

    Hello

    I have the same issue here

    Sometimes the upload works, but in the meantime this error comes up.

    We need a solution asap here.

    CU

    Seprim

  • Lukas

    Member
    January 20, 2020 at 12:18 pm

    Hello,

    the problem is that we are not able to reproduce it here. Nevrtheless we are trying to solve this issue.

    Please, see our FAQ No.10 if you have troubles to upload a sketch.

    Thanks,

    Lukas

  • rnielsen

    Member
    February 3, 2020 at 9:04 am

    Hi

    I have the exact same problem.

    I have bought new 3 pcs. Controllino Mini and 1 of them are giving this error all the time (se error below) and the others are working as expected.

    So what can I do to fix the problem? Or is the one Controllino defective and needs to be replaced?

    Code:

    Sketch uses 2236 bytes (6%) of program storage space. Maximum is 32256 bytes.
    Global variables use 186 bytes (9%) of dynamic memory, leaving 1862 bytes for local variables. Maximum is 2048 bytes.
    avrdude: verification error, first mismatch at byte 0x0042
    0xff != 0xb2
    avrdude: verification error; content mismatch
    avrdude: verification error; content mismatch

  • rnielsen

    Member
    February 3, 2020 at 9:42 am

    RNielsen wrote:


    Hi

    I have the exact same problem.

    I have bought new 3 pcs. Controllino Mini and 1 of them are giving this error all the time (se error below) and the others are working as expected.

    So what can I do to fix the problem? Or is the one Controllino defective and needs to be replaced?

    Code:

    Sketch uses 2236 bytes (6%) of program storage space. Maximum is 32256 bytes.
    Global variables use 186 bytes (9%) of dynamic memory, leaving 1862 bytes for local variables. Maximum is 2048 bytes.
    avrdude: verification error, first mismatch at byte 0x0042
    0xff != 0xb2
    avrdude: verification error; content mismatch
    avrdude: verification error; content mismatch


    Btw. it seems that if I upload a small program, the upload succeeds sometimes, but if I upload a larger program, it fails.

    Could it be corrupted memory or something like that?

    Code:

    Sketch uses 1692 bytes (5%) of program storage space. Maximum is 32256 bytes.
    Global variables use 186 bytes (9%) of dynamic memory, leaving 1862 bytes for local variables. Maximum is 2048 bytes.

  • Lukas

    Member
    February 28, 2020 at 3:06 pm

    I have some news regarding this topic – we have found some potential root cause of these troubles in the original Arduino bootloader.

    Please see this tutorial THIS TUTORIAL how to update to the new MINI bootloader.

Viewing 1 - 6 of 6 replies

Log in to reply.

Original Post
0 of 0 posts June 2018
Now