Skip to main content
PHude.1
Associate II
Apr 22, 2021 4:05 PM UTC
Solved

STM32F4 USB "Hello world" example?

Hi, i am trying to use USB VCP device on STM32F401. Is there a example available for this? Optimally, if it ends with something like the "Hello World" display in the terminal. My goal is to replace FTDI with internal USB in STM.

Thanks

This topic has been closed for replies.
PHude.1
PHude.1Best answer
Associate II
Apr 30, 2021 11:40 AM UTC

Funny final solution:

The driver installation process contains the disappearance of the installer window for relativelly long time.

My computer is more slow and probably more programs was running at installation time...

I presume that was occured something like as:

1. I was start the installation

2. Window was disappear

3. Someone was call me

4. I forgotten that installation

5. I was shutdown the computer and go home

:)

17 replies

PHude.1
PHude.1Author
Associate II
Apr 29, 2021 6:14 PM UTC

And next example working on win7 too.

Now, what i must do to start communication vith win10?

PHude.1
PHude.1Author
Associate II
Apr 30, 2021 10:16 AM UTC

Yesterday I am read "driver is no more adequate and the usage of the native inbox driver is recommended" and i was uninstall ST driver from win10. This was not help.

Today I am see:

https://community.st.com/s/question/0D50X00009XkeJ2/stm-virtual-com-port-driver-for-windows-10

The link in this thread doesn't work, but I tried to test the procedure from August 22, 2016. The next installation of the win8 driver at this point was the same as on win7, including a request for name and company (this did not happen on the first attempt on w10). And the device now works properly.

This is good for my experiments, but not good for customers. Manual with something like "Install this driver, open Windows Control Panel, uninstall this driver and reinstall" is not a good idea :)

Some tips what i can do?

PHude.1
PHude.1AuthorBest answer
Associate II
Apr 30, 2021 11:40 AM UTC

Funny final solution:

The driver installation process contains the disappearance of the installer window for relativelly long time.

My computer is more slow and probably more programs was running at installation time...

I presume that was occured something like as:

1. I was start the installation

2. Window was disappear

3. Someone was call me

4. I forgotten that installation

5. I was shutdown the computer and go home

:)

PHude.1
PHude.1Author
Associate II
May 4, 2021 9:35 AM UTC

How can I set this thread as answered?

Ons KOOLI
Visitor II
May 4, 2021 1:15 PM UTC

Hi @Pavel Hude�?ek​ ,

You choose the best answer and then you check Select as Best.

Best Regards,

Ons.

PHude.1
PHude.1Author
Associate II
May 4, 2021 1:47 PM UTC

Thank you

Associate II
Jul 25, 2023 2:29 PM UTC

STM32CubeF4\Projects\STM324xG_EVAL\Applications\USB_Device\CDC_Standalone