Page 2 of 3

Re: Problem with Port

Posted: Sat Jan 16, 2021 9:11 am
by stevestrong
That is a clear sign that your driver is not installed or activated correctly.
Look for a "Unrecognized device" in your device manager in the case you get that message, then try to update that driver automatically.

Re: Problem with Port

Posted: Sat Jan 16, 2021 9:26 am
by wegrei
Hi Stevestrong,

jeah, thats what happensb after getting my board into boot mode:
failure.JPG
failure.JPG (77.5 KiB) Viewed 8829 times
Have tried to update the driver automatically many times. No success. After unpluging and repluging the board the board is recognized again but as soon as I get it into boot mode it falls off.

Re: Problem with Port

Posted: Sat Jan 16, 2021 9:37 am
by wegrei
Here in more detail:
failure.JPG
failure.JPG (80.7 KiB) Viewed 8828 times

Re: Problem with Port

Posted: Sat Jan 16, 2021 9:54 am
by wegrei
And as you see it falls always back to the original windows driver. Do not know how to get rid of that.
failure.JPG
failure.JPG (63.49 KiB) Viewed 8828 times

Re: Problem with Port

Posted: Sat Jan 16, 2021 10:49 am
by fpiSTM
You best bet is to reinstall the cube programmer.
But before do that I would clean the USB driver.
You can use USBDeview.
https://www.nirsoft.net/utils/usb_devices_view.html

Re: Problem with Port

Posted: Sat Jan 16, 2021 1:20 pm
by stevestrong
I would try this one: https://www.st.com/en/development-tools ... 32080.html
Then restart the computer.

Re: Problem with Port

Posted: Sat Jan 16, 2021 2:02 pm
by wegrei
@ fpiSTM
OK, thats what I have done. Tried to deinstall the STM Cube. Did not work, as one deinstallation file was missing. Removed it then manually. Removed also all unused USB entries using the USBDeview. Then I cleaned the entire computer with a reg scan and repair program. After that I reinstalled the STM Cube and drivers. After plugging the board in the first time, it recognized the black pill (happy):
failure01.JPG
failure01.JPG (59.46 KiB) Viewed 8820 times
Then after going into the boot mode, the following happened:
failure02.JPG
failure02.JPG (64.57 KiB) Viewed 8820 times
and it was not visible any more.

URGH that drives me crazy. Maybe I completely reset my computer and reinstall the OS from the beginning on. Something in the background might screw everything up. This drives me crazy.

@ SteveStrong
This I already tried

Re: Problem with Port

Posted: Sat Jan 16, 2021 6:11 pm
by wegrei
Now I have installed everything on a stone age old Laptop under Windows 7.
Guess what? It works. Buuummmmm....
I do not know what my Windows 10 computer is doing, strange....
At least I can start programming.
Thanks for all your help so far, have a good one :P

Re: Problem with Port

Posted: Sat Jan 16, 2021 9:29 pm
by stevestrong
Have you installed the drivers with admin priviledges?

Re: Problem with Port

Posted: Sat Mar 26, 2022 1:43 am
by Jwolffbrandt
Tie pin A10 to ground during the button presses to bootload.

Had the exact same problem and tried the same fixes. The only difference was I knew it worked when it wasn't on a bread board and it stopped working when I plugged it into an empty bread board. That made me think it was a floating pin issue. I moved a jumper around from ground to different pins and somehow it works if you ground out pin A10. (It also seems to work if you pull it to 5v). I don't know why this happens but I can replicate it over and over.