New to Arduino here. I'm attempting to set up the Huzzah ESP8266 board with Mircopython according to this tutorial. All goes well, and I'm able to flash the device, unplug-and-replug it (I believe this is called a reset?), and connect via putty (windows) or screen or picocom (osx). However, in all cases when I type in to the REPL prompt, letters do not appear. It just shows some debug information and the prompt. No response from ctrl-D, ctrl-C, etc. Can only quit by unplugging the device.
If I press the reset button, garbage characters appear. One post said that this is an indicator of the device being in flash/bootstrapping mode, but I couldn't find instructions on how to leave this mode if that's what's the problem is.
The device should have 4mb of memory. Nonetheless, I tried the 1mb v1.19.1 micropython binary, and had the same trouble
Different baud rates cause me not even to get a prompt
If I run ls over ampy, I also just get no response.
Tried on windows and mac
Some people say that a "Real power supply" helps. It's unclear what this means to me as from what I see, USB C should deliver 900mA, and this device only puts out 500mA tops - so that shouldn't be an issue? (Not to mention it looks like this board is not particularly designed for a different power source)
I'm a little unsure of the status of Arduino Lab for Micropython so in the meantime you can try the following with Thonny which can be downloaded here https://thonny.org/
Install Thonny and under Tools\Options\Interpreter enter the interpreter kind = MicroPython(ESP8266) and then the port number.
Plug in the ESP and you should see
Type "help()" for more information.
>>>
in the shell at the bottom half of the Thonny app, if you don't then click on the Stop icon on the menu bar. If you manage to get the above prompt make sure your cursor is in the shell window and try Ctrl + D which should display something like MPY: soft reboot.
hm I think we're getting the same root issue here.
PROBLEM IN THONNY'S BACK-END: Internal error (thonny.plugins.micropython.mp_back.ProtocolError: Could not complete raw paste).
See Thonny's backend.log for more info.
You may need to press "Stop/Restart" or hard-reset your MicroPython device and try again.
Process ended with exit code 0.Could not interrupt current process.
I tried pressing the little reset button, but got the same error.
Someone may come in with more information but I'm thinking your best bet is to try and get answers on the Adafruit forums, there is not a lot of discussion on Micropython here.
I did notice that your programming cable does not have RTS/DTR, the official Micropython docs mention that flashing is easier using " DTR/RTS wired in a special way " and mentions the Huzzah in particular. If you have not looked at it yet it might be a good alternative method.