2021-06-15 10:56 PM
I have the stm32f4 discovery kit. It's true, natively doesn't have an UART communication from USB but I connect the pins RX and TX of debugger to USART2, step and step from datasheets. I would have to see the device in the port on my Device Manager in Windows. I tried reinstall the drivers, connect another cable, all possibillities but I can't solve my troubble. I appreciate any help. Thanks
2021-06-16 12:11 AM
Hello @FArle.1 ,
the VCP service is usually provided by the ST-Link embedded in the Discovery Kit. I don't think it's possible to to reconfigure that functionality. If the VCP is not found by the USB enumeration, it's irrelevant what USART pins are connected. There are at least 6 different F4 discovery boards available. Which one do you use?
J.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2021-06-16 10:20 PM
I have the STM32F407G-DISC1. It is true, if it didn't have that functionality it wouldn't be possible to reconfigure it. I checked the user manual and the embedded st link supports a Virtual Com Port, but as the manual said these pins are not connected. I attach a part of the manual that says itMy real problem is when I search the Virtual Com port in my Pc.
2021-06-17 02:28 AM
You are probably using older version of that discovery kit. It's written in the UM that only the current one supports the VCP.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2021-06-17 02:32 AM
@FArle.1 , here is the footnote about the board version difference. The exact order code to tell the boards apart should be in the blister insert.
J.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2021-06-22 07:00 PM
Thanks! I see. Yes, my kit is the old version, command code stm32f4discovery. In the old version, is there a way to make the connection? Because in the old UM that I have it has the same connection and I remember that I could make a UART connection through ST-LINK. Is it the cause of the old diver working?
2021-06-24 02:10 AM
Hi @FArle.1 ,
I believe the best bet would be to replace the embedded ST-Link with another ST-Link, capable of VCP, by HW modification. Probably cutting the PCB leads and soldering some wires to ST-Link from nucleo board or using a connector.
I know no way to upgrade the ST-Link firmware to support the VCP, if it did not support it originally.
J.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.