- red: normal boot
- green: safe boot (don't execute boot.py or main.py)
- blue: factory reset of internal filesystem
- white: enter mboot USB DFU bootloader
Search found 647 matches
- Wed Apr 03, 2019 8:29 am
- Forum: Pyboard D-series
- Topic: Reset Filesystem ?
- Replies: 1
- Views: 3025
Re: Reset Filesystem ?
The LED cycling on the PYBD goes: red, green, blue, white, and corresponds to:
- Wed Apr 03, 2019 8:25 am
- Forum: Pyboard D-series
- Topic: WiFi throughput performance using (u)iperf3
- Replies: 1
- Views: 3690
WiFi throughput performance using (u)iperf3
To test WiFi throughput on the PYBD as it was being developed, I wrote a Python module implementing the iperf3 protocol. It's on PyPI as uiperf3 and can be installed on a PYBD using upip.install('uiperf3'). To test performance, run normal iperf3 on your PC in server mode (iperf3 -s) and then on the ...
- Wed Apr 03, 2019 8:07 am
- Forum: Pyboard D-series
- Topic: Network scan is blocking
- Replies: 1
- Views: 2353
Re: Network scan is blocking
Now that the code is available you can see how scan works. You'll notice it's just doing a busy wait at the end of the scan() method. So in principle it's pretty easy to make it non-blocking, it's just a matter of defining how the user-facing Python API looks. You can also specify a specific (B)SSID...
- Wed Apr 03, 2019 8:03 am
- Forum: Pyboard D-series
- Topic: Building
- Replies: 13
- Views: 10446
Re: Building
I have now made available the code, so you can build PYBD firmware yourself using the code posted here: https://github.com/micropython/micropython/pull/4669 For the low-level WiFi driver there is a binary blob, which is unavoidable given the nature of WiFi regulations. I tried to make it so that thi...
- Mon Apr 01, 2019 7:04 am
- Forum: Pyboard D-series
- Topic: Pyboard D: Can't switch to 216 MHz
- Replies: 14
- Views: 9455
Re: Pyboard D: Can't switch to 216 MHz
Switching frequency with machine.freq(...) works OK for me, at least on an SF2W board after a fresh start. Do you have something running (eg SPI, UART, Timer) during the switch? machine.lightsleep(ms) should also work, but the USB will not during a lightsleep, you need to do pyb.usb_mode(None) to di...
- Mon Apr 01, 2019 6:57 am
- Forum: MicroPython pyboard
- Topic: New subforum for Pyboard D?
- Replies: 1
- Views: 1599
- Thu Mar 28, 2019 6:16 am
- Forum: MicroPython pyboard
- Topic: wiznet - OSError: no available NIC
- Replies: 5
- Views: 4283
Re: wiznet - OSError: no available NIC
You can switch to use a better socket implementation on the wiznet, by enabling MICROPY_PY_LWIP. Either build with "make MICROPY_PY_LWIP=1 MICROPY_PY_WIZNET5K=5500", or set these 2 parameters in mpconfigport.mk
- Wed Mar 27, 2019 12:28 am
- Forum: MicroPython pyboard
- Topic: wiznet - OSError: no available NIC
- Replies: 5
- Views: 4283
Re: wiznet - OSError: no available NIC
If you get "no available NIC" then it's failing either in either socket.bind, socket.connect, socket.sendto or socket.getaddrinfo.
Try testing if socket.getaddrinfo(<mqtt_server>, 1883) works or not (eg at the REPL).
Try testing if socket.getaddrinfo(<mqtt_server>, 1883) works or not (eg at the REPL).
- Fri Mar 22, 2019 9:11 am
- Forum: Newsletter archive
- Topic: MicroPython Newsletter Issue 7
- Replies: 11
- Views: 77394
MicroPython Newsletter Issue 7
Dear community, Just a quick note that the new pyboard D-series and accessories will be available in the store in a few hours time, around UTC 12:00 today, Friday 22nd March 2019. The store is at store.micropython.org For a preview you can visit pybd.io From Damien and the MicroPython team. (If you'...
- Mon Mar 11, 2019 2:29 pm
- Forum: Newsletter archive
- Topic: MicroPython Newsletter Issue 6
- Replies: 8
- Views: 64886
MicroPython Newsletter Issue 6
Dear community, Welcome to the sixth issue of the MicroPython newsletter. Many of you are wondering about the new upcoming pyboard D-series and when it will be available. Some people even bought one at FOSDEM earlier this year and are now waiting on the full release. We are happy to say that final t...