Uploading MQTT GW Sketch fails with avrdude error
-
Hello
ich just downloaded the 1.5 release of mysensors to restart the project after some break ;)
I configured MyConfig.h, loaded the example sketch and configured MyMQTT.h and the sketch compiles successfully. But when trying to upload the sketch i receive the folowing error:
Sketch uses 31,688 bytes (98%) of program storage space. Maximum is 32,256 bytes. Global variables use 1,015 bytes (49%) of dynamic memory, leaving 1,033 bytes for local variables. Maximum is 2,048 bytes. avrdude: verification error, first mismatch at byte 0x7800 0xff != 0x35 avrdude: verification error; content mismatchThis happens ONLY with this sketch. The sample arduino blink works fine. Any idea whats wrong?
I use the arduino UnO R3 as gateway -
Hurm strange things are happening here ...
short timeline:
- did some googeling
- most reasonable result: sketch is too big and conflicts with bootloader
- tried to reburn bootloader via usbtinyisp and arduino software
- can't upload anything to the arduino:
avrdude: stk500_recv(): programmer is not responding
Oh NO, Not again! - got certainty, that this error results from "corrupt" bootloader (I already "lost" an uno with this problem)
- tried to burn the bootloader via avrdude:
I used the config file from th arduino software AND the .hex file from the arduino software - result: can upload again AND the mqtt sketch works too
I don't have to understand that, have I ?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login