www.smartbusinesschoices.com

Leading Business and Technology,
News and information


Part of the Identityscape.com network...

getxfactor.com jmoodmusic.com smartbusinesschoices.com mintdepot.com lowfaresalways.com evangelicalview.com shoppingpodder.com soproudlywehail.com webnews.ws currenthumor.com

 

 

connecting from usb to serial problem
   Smart Linux Business Choices! - the Best of UseNet Postings! Forum Index -> Linux Embedded  
View previous topic :: View next topic  
Author Message
Sinan
Guest






PostPosted: Mon Nov 17, 2008 4:49 pm    Post subject: connecting from usb to serial problem Reply with quote

Hi,
I have a ppc (405 ep) based chamelon dev kit. I wanted to re-use it
after long time ago. First i noticed that i do not have a serial
interface on my board, so i bought serial-to-usb connector, Then
noticed that the both side of serial-to-usb's and boards serial
connecter's output is male, i found a cable which has female
connectors on both sides. I connected my board and my pc via plugged-
in this long cable, i successfully receive messages from pretty old
board but then i noticed that i cannot type anything! actually i can
type but when pressed to a character, non-related and randomly some
weird character(s) appear, if i am lucky by pressing enter several
times to enter, i can send my command.
example output;

(I'm trying to type hello here)

CPU: IBM PowerPC 405EP Rev. B at 333.333 MHz (PLB=111, OPB=55,
EBC=37 MHz)
+----------------------------------------+
IIC Boot EEPROM disabled
PCI async ext clock used, internal PCI arbiter enabled
16 kB I-Cache 16 kB D-Cache
Board: ### No HW ID - assuming PPChameleonEVB
I2C: ready
DRAM: 32 MB
FLASH: 4 MB
PCI: Bus Dev VenId DevId Class Int
Video: Controller not found !
NAND: 32 MB
=> i�����i��l��M���

i tried in both using minicom and cu and linux recognizes the
connector as /dev/ttyUSB0.My connection scheme

PPC rs232 male <--------rs232 female in bothe side -------><-----rs232
male to usb -------->Computers USB port

What can be a problem?

Thanks.
Back to top
Janaka
Guest






PostPosted: Tue Nov 18, 2008 10:34 pm    Post subject: Re: connecting from usb to serial problem Reply with quote

On Nov 18, 3:49 am, Sinan <sar...@gmail.com> wrote:
Quote:
Hi,
I have a ppc (405 ep) based chamelon dev kit. I wanted to re-use it
after long time ago. First i noticed that i do not have a serial
interface on my board, so i bought serial-to-usb connector, Then
noticed that the both side of serial-to-usb's and boards serial
connecter's output is male, i found a cable which has female
connectors on both sides. I connected my board and my pc via plugged-
in this long cable, i successfully receive messages from pretty old
board but then i noticed that i cannot type anything! actually i can
type but when pressed to a character, non-related and randomly some
weird character(s) appear, if i am lucky by pressing enter several
times to enter, i can send my command.
example output;

(I'm trying to type hello here)

CPU:   IBM PowerPC 405EP Rev. B at 333.333 MHz (PLB=111, OPB=55,
EBC=37 MHz)
                    +----------------------------------------+
       IIC Boot EEPROM disabled
       PCI async ext clock used, internal PCI arbiter enabled
       16 kB I-Cache 16 kB D-Cache
Board: ### No HW ID - assuming PPChameleonEVB
I2C:   ready
DRAM:  32 MB
FLASH:  4 MB
PCI:   Bus Dev VenId DevId Class Int
Video: Controller not found !
NAND:  32 MB
=> i i l M

i tried in both using minicom and cu and linux recognizes the
connector as /dev/ttyUSB0.My connection scheme

PPC rs232 male <--------rs232 female in bothe side -------><-----rs232
male to usb -------->Computers USB port

What can be a problem?

Thanks.

Your baud rate seems to ok (otherwise you wouldn't see the
characters). First of all make sure your rs232ToUSB converter is
working solid for the given baud rate. Use it with another computer
using a cross-over cable and make sure the you can get reliable reads
and writes. Secondly make sure your FemaleToFemale cable connectivity
is good using a multimeter. Thirdly check your Parity and handshaking
settings.
Back to top
Sinan
Guest






PostPosted: Wed Nov 19, 2008 6:16 am    Post subject: Re: connecting from usb to serial problem Reply with quote

On Nov 19, 12:34 am, Janaka <jana...@optiscan.com> wrote:
Quote:
On Nov 18, 3:49 am, Sinan <sar...@gmail.com> wrote:



Your baud rate seems to ok (otherwise you wouldn't see the
characters).  First of all make sure your rs232ToUSB converter is
working solid for the given baud rate.  Use it with another computer
using a cross-over cable and make sure the you can get reliable reads
and writes.  Secondly make sure your FemaleToFemale cable connectivity
is good using a multimeter.  Thirdly check your Parity and handshaking
settings.

Thanks for the answer.
Back to top
przemek klosowski
Guest






PostPosted: Tue Nov 25, 2008 8:54 am    Post subject: Re: connecting from usb to serial problem Reply with quote

On Mon, 17 Nov 2008 08:49:55 -0800, Sinan wrote:

Quote:
Hi,
I have a ppc (405 ep) based chamelon dev kit. I wanted to re-use it
after long time ago. First i noticed that i do not have a serial
interface on my board, so i bought serial-to-usb connector, Then noticed
that the both side of serial-to-usb's and boards serial connecter's
output is male, i found a cable which has female connectors on both
sides.

Here's a basic trick to check serial ports: short the Tx and Rx pins;
you should see echo when typing. I have a magic paperclip in my drawer
that handles ejecting CDroms/floppies, and shorting female and even male DB
connectors (it helps that Tx and Rx are next to each other, e.g. pins
2 and 3 on a DB25 RS232)




--
Przemek Klosowski, Ph.D. <przemek.klosowski at gmail>
Back to top
Display posts from previous:   
   Smart Linux Business Choices! - the Best of UseNet Postings! Forum Index -> Linux Embedded  
Page 1 of 1
All times are GMT

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum