Unable to access keyboard for writing in putty for python console.

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
ashutoshkatkam
Posts: 2
Joined: Wed Aug 12, 2020 3:52 pm

Unable to access keyboard for writing in putty for python console.

Post by ashutoshkatkam » Wed Aug 12, 2020 3:56 pm

I have used putty to communicate with esp8266 to write python code but when i intialize the connection i am unable to use the keyboard for writing in the putty console. Can any one help with this.

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: Unable to access keyboard for writing in putty for python console.

Post by Roberthh » Wed Aug 12, 2020 4:38 pm

a) Try setting the flow control to None.
b) While main.py is running, there is no REPL prompt.

ashutoshkatkam
Posts: 2
Joined: Wed Aug 12, 2020 3:52 pm

Re: Unable to access keyboard for writing in putty for python console.

Post by ashutoshkatkam » Thu Aug 13, 2020 5:36 am

Roberthh wrote:
Wed Aug 12, 2020 4:38 pm
a) Try setting the flow control to None.
b) While main.py is running, there is no REPL prompt.
Thank you Roberthh I could solve it by changing flow control to none. Can I know the reason behind to put it as zero.

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: Unable to access keyboard for writing in putty for python console.

Post by Roberthh » Thu Aug 13, 2020 7:22 am

Flow control is a mechanism, by which a receiver can signal to a transmitter if it is able to accept data. There is hardware and software flow control. The hardware flow control signals of the USB/UART chip of your board are not connected to the ESP32 and probably in a state, which is seen by Putty as "do not send data". Setting flow control to None ignores this state.

Post Reply