No DFU capable USB device found

Please help me.

Programming on Bluepill (STM32) on PlatformIO/VSCode.

Environment variables are the following :


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

System used :


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.


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



Thank you so much for your help.


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.


I had rigorously followed the procedure, including the four (4) commands given in your suggestion and in Redirecting.... 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.



1 Like