Page 3 of 4

Re: Unofficial guide to the Pyboard D.

Posted: Sun Feb 17, 2019 7:20 pm
by vitormhenrique
pythoncoder wrote:
Sun Feb 17, 2019 11:30 am
I've posted this unofficial guide to the Pyboard D. Some of the content is based on my testing, the rest on information from Damien (reproduced with his permission).

Any additions/corrections/PR's/comments from those with boards are welcome.
Now I just need to be able to buy one! :(

Re: Questions and wish list about Pyboard D

Posted: Tue Mar 05, 2019 8:25 pm
by Kip
When and where would I be able to purchase a PyBoard D? (Very excited)

Re: Questions and wish list about Pyboard D

Posted: Wed Mar 06, 2019 8:34 am
by ThomasChr
This seems to be a very well kept secret...

Re: Questions and wish list about Pyboard D

Posted: Fri Mar 22, 2019 11:10 am
by ThomasChr
Does anyone know if the Pyboad D is (like the ESP8266) capable of having Wifi Station and Access Point at the same time?

The 1DX Wifi Chip can do that: https://wireless.murata.com/type-1dx.html
(Network AP and STA dual mode)

So I thing micropython will be able to do that too?

Re: Questions and wish list about Pyboard D

Posted: Wed Mar 27, 2019 12:29 pm
by devnull
Does the pyboard D use the same build as pyboard 1.1 ??

and...

Can someone who has one let me know the result of this:

Code: Select all

import socket
dir(socket)
dir(socket.socket)

Re: Questions and wish list about Pyboard D

Posted: Wed Mar 27, 2019 4:06 pm
by rcolistete

Code: Select all

MicroPython v1.9.4-925-g8edf1205f-dirty on 2019-01-16; PYBD_SF2 with STM32F722IEK
Type "help()" for more information.
>>> 
paste mode; Ctrl-C to cancel, Ctrl-D to finish
=== import socket
=== dir(socket)
=== dir(socket.socket)
['__class__', '__name__', 'AF_INET', 'AF_INET6', 'IPPROTO_IP', 'IP_ADD_MEMBERSHIP', 'SOCK_DGRAM', 'SOCK_RAW', 'SOCK_STREAM', 'SOL_SOCKET', 'SO_REUSEADDR', 'callback', 'getaddrinfo', 'print_pcbs', 'reset', 'socket']
['__class__', '__del__', '__name__', 'accept', 'bind', 'close', 'connect', 'listen', 'makefile', 'read', 'readinto', 'readline', 'recv', 'recvfrom', 'send', 'sendall', 'sendto', 'setblocking', 'setsockopt', 'settimeout', 'write']

Re: Questions and wish list about Pyboard D

Posted: Wed Mar 27, 2019 5:28 pm
by pythoncoder
devnull wrote:
Wed Mar 27, 2019 12:29 pm
Does the pyboard D use the same build as pyboard 1.1 ??
No. Some code is stored in external QSPI flash.

Re: Questions and wish list about Pyboard D

Posted: Thu Mar 28, 2019 1:14 pm
by devnull
No. Some code is stored in external QSPI flash.
Thanks, but I don't understand what you mean ??

I don't have the board yet, still in transit.

Is the build / flash process different from the pybboard 1.1 ?

Re: Questions and wish list about Pyboard D

Posted: Fri Mar 29, 2019 3:53 am
by devnull
OK, great just received my pyboard Ds.

I have the 4GB EMMC connected, but unless I am missing something it does not appear to be giving me 4GB and is only showing 2MB of storage ??

Code: Select all

cd /Volumes/PYBFLASH
df -h
Filesystem      Size   Used  Avail Capacity iused      ifree %iused  Mounted on
/dev/disk1s1   2.0Mi  100Ki  1.9Mi     5%     512          0  100%   /Volumes/PYBFLASH

Re: Questions and wish list about Pyboard D

Posted: Fri Mar 29, 2019 9:06 am
by pythoncoder
You are just seeing the internal flash. At the REPL what does sys.path show? I'm wondering if it might be visible at the Python level.

I wonder if the device needs to be explicitly mounted?