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 05:55 AM
Discovery board? What model? Some come in two flavors - with and w/o VCOM supported. It's a matter of st-link version (2-1 and 2B support VCOM). See the documentation of the particular board
2018-02-21 06:14 AM
I have numerous errors while compiling the project
You're referring to this:
https://community.st.com/0D50X00009XkfBRSAZ
?As noted there, you probably just have one actualmistake - but that results in a whole load of similar error reports.
This is quite common - one mistake causes resultant errors in everything else that depends upon it.
2018-02-21 06:58 AM
Can you advice what board come with VCP? I didn't find any.
I need it as a demo project for a user connectivity, not to program/debug with ST-LINK.
2018-02-21 07:08 AM
The list of boards with vcp is practically limitless, most of them of no use to you.
So you can help others help you by narrowing that down a little.
2018-02-21 07:13 AM
Please name me some STM32F3xx boards with Virtual Com Port demo project.
STM32373C-EVAL_FW_V1.0.0 - no VCP example
STM32F3-Discovery_FW_V1.1.0 - no VCP example
2018-02-21 07:18 AM
Does it really have to be specifically a
Virtual Com Port
on the target chip itself?
Why can't you just use a plain UART on the target chip?
To have a
Virtual Com Port
on the target chip clearly requires that the target chip has USB - so you could use that to narrow-down chip selection...
2018-02-21 07:18 AM
Well - I invented a shortcut - to take an example and to see what's going wrong.
2018-02-21 08:23 AM
All nucleo boards come with VCP. The CubeMX v4.24 comes with option of generating code for such board - I mean the UART is pre-initialized.
Almost all Discovery board on the market have such option like VCP - select the one which suits you (look for sensors, LCD, LED, etc).
http://www.st.com/en/evaluation-tools/stm32-mcu-discovery-kits.html?querycriteria=productId=LN1848
2018-02-21 08:32 AM
But, in these cases, the VCP is part of the ST-Link - not the target microcontroller.
Hence my question: