3

我将 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(主)后,我收到一条启动消息。

_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
4

2 回答 2

1

ESPlorer 超时消息在 Google 上的第一次点击是您的朋友:https ://github.com/nodemcu/nodemcu-firmware/issues/784

我认为目前你最好的选择是用“debug = false”构建一个固件,最好是从dev分支。

于 2016-02-29T21:26:50.647 回答
0

收到超时错误后,只需单击“FS Info”即可。

于 2020-04-13T22:16:15.170 回答