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. Can't upload MQTT Client Gateway to ESP8266

Can't upload MQTT Client Gateway to ESP8266

Scheduled Pinned Locked Moved Troubleshooting
3 Posts 2 Posters 1.2k Views 2 Watching
  • 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.
  • christianwaiteC Offline
    christianwaiteC Offline
    christianwaite
    wrote on last edited by
    #1

    I'm very new to this, had some problems with Uno and an Ethernet shield (it's getting replaced) so decided to try out an ESP8266 as an MQTT Client Gateway. Followed the instructions with mySensors2.0.0, builds find, but I can't upload the sketch. This is the error I get:

    WARNING: Category '' in library UIPEthernet is not valid. Setting to 'Uncategorized'
    
    Sketch uses 244,441 bytes (23%) of program storage space. Maximum is 1,044,464 bytes.
    Global variables use 34,036 bytes (41%) of dynamic memory, leaving 47,884 bytes for local variables. Maximum is 81,920 bytes.
    Uploading 248592 bytes from /var/folders/fj/hzfwt74921v57hfdlw926rcw0000gn/T/build2f54fb14bd01c3e2d9f3141ffbe7dce4.tmp/GatewayESP8266MQTTClient.ino.bin to flash at 0x00000000
    warning: espcomm_send_command: didn't receive command response
    warning: espcomm_send_command(FLASH_DOWNLOAD_DATA) failed
    warning: espcomm_send_command: didn't receive command response
    error: espcomm_upload_mem failed
    
    

    I'm uploading from a MacbookPro over USB with upload speed 9600.
    This is the board I got, An ESP8266 12E Lua.

    Any ideas how to debug this?
    Thanks
    Christian

    1 Reply Last reply
    0
    • gyroG Offline
      gyroG Offline
      gyro
      wrote on last edited by
      #2

      Try with older (previous) and not the newest Arduino library for ESP8266

      1 Reply Last reply
      0
      • christianwaiteC Offline
        christianwaiteC Offline
        christianwaite
        wrote on last edited by
        #3

        HI, Thanks for getting back to me.
        Of note, the my sensors v.15 is actually 2.0.0 from the downloads.

        I have a 10k resistor from D0 to Gnd as suggested on various newsgroups, managed after about 5 attempts to flash the ESP8266 blink sketch, then it managed to flash the MQTT Client Gateway sketch after that.

        I'm not sure which of those things fixed it, but it's working now. Or it's uploaded anyway.

        Thanks
        Christian

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        22

        Online

        11.7k

        Users

        11.2k

        Topics

        113.1k

        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