Sonsivri

Electronics => Hardware and Tools => Topic started by: a222k on October 23, 2008, 03:25:31 03:25



Title: USB TO RS232 WHAT I WANT
Post by: a222k on October 23, 2008, 03:25:31 03:25
Hellow everyone,
 I am new in this web i have chips pl2303 with this chip i was made card readers to read irdeto viacces
with winxp it is working good but with linux it is not working good but ft232 from FTDI working well
but in my location these chips not available i saw this topic  http://www.recursion.jp/avrcdc/index.html
this avr circut gives only RX and TX  but i want RTS for reset the cards
my mean RX,TX for data in out and RTS for reset
please share information and help me i am using laptop no serial


Title: Re: USB TO RS232 WHAT I WANT
Post by: maddoc on October 23, 2008, 06:44:50 18:44
I do not know of any PIC or AVR projects that use other signals than RX and TX.

I can just say that I have a USB->serial convertor (factory made) with pl2303 and it works fine in linux. I had problems with FT232 instead...
PL2303 worked for me on Mandriva 2008.0!
The cable is called UC232A, made by Aten.

Remember, in linux the port is ttyUSB !


Title: Re: USB TO RS232 WHAT I WANT
Post by: a222k on October 24, 2008, 12:38:49 00:38
Thanks maddoc  for responnce
I know in linux the port is ttyUSB i check pl2303 USB->serial cable still no work i am using
ubuntu-8.04.1-server-i386 but with Ftdi 232 working good .I am thankfull to you and hope
for more help my laptop detects ttyUSB0 drivers installed well but no luck


Title: Re: USB TO RS232 WHAT I WANT
Post by: bogdantk on October 24, 2008, 06:22:26 06:22
Hello
Check this
http://www.ftdichip.com/Products/FT232R.htm
Very simple to use, full modem control + user configurable optional I/O
I did a couple of project with no problems.
Drivers compatible with MS Windows XP, 2K, VISTA and with LINUX.
All the best



Title: Re: USB TO RS232 WHAT I WANT
Post by: maddoc on October 24, 2008, 08:30:03 08:30
What is the output of lsusb with the prolific adapter plugged in?

The single problem I know from some prolific based adapters is that they sometimes loose the first byte when setting up communication for the first time, then they work ok.
It it not advised to send/receive data by using "cp or cat /dev/ttyUSB0"


Title: Re: USB TO RS232 WHAT I WANT
Post by: a222k on October 27, 2008, 03:19:22 15:19
What is the output of lsusb with the prolific adapter plugged in?

The single problem I know from some prolific based adapters is that they sometimes loose the first byte when setting up communication for the first time, then they work ok.
It it not advised to send/receive data by using "cp or cat /dev/ttyUSB0"

ls usb is

Bus 001 Device 003: ID 0e0f:0002 
Bus 001 Device 002: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 001 Device 001: ID 0000:0000

dmesg -c   is

s
erial Driver core
[   55.187356] /build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c: USB Serial support registered for pl2303
[   55.187825] pl2303 1-1:1.0: pl2303 converter detected
[   55.189142] usb 1-1: pl2303 converter now attached to ttyUSB0
[   55.189232] usbcore: registered new interface driver pl2303
[   55.189262] /build/buildd/linux-2.6.24/drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver
[   62.333859] eth0: no IPv6 routers present
 no luck 
with ft232m from FTDI chip all ok but i have lot pl2303 serial cables


Title: Re: USB TO RS232 WHAT I WANT
Post by: maddoc on October 27, 2008, 09:12:22 21:12
Have you tried the prolific cable with the kernel that came with your linux distro? Or just on the kernel you've built?

Maybe you missed something in the kernel config...


Title: Re: USB TO RS232 WHAT I WANT
Post by: markhao on November 12, 2008, 05:20:35 17:20
how about CP2102 of silabs?  AFAIK, there is a chip in silabs to convert USB to UART... hope that helps.