AndiDittrich / NodeMCU-Tool

:wrench: Upload + Manage Lua files on NodeMCU
https://www.npmjs.com/package/nodemcu-tool
MIT License
316 stars 54 forks source link

How to upload to a Witty Cloud developer board? #35

Closed T-vK closed 7 years ago

T-vK commented 7 years ago

I have a couple of these Witty Cloud development boards.

Flashing the NodeMCU firmware works just fine without any problems using esptool.py. And I was also able to use ESplorer to upload my init.lua file.

But I cannot get it to work with NodeMCU-Tool. I tried at 9600 and 115200 baud rates. I always get:

Unable to establish connection - Timeout, no response detected - is NodeMCU online and the Lua interpreter ready ?

And I should mention: When using ESplorer, I have to do a short RST followed by a short DTR in the UI after opening the COM port and I have to use a baud rate of 115200.

Is there maybe some sort of special setting that I need to use in order to make NodeMCU-Tool send an RST and DTR signal?

I'm on Linux Mint x64.

AndiDittrich commented 7 years ago

Did you tried the --connection-delay option ? see https://github.com/AndiDittrich/NodeMCU-Tool/blob/master/docs/Reset_on_Connect.md

T-vK commented 7 years ago

Awesome! Thank you so much for the quick response. It works :+1: