Skip to main content
anoop
Associate II
June 1, 2012
Question

VCP example

Posted on June 01, 2012 at 12:17

Can anyone post a link to a working Virtual COM port example for the STM32F4 discovery board.

-gandalf

#vcp-download-drivers
    This topic has been closed for replies.

    14 replies

    Tesla DeLorean
    Guru
    April 3, 2013
    Posted on April 03, 2013 at 10:25

    Yes

    ST still has USB FW on their site, and the dekar link should still be viable, and there is a post in one of the forums linking to earlier FW libraries, and I'm pretty sure that still worked.
    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    carl239955_stm1
    Visitor II
    April 20, 2013
    Posted on April 20, 2013 at 15:28

    The link to Wikisend

    [[this link/image has been flagged as malicious by our security scan software and has been deleted]]

    takes just to garbage downloading.

    Tesla DeLorean
    Guru
    April 20, 2013
    Posted on April 20, 2013 at 15:52

    takes just to garbage downloading.

    Yeah, thanks for playing, this was pointed out ages ago.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Tesla DeLorean
    Guru
    April 20, 2013
    Posted on April 20, 2013 at 16:31

    The lineage of this one is unknown, some of the library code looks a bit old, I've fixed it up to compile properly, and confirmed it worked. [DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Discovery/STM32F4Discovery%20VCP%20Problem%203328&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800084C20D8867EAD444A5987D47BE638E0F&TopicsView=https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Discovery/AllItems.aspx&currentviews=30]Original discussion This uses the virtual com port for Keil's stdio, ie printf(), puts(), scanf(), etc.

    https://docs.google.com/file/d/0B7OY5pub_GfIQTk0TjdmczU2a3c/edit?usp=sharing

    This is one I ported to the STM32F4-Discovery from the EVAL board examples in the firmware library, and connects to one of the STM32's physical USARTs

    https://docs.google.com/file/d/0B7OY5pub_GfIeVpqZXZLWEVrNWc/edit?usp=sharing

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..