VCP for STM32F3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-02-21 5: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.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-02-22 4:18 AM
PAge 32, it seems that rev C is required to have st-link:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-02-22 4:23 AM
Or a Nucleo-F302RB ?
http://www.st.com/en/evaluation-tools/nucleo-f302r8.html
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-02-22 4:24 AM
'I have STM32F3DISCOVERY BOARD'
It seems that the board was already bought.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-02-22 4:47 AM
I believe I followed the same approach as here when programming USB CDC:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-02-22 8: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-02-22 9: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-02-22 9: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,
- via the ST-Link;
- by implementing USB/CDC on the target microcontroller.
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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!!
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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:)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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...
A complex system designed from scratch never works and cannot be patched up to make it work.
