1
preenfm2 and preenfm3 / [Fixed] Can't flash PFM3 on Windows 11 via Chrome or WSL dfu-util
« on: October 20, 2021, 11:41:08 AM »Quote
This issue is FIXED! However there are more issues below in the replies.
The solution was to use the free Zadig software to install a proper driver so that Windows 11 recognized the PFM3 in DFU Mode. Then I was able to flash the bootloader using Chrome, and the firmware using dfu-util on the command line.
I tried flashing via Chrome, but it doesn't see the device. However, in my Windows 11 "Devices and Printers" control panel, I clearly see a device labeled "DFU in FS Mode". And when I connect in Boot0 mode, a device named "preenfm3" is connected. I tried everything which shows up under the "Connect" button on the DFU webpage, but it can never find the PFM3 "DFU in FS Mode". I only see the message NotFoundError: No device selected.
I also tried it via WSL Ubuntu, following the instructions to create the file /etc/udev/rules.d/46-stm32.rules with the text ATTRS{idProduct}=="df11", ATTRS{idVendor}=="0483", MODE="664", GROUP="plugdev", but when I run:
dfu-util -a0 -d 0×0483:0xdf11 -D p3_boot_1_08.bin -s 0x8000000
It gives the response:
Invalid DFU suffix signature
A valid dfu suffix will be required in a future dfu-util release!!!
unable to initialize libusb: -99
Help?