首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >ESPlorer无法与ESP8266通信

ESPlorer无法与ESP8266通信
EN

Stack Overflow用户
提问于 2016-02-29 01:00:17
回答 2查看 14.6K关注 0票数 2

我在我的一个ESP8266模块中刷新了NodeMCU v0.9.5。现在,我正在尝试使用ESPlorer向我的模块发送一个Lua脚本。我已经仔细检查过线路了。

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

代码语言:javascript
复制
    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 (主)之后,我得到了一条启动消息。

代码语言:javascript
复制
_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脚本时,我得到了这些错误消息。

代码语言:javascript
复制
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的数据。串行线路上的输出似乎没有问题。我想,一切都应该没问题吧?

代码语言:javascript
复制
Sending data to thingspeak.com
Got disconnection...
Last temp: 222500
Temp:22.25.2500 C
EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2016-03-01 05:26:51

谷歌在ESPlorer超时消息上的第一个点击是你的朋友:https://github.com/nodemcu/nodemcu-firmware/issues/784

我认为目前您最好的选择是构建一个带有"debug = false“的固件,最好是从dev分支构建。

票数 1
EN

Stack Overflow用户

发布于 2020-04-14 06:16:15

在得到超时错误后,只需点击"FS信息“就可以了。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/35685471

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档