Hello to you all!
After a huge amount of fuzzle with pycom's lopy to get it set up, I have come to the conclusion to not use their IDE "Pymakr" and rather try out rshell. I was though pretty quickly stopped by not having any clue how to connect my board via rshell.
the connect command's help method only says:
connect TYPE TYPE_PARAMS
connect serial port [baud]
connect telnet ip-address-or-name
I don't know what most of the parameters here mean. TYPE, and TYPE_PARAMS eg. I know what baudrate is, and IP-address-or-name obviously. Is there something I missed? An example or documentation that I couldn't find?
All the best
Søren
rshell - connecting my lopy board?
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: rshell - connecting my lopy board?
You haven't told us how you're connected and what OS you're using. If you're connected via USB you need to know the device name. On Linux you can issue
You'll probably find an entry like ttyACM0 or ttyUSB0 (I haven't got a PyCom board to test). Then all you need is
In my view rshell is the best way to access MicroPython targets.
Code: Select all
ls /dev/tty*
Code: Select all
rshell -p /dev/ttyUSB0 --buffer-size=30
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
Re: rshell - connecting my lopy board?
rshell works great with lopy and wipy. It its my main tool for those devices. I use FTP sometimes to manage a bunch of files but rshell recently added recursive copy, which I have not tested yet.
You might have to run this under sudo user if permissions gives you issues.
You might have to run this under sudo user if permissions gives you issues.
_______________
Travis Travelstead
Travis Travelstead
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: rshell - connecting my lopy board?
This is often solved by adding yourself to the dialout group.TravisT wrote:...You might have to run this under sudo user if permissions gives you issues.
Code: Select all
usermod -a -G dialout your_username
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.