pyboard UF2 update the firmware

The official pyboard running MicroPython.
This is the reference design and main target board for MicroPython.
You can buy one at the store.
Target audience: Users with a pyboard.
Post Reply
skylin008
Posts: 88
Joined: Wed Mar 11, 2015 6:21 am

pyboard UF2 update the firmware

Post by skylin008 » Mon Feb 08, 2021 9:21 am

Hello everyone! Is there the pyboard V11 can be via UF2 method drag and drop style update the firmware. Is there some source code can be used! Thanks!

User avatar
jimmo
Posts: 2754
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: pyboard UF2 update the firmware

Post by jimmo » Mon Feb 08, 2021 10:19 am

skylin008 wrote:
Mon Feb 08, 2021 9:21 am
Hello everyone! Is there the pyboard V11 can be via UF2 method drag and drop style update the firmware. Is there some source code can be used! Thanks!
Not an official one -- the pyboard (all variants) is supported by mboot, but that's a dfu bootloader not uf2.

However, if you want uf2 on the pyboard you could use Adafruit's tinyuf2 -- see https://github.com/adafruit/tinyuf2/

However you'll need to add a board definition for the pyboard. It's an stm32f405, so you should be able to adapt the feather_stm32f405_express definition here. https://github.com/adafruit/tinyuf2/tre ... 2f4/boards

Note that when you compile MicroPython firmware (if that's your goal) for a uf2 bootloader, you'll need to configure the linker script. See how that works for mboot (via the USE_MBOOT makefile argument).

skylin008
Posts: 88
Joined: Wed Mar 11, 2015 6:21 am

Re: pyboard UF2 update the firmware

Post by skylin008 » Tue Feb 09, 2021 1:58 am

Thanks jimmo, I will be try!

Post Reply