Search found 642 matches

by Damien
Tue May 14, 2019 5:45 am
Forum: General Discussion and Questions
Topic: Push files from local to PyBoard
Replies: 4
Views: 1513

Re: Push files from local to PyBoard

You may also be interested in the following tool: https://github.com/micropython/micropython/pull/3034
by Damien
Mon Apr 29, 2019 1:09 pm
Forum: Newsletter archive
Topic: MicroPython Newsletter Issue 8
Replies: 7
Views: 7792

MicroPython Newsletter Issue 8

Dear community, Today is MicroPython's Birthday! Six years ago on this date, the 29th of April, the initial goals and first line of code for what is now MicroPython were written. Here is an excerpt from the initial notes. The title is "Python board" and the date is 29 April 2013: Python board 29/4/2...
by Damien
Thu Apr 04, 2019 1:34 pm
Forum: Pyboard D-series
Topic: WBUS-DIP28 Usb FS port issue (SOLVED)
Replies: 5
Views: 1576

Re: WBUS-DIP28 Usb FS port issue

It may be that you have an old bootloader which didn't enable 500mA by default, by pulling Pin(W23) high. To test this, do a fresh hard reset and check the state of pin W23. If it's low then it's 100mA max. It's possible to update mboot from the pyboard REPL: download mboot from https://micropython....
by Damien
Thu Apr 04, 2019 1:08 pm
Forum: Pyboard D-series
Topic: WBUS-DIP28 backup battery possible error?
Replies: 3
Views: 1176

Re: WBUS-DIP28 backup battery possible error?

Thanks Pete. The schematics for WBUS-DIP28 are now updated to note that the current limiting resistor is not populated by default, and that the user should pick one that matches the specs of the battery used.
by Damien
Thu Apr 04, 2019 12:06 am
Forum: Pyboard D-series
Topic: Detecting Pyboard D and USB connection SOLVED
Replies: 4
Views: 1573

Re: Detecting Pyboard D and USB connection

On PYBD the USB_VUSB and USB_ID pins are not connected through to the USB port (either FS or HS), so these names should be removed from the build (they are just normal IO pins, Y1 and Y2). If you want to detect if the VCP is enabled and has an active connection on the PC via a serial terminal (ie no...
by Damien
Wed Apr 03, 2019 8:29 am
Forum: Pyboard D-series
Topic: Reset Filesystem ?
Replies: 1
Views: 1185

Re: Reset Filesystem ?

The LED cycling on the PYBD goes: red, green, blue, white, and corresponds to:
  • 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
by Damien
Wed Apr 03, 2019 8:25 am
Forum: Pyboard D-series
Topic: WiFi throughput performance using (u)iperf3
Replies: 1
Views: 1396

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 ...
by Damien
Wed Apr 03, 2019 8:07 am
Forum: Pyboard D-series
Topic: Network scan is blocking
Replies: 1
Views: 831

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...
by Damien
Wed Apr 03, 2019 8:03 am
Forum: Pyboard D-series
Topic: Building
Replies: 13
Views: 3772

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...
by Damien
Mon Apr 01, 2019 7:04 am
Forum: Pyboard D-series
Topic: Pyboard D: Can't switch to 216 MHz
Replies: 14
Views: 3551

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...