PlatformIO Community

No DFU capable USB device found

Please help me.

Programming on Bluepill (STM32) on PlatformIO/VSCode.

Environment variables are the following :

image.png

The message (at very bottom) I get, despite the fact that PlatformIO / VSCode sees the port (second picture from very bottom).

System used :

image.png

I tried both latest version of VSCode : 1.35.1 and 1.36.1 (latest) : same problem.

99-platformIO udev rules are installed (see below) and system has been rebooted.

image.png

Services have been restarted :

xxxxxxxxxx@ASUS:~$ sudo service udev restart
[sudo] password for xxxxxxxxxx:
xxxxxxxxxx@ASUS:~$ sudo udevadm control --reload-rules
xxxxxxxxxx@ASUS:~$ sudo udevadm trigger
xxxxxxxxxx@ASUS:~$ sudo usermod -a -G dialout $USER
xxxxxxxxxx@ASUS:~$ sudo usermod -a -G plugdev $USER

image.png

image.png

Thank you so much for your help.

Regards,

R.J. Mercier

Can you try adding those images again? However you did that they’re not showing up - it seems they’re from a gmail email?

Anyway, one last step to perform after the udev stuff…

sudo udevadm control --reload-rules
sudo udevadm trigger
sudo usermod -a -G dialout $USER
sudo usermod -a -G plugdev $USER

(no need for the service restart since udevadm trigger is used), the last step is to log out and in again, to ensure the group permissions dialout and plugdev are applied.

Maybe something else will show up once we can see those screenshots.

Hi,

I had rigorously followed the procedure, including the four (4) commands given in your suggestion and in https://docs.platformio.org/en/latest/faq.html#faq-udev-rules. Thank you for your time and interest in trying to help me.

Problem solve. I had to upgrade my machine to the new Debian 10 stable (Buster) anyway. So I flushed everything and reinstalled VSCode/PlatformIO at the same occasion. The application recognizes the port now.

Thank you again.

Regards,

RJM

1 Like