question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to connect properly to NodeMCU custom build powered by Lua 5.1.4 on SDK 1.5.4.1(39cb9a32)

See original GitHub issue

I am running your tool on a Mac. nodemcu-tool devices gives me this

[NodeMCU] Connected Devices | Total: 1
	  |- /dev/cu.wchusbserial1420 (undefined, undefined)

Any subsequent command fails, e.g. nodemcu-tool --port /dev/cu.wchusbserial1420 --baud 115200 mkfs

[NodeMCU-Tool] Do you really want to format the filesystem and delete all file ? (no) y
[NodeMCU-Tool] Unable to establish connection - No response detected - is NodeMCU online and the Lua interpreter ready ?

However, I can connect to the terminal nodemcu-tool --port /dev/cu.wchusbserial1420 terminal

[SerialTerminal] Starting Terminal Mode - press ctrl+c to exit

This is the boot log

NodeMCU custom build by frightanic.com
	branch: master
	commit: 81ec3665cb5fe68eb8596612485cc206b65659c9
	SSL: false
	modules: adc,cjson,encoder,file,gpio,http,mdns,mqtt,net,node,rtcfifo,rtcmem,rtctime,sntp,tmr,uart,wifi
 build 	built on: 2017-01-12 05:51
 powered by Lua 5.1.4 on SDK 1.5.4.1(39cb9a32)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
mohnencommented, Jan 30, 2017

I got it fixed with --connection-delay 50

2reactions
wolfg1969commented, Jun 28, 2017

I use --connection-delay 1000.

Read more comments on GitHub >

github_iconTop Results From Across the Web

NodeMCU MQTT client doesn't detect broker outage and ...
So it seems that I will stuck with 1.5.4.1 for my ESP mqtt stuff because ... build built on: 2017-03-07 18:05 powered by...
Read more >
ESP8266 + NodeMCU Custom Build + WS2812.Init() causing ...
Also when you start using the WiFi functionality even more pins become unusable. This can cause very weird behavior without proper error codes....
Read more >
autodetect firmware - Everything ESP8266
Can't autodetect firmware, because proper answer not received (may be ... NodeMCU 1.5.4.1 build unspecified powered by Lua 5.1.4 on SDK ...
Read more >
ESP8266 NodeMCU - How to know firmware information
so you should note that your custom NodeMCU firmware details yourself. In this post will help to firmware details list easily by using...
Read more >
Convert Your Wired Alarm System into a SmartThings Smart ...
build built on: 2017-03-23 20:41 powered by Lua 5.1.4 on SDK 1.5.4.1(39cb9a32) Connecting to WiFi access point… Waiting for IP address…
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found