can't use Cygwin connect to pyboard.

The official pyboard running MicroPython.
This is the reference design and main target board for MicroPython.
You can buy one at the store.
Target audience: Users with a pyboard.
starter111
Posts: 2
Joined: Wed Mar 08, 2017 7:24 am

can't use Cygwin connect to pyboard.

Postby starter111 » Wed Mar 08, 2017 7:42 am

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

User avatar
dhylands
Posts: 2260
Joined: Mon Jan 06, 2014 6:08 pm
Location: Shuswap, BC, Canada
Contact:

Re: can't use Cygwin connect to pyboard.

Postby dhylands » Wed Mar 08, 2017 8:21 pm

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

starter111
Posts: 2
Joined: Wed Mar 08, 2017 7:24 am

Re: can't use Cygwin connect to pyboard.

Postby starter111 » Thu Mar 09, 2017 4:57 am

Thank you so much!
rshell works!


Return to “The MicroPython pyboard”

Who is online

Users browsing this forum: No registered users and 2 guests