cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 virtual com port

lowpowermcu
Associate II
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

3 REPLIES 3
po
Associate II
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 II
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
Associate II