STM32 USB/RS232
Company  
ST Home | Microcontrollers

Index  »  ARM Cortex-M3 STM32  »  STM32 USB/RS232
     
   STM32 USB/RS232
 Moderated by :   »  STOne-32

Author
beginning argument    ( Replies received: 2 )
cesareconte   Posted 03-09-2008 at 18:53   



Registered on :
09-03-2008

Messages : 2

 OFF-Line

I need to integrate an USB/RS232 converter onto an STM32 device.

I have compiled the "VirtualCom" demo with IAR tools and loaded it on a IAR-STM32 SK.

The Demo works perfectly with a host running XP but not wit a host running Linux.

Do someone already used the "VirtualCom" demo with a linux host?

Regards
Cesare



 Profile   Quote  
STOne-32   Posted 03-09-2008 at 21:19   





Registered on :
05-29-2007

From STMicroelectronics

Messages : 415

 OFF-Line

Dear Cesare,

If I remember well you need to install a driver called "usb serial gadget"
have a look at :
http://www.kernel.org/doc/Documentation/usb/gadget_serial.txt

You need of course to configure the VID and PID of the driver as implemented in the STM32 demonstration.

Hope this helps you , Please try it and if you succeed to get it working you can share it in this Forum

Cheers,

STOne-32.



 Profile   www   Quote  
cesareconte   Posted 04-09-2008 at 07:51   



Registered on :
09-03-2008

Messages : 2

 OFF-Line

Hi STOne-32,

thanks a lot for your fast reply. During the night I made some other test and I was able to interface the "VirtualCom" demo with linux host using the driver usbser and specifying Vid and Pid

regards
Cesare



 Profile   Quote  
On Top

Search in the forums
 
Jump To