Skip to content
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 on ESP8266 ESP-12E and raspberry Pi 3 B #51

Open
Tomek0029 opened this issue Apr 17, 2017 · 2 comments
Open

Comments

@Tomek0029
Copy link

Hello I flashed my ESP8266 ESP-12E with NodeMCU by raspberry Pi 3 B. All was okay. On minicom -b 115200 -o -D /dev/ttyS0 I can normally connect but if I want to upload some files by exec command: python luatool.py --port /dev/ttyS0 --src init.lua --dest init.lua --verbose --baud 115200 then I get:

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

I have connect only RXD and TXD pins, when I'm connecting GPIO0 to GND and run it by baud 9600 its the same, please help me. When I try to the same on ESPlorer then I get double sending a command but not all command. Something like this:

print('TEST')
print('TES

Guys please help me!

@Testi89
Copy link

Testi89 commented Sep 27, 2017

Did you also wire GND?

@ghost
Copy link

ghost commented Jan 19, 2018

I had the same problem with the luatool. Using minicom everything went right. I've got the exception " No proper answer from MCU". That's way the answer to a command should be something different than an empty line. But my NodeMCU software allways answers with an empty line. Replacing the exception call with a break statement in a while loop did the trick.

https://github.com/4refr0nt/luatool/blob/master/luatool/luatool.py#L72

However that's just a quick fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants