Page 1 of 1

can't use Cygwin connect to pyboard.

Posted: Wed Mar 08, 2017 7:42 am
by starter111
I'm a beginner didn't find much information able using cygwin in windows.
I just got my pyboard 1.1 today and I had updated pybaord to latest FW pybv11-20170308-v1.8.7-372-gddb56a0.dfu
I'm using windows 10 and able connected to pyboard by using PuTTY with COM3 speed 115200 setting.
But having issue using Cygwin $ screen /dev/ttyS2 115200 to open serial. it stops at 'info'.
Any suggestion are welcome!

$ screen /dev/ttyS2 115200
MicroPython v1.8.7-372-gddb56a0 on 2017-03-08; PYBv1.1 with STM32F405RG
Type "help()" for more info

Re: can't use Cygwin connect to pyboard.

Posted: Wed Mar 08, 2017 8:21 pm
by dhylands
I tried screen under cygwin in my Windows 7 virtual machine and I'm seeing the same thing.

rshell seems to be working okay. I had to install python3 (using the cygwin setup), and then do:

Code: Select all

python3 -m ensurepip
python3 -m pip install rshell
rshell -p /dev/ttyS2
and then use the repl command in rshell.
https://github.com/dhylands/rshell

Re: can't use Cygwin connect to pyboard.

Posted: Thu Mar 09, 2017 4:57 am
by starter111
Thank you so much!
rshell works!