2018-02-21 05:09 AM
I'm trying to implement Virtual Com Port on STM32F3. I use IAR.
I've included all files from a demo project.
However I have numerous errors while compiling the project. Struggling for hours I came to this question
Is there any compiled project with VCP for STM32F3?
Note: this post was migrated and contained many threaded conversations, some content may be missing.2018-02-21 08:58 AM
It seems my English is very bad;). Yes, I know what the VCP is.
2018-02-21 09:18 AM
The working assumption on discovery boards is that they do not have vcp. There are some discovery boards introduced later, I think some of the f4 boards are like that, that do have vcp. Those are St link v2(b?).
Technically only stlink v2-1 boards are capable of vcp.
This may help you get it going:
https://dannyelectronics.wordpress.com/2016/05/01/uart-debugging-over-st-link-v2-1/
2018-02-21 09:25 AM
Again, I think we are confusing a VCP provided by the target chip itself, with the VCP provided by (some versions of) the ST-Link.
We need the OP to clarify the requirement ...
2018-02-21 09:31 AM
'I need it as a demo project for a user connectivity, not to program/debug with ST-LINK.'
Maybe you are right. Maybe the author of this post needs connectivity through the USB/CDC
2018-02-21 09:32 AM
I mean directly ti the target MCU.
2018-02-21 09:33 AM
Just to echo the other poster, if you are looking for a stm32 board with vcp, the nucleo boards are the obeivious way to go, not the discovery boards.
2018-02-21 09:34 AM
Why not the discovery? I have plenty of Discovery boards with VCP
2018-02-21 10:33 PM
I think I have to clarify things. I want to connect my PC's USB to USB on a board and use it as UART terminal.
2018-02-21 11:50 PM
So select the Discovery or Nucleo model:
http://www.st.com/en/evaluation-tools/stm32-mcu-nucleo.html?querycriteria=productId=LN1847
http://www.st.com/en/evaluation-tools/stm32-mcu-discovery-kits.html?querycriteria=productId=LN1848
Look at price, sensors, displays, arduino connectors (can add extra HW - arduino shields). All new boards supports VCP - Virtual COM emulated by the ST-LINK programmer / debugger.
Also boards equipped with the second USB port (Some if not all Discovery boards) can use USB CDC - direct connection from the MCU to the PC without ST-LINK.
2018-02-22 12:55 AM
Hi Bogdan,
I perfectly understand that all boards supports VCP. I have no problem with the hardware. The problem I didn't found any compiled VCP example.
My English too bad? It's hard to understand what I want? I start to panic.