Issue on byte 42

Post Reply
oleao80
Posts: 1
Joined: Fri Dec 13, 2019 8:27 pm

Issue on byte 42

Post by oleao80 » Fri Dec 13, 2019 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: Select all

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
Posts: 1
Joined: Sun Jan 05, 2020 6:54 pm

Re: Issue on byte 42

Post by seprim » Sun Jan 05, 2020 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

User avatar
Lukas
Posts: 67
Joined: Tue Dec 18, 2018 3:44 pm

Re: Issue on byte 42

Post by Lukas » Mon Jan 20, 2020 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
Posts: 2
Joined: Mon Feb 03, 2020 8:56 am

Re: Issue on byte 42

Post by RNielsen » Mon Feb 03, 2020 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: Select all

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
Posts: 2
Joined: Mon Feb 03, 2020 8:56 am

Re: Issue on byte 42

Post by RNielsen » Mon Feb 03, 2020 9:42 am

RNielsen wrote:
Mon Feb 03, 2020 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: Select all

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: Select all

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.

User avatar
Lukas
Posts: 67
Joined: Tue Dec 18, 2018 3:44 pm

Re: Issue on byte 42

Post by Lukas » Fri Feb 28, 2020 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.

Post Reply