ESPlorer 无法与 ESP8266 通信

我将 NodeMCU v0.9.5 刷到了我的 ESP8266 模块上。现在,我正试图使用 ESPlorer 发送一个 Lua 脚本到我的模块上。我已经仔细检查了连线。

当我按下“发送到 ESP”按钮时,它显示一个错误:

    PORT OPEN 9600

    Communication with MCU...
    ....Got answer! AutoDetect firmware...

    Can't autodetect firmware, because proper answer not received.
    ����,�.,�����(�.,�����Waiting answer from ESP -   Timeout reached. Command aborted.`

我该怎么解决这个问题呢?

编辑: 刷了 NodeMCU 1.4(master)后,我收到一个启动消息。

_flash_used_end:402669c3
fs.start:68000,max:14000
mount res: 0
Task task_lua started.
SIG_LUA received.

NodeMCU custom build by frightanic.com
    branch: master
    commit: c8037568571edb5c568c2f8231e4f8ce0683b883
    SSL: false
    modules: file,gpio,i2c,net,node,ow,tmr,uart,wifi
build   built on: 2016-02-29 18:25
powered by Lua 5.1.4 on SDK 1.4.0
lua: cannot open init.lua
> Heap size::42720.
Task task_lua started.

当我尝试上传 Lua 脚本时,我会得到这些错误消息。

fTask task_lua started.
iTask task_lua started.
lTask task_lua started.
eTask task_lua started.
.Task task_lua started.
remove("DS1820.lua");Task task_lua started.
Task task_lua started.
Task task_lua started.
Task task_lua started.
Waiting answer from ESP - Timeout reached. Command aborted.

刷了一个没有调试模式的新固件之后,我可以上传脚本。我试图构建这个项目: http://www.instructables.com/id/Low-cost-WIFI-temperature-data-logger-based-on-ESP/?ALLSTEPS 但是 Thingspeak 上没有数据。串行线上的输出似乎很好。 我想,一切都应该没问题吧?

Sending data to thingspeak.com
Got disconnection...
Last temp: 222500
Temp:22.25.2500 C
点赞
用户131929
用户131929

第一个关于ESPlorer超时消息的Google搜索结果是你的朋友:https://github.com/nodemcu/nodemcu-firmware/issues/784

我认为,目前最好的选择是使用“debug = false”构建固件,最好是来自“dev”分支。

2016-02-29 21:26:50
用户1203115
用户1203115

Simply clicking on "FS Info" after getting the timeout error worked for me.

直接在超时错误后点击“FS Info”对我很有效。

2020-04-13 22:16:15