3

NodeMCU v0.9.5 を ESP8266 モジュールの 1 つにフラッシュしました。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

dev現在のところ、理想的にはブランチから「debug = false」でファームウェアをビルドするのが最善の策だと思います。

于 2016-02-29T21:26:50.647 に答える