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-22 04:18 AM
PAge 32, it seems that rev C is required to have st-link:
2018-02-22 04:23 AM
Or a Nucleo-F302RB ?
2018-02-22 04:24 AM
'I have STM32F3DISCOVERY BOARD'
It seems that the board was already bought.
2018-02-22 04:47 AM
I believe I followed the same approach as here when programming USB CDC:
2018-02-22 08:25 AM
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.
2018-02-22 09:29 AM
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.
2018-02-22 09:50 AM
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,
2018-02-22 10:38 AM
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!!
2018-02-22 10:51 AM
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:)
2018-02-22 11:54 AM
Bogdan Golab wrote:
fun (sic?) is to develop the VCP w/o st-link
Well - each to his own, I suppose...