Skip to main content
lowpowermcu
Associate III
June 5, 2011
Question

STM32 virtual com port

  • June 5, 2011
  • 3 replies
  • 950 views
Posted on June 05, 2011 at 15:32

Hi all,

Is there somebody who can give the link for the virtual com port for STM32 device.

I didn't find it :(

MCU Lüfter

    This topic has been closed for replies.

    3 replies

    po_it
    Associate
    June 5, 2011
    Posted on June 05, 2011 at 19:52

    Hi MCU Lüfter,

    You find it

    http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/USER_MANUAL/CD00158241.pdf

    A useful doc for HID.

    http://www.st.com/stonline/books/pdf/docs/14711.pdf

    But I have a problem:

    when I connect my primer 1 to the computer I get:

    USB device not recognized

    Currently, this hardware device is not connected to the computer. (Code 45)

    I heared that there is a ''.inf'' file to install. Is that right?

    Thanks for you participation.

    Thanks,

    Po

    saimaddy123
    Associate III
    June 6, 2011
    Posted on June 06, 2011 at 04:57

    Hi MCU,

    Which STM32 device are you using?

    I have posted a code here that will make STM32F107's USB to act as a Virtual COM port. You just need to setup the GPIO pins corresponding to your USB properly.. It should work right away:

    https://my.st.com/public/STe2ecommunities/mcu/Lists/ARM%20CortexM3%20STM32/Flat.aspx?RootFolder=https://my.st.com/public/STe2ecommunities/mcu/Lists/ARM CortexM3 STM32/stdio over USB serial in STM32-H107&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000626BE2B829C32145B9EB5739142DC17E&currentviews=87

    https://my.st.com/public/STe2ecommunities/mcu/Lists/ARM%20CortexM3%20STM32/Flat.aspx?RootFolder=https://my.st.com/public/STe2ecommunities/mcu/Lists/ARM CortexM3 STM32/stdio over USB serial in STM32-H107&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000626BE2B829C32145B9EB5739142DC17E&currentviews=87

    Sai

    vikas_sinha75
    Visitor II
    July 6, 2011