Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. Uploading MQTT GW Sketch fails with avrdude error

Uploading MQTT GW Sketch fails with avrdude error

Scheduled Pinned Locked Moved Troubleshooting
2 Posts 1 Posters 979 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • dakkyD Offline
    dakkyD Offline
    dakky
    wrote on last edited by
    #1

    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 mismatch
    

    This happens ONLY with this sketch. The sample arduino blink works fine. Any idea whats wrong?
    I use the arduino UnO R3 as gateway

    Controller: Raspberry Pi 2 :: Openhab2 :: with @TimO MySensors Binding
    Gateway: Arduino MEGA 2560 R3 :: W5100 :: Ethernet GW

    Software: MySensors 2.0development

    1 Reply Last reply
    0
    • dakkyD Offline
      dakkyD Offline
      dakky
      wrote on last edited by dakky
      #2

      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 ?

      Controller: Raspberry Pi 2 :: Openhab2 :: with @TimO MySensors Binding
      Gateway: Arduino MEGA 2560 R3 :: W5100 :: Ethernet GW

      Software: MySensors 2.0development

      1 Reply Last reply
      0

      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
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      18

      Online

      12.0k

      Users

      11.2k

      Topics

      113.4k

      Posts


      Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • MySensors
      • OpenHardware.io
      • Categories
      • Recent
      • Tags
      • Popular