Skip to main content
pkumar1883
Associate III
Oct 25, 2013 2:13 PM UTC
Question

STM32F103 USB Virtual COM problem

Posted on October 25, 2013 at 16:13

Hi,

I am using olimex kit of  STM32F103RBT6 microcontroller. I am new in USB virtual COM programming.

I am using STM32_USB-FS-Device_Lib_V3.3.0 with Keil MDK-ARM 5.0 IDE.

I opened the precompiled Virtual Com port project from library folder. In DEBUG tool I have selected STM3210b-eval and Rebuilt all files. I flashed the HEX file in my microcontroller.

Then connected the kit USB port with PC. But nothing happening in device manager on PC side.

So please suggest me why this in not working. 

#lmgtfy #metoo-maybe
    This topic has been closed for replies.

    13 replies

    vitabreviss
    Associate
    Jan 1, 2014 9:46 PM UTC
    Posted on January 01, 2014 at 22:46

    clive1,

    I kindly ask you for the explanation. What about? I will try to describe now.

    I am not sure I will ask on right way but I am sure you will know what I wish to know.

    I know everything is on Internet but there are so many things.

    1. Imagine I have USBCDC device: TXbyte:dataout(d0d4d7d1d2d3d5d6)&

        Rxbyte:datain(mixdata) & control bits in 3bytes with mixed data.

    2. EPOUT(1) 1byte(Tx), EPIN(2)1byte(Rx), EPOUT(3)2bytes(CTRL), EPIN(4)3bytes

        everything described in descriptors with class CDC! and than attach Usb device to the PC.

    3. After enumeration WinXP says:  new COM port & put it on the Com port list with yellow mark ! & of course does not works,  since here are my questions.

       - where are EP bytes for the USB transfer on XP ? how XP store USB trafic?  my app. want

         to 'see' new com port as  classic  COM port, I need a driver between app. and EP bytes 

        which fist has to arranges bits in my bytes up stream & down stream etc. I can write this task

        but.. it has to looks like  a driver and finally   .NFI file to install this driver .. how to ?

        I know almost nothing even can not ask on right way .. how this story works with HID's 

    Where I can find a good explanation about what I am asking ?

                                                                                                           br

    vitabreviss
    Associate
    Jan 9, 2014 5:44 PM UTC
    Posted on January 09, 2014 at 18:44

    clive,

    I would like to test usb-wifi on my new stm32f4 ..

    please tell me where to download something like this :

    MDV-STM32F107-WiFi-examples

     

                                   regards me

      

    Tesla DeLorean
    Guru
    Jan 9, 2014 5:55 PM UTC
    Posted on January 09, 2014 at 18:55

    So use PUDN or CodeBus

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