Problem with Port

How to install STM32 core into the Arduino IDE, and any OS specific issues
stevestrong
Posts: 502
Joined: Fri Dec 27, 2019 4:53 pm
Answers: 8
Location: Munich, Germany
Contact:

Re: Problem with Port

Post 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.
wegrei
Posts: 11
Joined: Thu Jan 14, 2021 9:55 am
Location: Schliersee / Germany

Re: Problem with Port

Post by wegrei »

Hi Stevestrong,

jeah, thats what happensb after getting my board into boot mode:
failure.JPG
failure.JPG (77.5 KiB) Viewed 7002 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.
wegrei
Posts: 11
Joined: Thu Jan 14, 2021 9:55 am
Location: Schliersee / Germany

Re: Problem with Port

Post by wegrei »

Here in more detail:
failure.JPG
failure.JPG (80.7 KiB) Viewed 7001 times
wegrei
Posts: 11
Joined: Thu Jan 14, 2021 9:55 am
Location: Schliersee / Germany

Re: Problem with Port

Post 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 7001 times
User avatar
fpiSTM
Posts: 1738
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: Problem with Port

Post 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
stevestrong
Posts: 502
Joined: Fri Dec 27, 2019 4:53 pm
Answers: 8
Location: Munich, Germany
Contact:

Re: Problem with Port

Post by stevestrong »

I would try this one: https://www.st.com/en/development-tools ... 32080.html
Then restart the computer.
wegrei
Posts: 11
Joined: Thu Jan 14, 2021 9:55 am
Location: Schliersee / Germany

Re: Problem with Port

Post 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 6993 times
Then after going into the boot mode, the following happened:
failure02.JPG
failure02.JPG (64.57 KiB) Viewed 6993 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
wegrei
Posts: 11
Joined: Thu Jan 14, 2021 9:55 am
Location: Schliersee / Germany

Re: Problem with Port

Post 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
stevestrong
Posts: 502
Joined: Fri Dec 27, 2019 4:53 pm
Answers: 8
Location: Munich, Germany
Contact:

Re: Problem with Port

Post by stevestrong »

Have you installed the drivers with admin priviledges?
Jwolffbrandt
Posts: 1
Joined: Sat Mar 26, 2022 12:13 am
Answers: 1

Re: Problem with Port

Post 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.
Post Reply

Return to “Installation and OS related”