Page 1 of 1

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

Posted: Wed Aug 12, 2020 3:56 pm
by ashutoshkatkam
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.

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

Posted: Wed Aug 12, 2020 4:38 pm
by Roberthh
a) Try setting the flow control to None.
b) While main.py is running, there is no REPL prompt.

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

Posted: Thu Aug 13, 2020 5:36 am
by ashutoshkatkam
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.

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

Posted: Thu Aug 13, 2020 7:22 am
by Roberthh
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.