Search found 129 matches

by WhiteHare
Mon Oct 29, 2018 11:58 am
Forum: Other Boards
Topic: [nRF52] How to get rshell to work with an nRF52?
Replies: 30
Views: 18621

Re: [nRF52] How to get rshell to work with an nRF52?

Yup:

Code: Select all

MicroPython v1.9.4-651-g0f6f86ca4-dirty on 2018-10-28; PCA10056 with NRF52840
Type "help()" for more information.
>>>
raw REPL; CTRL-B to exit
>
and CTRL-B does exit to regular >>> prompt too.

Thanks. I'll try contacting Dave Hylands (@dhylands) through PM.
by WhiteHare
Mon Oct 29, 2018 7:55 am
Forum: Other Boards
Topic: [nRF52] How to get rshell to work with an nRF52?
Replies: 30
Views: 18621

Re: [nRF52] How to get rshell to work with an nRF52?

In my case, connecting with a terminal and getting a REPL prompt isn't a problem. For example, the following is done via putty: >>> MicroPython v1.9.4-651-g0f6f86ca4-dirty on 2018-10-28; PCA10056 with NRF52840 Type "help()" for more information. >>> import os >>> os.listdir() ['update.txt', 'main.py...
by WhiteHare
Mon Oct 29, 2018 5:24 am
Forum: Other Boards
Topic: [nRF52] How to get rshell to work with an nRF52?
Replies: 30
Views: 18621

Re: [nRF52] How to get rshell to work with an nRF52?

Straight off the bat, though, seems to be rshell's lack of knowledge about what board it is talking to, because it says that it's not finding any board to connect with, even when the nRF52840-DK is connected directly to /dev/ttyACM0, which is the default for rshell. i.e. rshell should be finding the...
by WhiteHare
Mon Oct 29, 2018 2:53 am
Forum: Other Boards
Topic: [nRF52] How to get rshell to work with an nRF52?
Replies: 30
Views: 18621

Re: [nRF52] How to get rshell to work with an nRF52?

So far I haven't installed micropython on anything else, but if I needed to I suppose I could install it on a Wemos D1 Mini ESP8266. Would there be any point in doing so?
by WhiteHare
Mon Oct 29, 2018 1:29 am
Forum: Other Boards
Topic: [nRF52] How to get rshell to work with an nRF52?
Replies: 30
Views: 18621

Re: [nRF52] How to get rshell to work with an nRF52?

What about : $ rshell -p /dev/ttyACM0 -b 115200 --buffer-size 32 -a ? root@debian:/home/david/micropython/ports/nrf/myPrograms# rshell -p /dev/ttyACM0 -b 115200 --buffer-size 32 -a Connecting to /dev/ttyACM0 ... Traceback (most recent call last): File "/usr/local/lib/python3.5/dist-packages/rshell/...
by WhiteHare
Sun Oct 28, 2018 7:07 pm
Forum: Other Boards
Topic: [nRF52] How to get rshell to work with an nRF52?
Replies: 30
Views: 18621

[nRF52] How to get rshell to work with an nRF52?

I did install rshell on Debian 9 as per the directions (https://github.com/dhylands/rshell): sudo pip3 install rshell At least that much seemed to work. However, it goes downhill from there. If I type "rshell" at the linux prompt, what I get is: Welcome to rshell. Use Control-D (or the exit command)...
by WhiteHare
Sun Oct 28, 2018 5:17 pm
Forum: Programs, Libraries and Tools
Topic: KNX with micropython
Replies: 14
Views: 11378

Re: KNX with micropython

I'm using my own small KNX module (unfortunately I can't attach a file here). It's around 9k in size. You can probably attach it if you zip it. Otherwise, if that fails, you can post it to pastbin.com (free) and then post a link to that. Or, of course, github, which it also free. Now you've both go...
by WhiteHare
Sun Oct 28, 2018 3:15 pm
Forum: Programs, Libraries and Tools
Topic: KNX with micropython
Replies: 14
Views: 11378

Re: KNX with micropython

My view is try it. Then you'll know for sure. ;)

If you don't already have a micropython platform, you could try it on the unix emulator (which exists somewhere, as pythoncoder refers to it on some forum threads here) to see if your libraries are likely to run.
by WhiteHare
Sun Oct 28, 2018 12:32 pm
Forum: Other Boards
Topic: [nRF5x] How to connect using WebBluetooth REPL?
Replies: 37
Views: 28545

Re: [nRF5x] How to connect using WebBluetooth REPL?

Do you happen to have a raspberry pi 3 with built-in bluetooth? Maybe try that. It also worked for me.