-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No proper answer from MCU #28
Comments
Sounds like you may have either a tight while loop or something is causing NodeMCU to crash loop (which is unfortunately easy to do). Whenever I have seen that, I've needed to re-flash the base firmware and start again. If you are using any while loops, you may be better served by using |
Hi! C:\dev\mike\nodemcu\luatool>python luatool.py --port COM4 --src init.lua --dest init.lua --verbose Any idea ? thanks! |
I saw the same errors reported here until I replaced the firmware on a unit I received. |
@acowley OK. I've updated the firmware to the lastest "nodemcu_integer_0.9.6-dev_20150704.bin" and the script works now. Thanks a lot ! |
I had the same problems. Looks that NodeMCU need more amps (I didn't measure it, this is my first night of playing with it) and it do not work with some USB cables at all or do not have stable connects to PC (time to time). So, to solve this problem, I took short USB cable (30cm). The second problem, I get "No proper answer from MCU" if I try to use luatool without --baud argument (as it mentioned in readme), as I understand, in this case, luatool/nodemcu try to autoconfig baudrate. So, to solve it, I've added --baud 115200 and now, luatool works just fine. |
i have this problem now... I use the floating version of the flash image. |
@avmelnikoff thank you so much, adding --baud 115200 fixed the issue for me! |
version mismatch issue!!!
root@kali:~# sudo python '/root/Desktop/luatool-master/luatool/luatool.py' --port /dev/ttyUSB0 --src '/root/Desktop/experimental/init.lua' --dest init.lua --verbose
Set timeout None
Set interCharTimeout None
Upload starting
Stage 1. Deleting old file from flash memory
->file.open("init.lua", "w")Traceback (most recent call last):
File "/root/Desktop/luatool-master/luatool/luatool.py", line 170, in
writeln("file.open("" + args.dest + "", "w")\r")
File "/root/Desktop/luatool-master/luatool/luatool.py", line 44, in writeln
raise Exception('No proper answer from MCU')
Exception: No proper answer from MCU
The text was updated successfully, but these errors were encountered: