cancel
Showing results for 
Search instead for 
Did you mean: 

VCP for STM32F3

Posted on February 21, 2018 at 14:09

I'm trying to implement Virtual Com Port on STM32F3. I use IAR.

I've included all files from a demo project.

0690X00000609h4QAA.png

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.
57 REPLIES 57
Posted on February 22, 2018 at 12:23

Or a Nucleo-F302RB ?

http://www.st.com/en/evaluation-tools/nucleo-f302r8.html

  
Posted on February 22, 2018 at 12:24

'I have STM32F3DISCOVERY BOARD'

It seems that the board was already bought.

henry.dick
Senior II
Posted on February 22, 2018 at 17:25

It is not difficult to tell if your board supports vcp. Take a look at the schematic of your board. There should be a connection between the debuggers uart and the targets uart pins.

If there is, there is a chance you board supports vcp. Otherwise, no chance and you have to move on.

Later jtag support swo and jscope ... So that's another option.

AvaTar
Lead
Posted on February 22, 2018 at 18:29

Just to mention it - the F3 Discovery firmware package has an USB example project, too.

I guess it's not VCP specific code, though.

I think what the OP was trying to tell us as well - his F3 discovery has no ST-Link with VCP (V2, like mine).

So option 1 drops out.

Posted on February 22, 2018 at 17:50

dhenry wrote:

It is not difficult to tell if your board supports vcp.

I think you need to be clear that you're talking here about VCP via the ST-Link.

It's still not clear that the OP has understood that there are two possible ways to do 'VCP'; viz,

  1. via the ST-Link;
  2. by implementing USB/CDC on the target microcontroller.
Posted on February 22, 2018 at 18:38

AvaTar wrote:

I think what the OP was trying to tell us as well - his F3 discovery has no ST-Link with VCP (V2, like mine).

So option 1 drops out.

But I think that this thread, and the previous thread, demonstrate that it would be far simpler to just get a board with the VCP-equipped ST-Link ?

See:

https://community.st.com/0D50X00009XkfBTSAZ

The cost of the time spent on this so far would have bought several dozen Nucleo and/or discovery boards - with premium delivery!!

Posted on February 22, 2018 at 18:51

For hobbyist like me more fun is to develop the VCP w/o st-link.

You are (unfortunately) professionals and 'time is money' is your every day mantra:)

Posted on February 22, 2018 at 19:54

Bogdan Golab wrote:

fun (sic?) is to develop the VCP w/o st-link

 Well - each to his own, I suppose...