Getting started on Windows 10 (latest experience) #10070
Replies: 1 comment 1 reply
-
Thanks @etherbrat
This does work (making it possible to use CubeProgrammer was a big part of the reason why we started publishing .hex files for stm32 builds). (It's still very confusing to me that CubeProgrammer doesn't support .dfu files though!!)
You can also use
We should fix this -- which documentation were you looking at?
My understanding is that the last two (file system and USB serial) do not require any drivers to be installed (the filesystem has never required drivers, and the serial not since Windows 10 at least)? Is that not the case? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Old documentation for Windows 10 seems to rely on DfuSeDemo (an early STM DFU programmer) and an unsigned USB serial driver. The latter is particularly problematic if Bitlocker is enabled on the PC.
Try the following instead.
Download and install STM32CubeProgrammer. Note that STM32CubeProgrammer can handle a range of file formats but NOT .dfu.
Installing STM32CubeProgrammer also seems to install suitable drivers for:
You may also need to download and install a package which contains the aforementioned DfuSeDemo (NOT USED) and Dfu File Manager (which can convert between various file formats).
Download the latest MicroPython firmware, which is published in .dfu and .hex formats. If you like, convert the .dfu file to .s19 (tested) or just use the .hex file (not tested).
Install the DFU programming jumper on the PyBoard, plug in the USB cable (for both power and USB communications) and burn the firmware using STM32CubeProgrammer (Recommended: Verify the download; and do NOT "run" the software).
Unplug the USB cable, remove the DFU programming jumper from the PyBoard. Replug the USB cable, and everything should work.
Beta Was this translation helpful? Give feedback.
All reactions