【发布时间】:2017-03-20 14:21:50
【问题描述】:
我有一个 Adafruit Feather Huzzah ESP8266,想在上面加载一个 lua 脚本。
脚本超出了this Adafruit tutorial,我只更改了 Wifi 和 MQTT 连接设置。
我按照以下说明进行操作 https://github.com/4refr0nt/luatool#run 并使用以下命令:
python ./luatool.py --port /dev/tty.SLAB_USBtoUART --src LightSensor-master/init.lua --dest init.lua --verbose
我收到以下错误
Upload starting
Stage 1. Deleting old file from flash memory
->file.open("init.lua", "w")Traceback (most recent call last):
File "./luatool.py", line 272, in <module>
transport.writeln("file.open(\"" + args.dest + "\", \"w\")\r")
File "./luatool.py", line 111, in writeln
self.performcheck(data)
File "./luatool.py", line 61, in performcheck
raise Exception('No proper answer from MCU')
Exception: No proper answer from MCU
这里的错误是什么,我做错了什么?
我尝试将 nodemcu 开发版本刷入 Feather。这并没有改变问题。我还阅读了一些建议以稳定电源并在羽毛上添加电池 - 也没有成功。
【问题讨论】: