LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-08-2008, 03:21 AM   #1
ramesh6056
Member
 
Registered: May 2007
Posts: 89

Rep: Reputation: 15
Serious Serial port issues...


Hi all,

I am really very urgent to get a solution to serial port issue..
Anyone who has faced this problem, please don't fail to read my post..

Problem--

My serial port is dumping garbage or some rubbish value on the minicom when i connect my serial port(usbtoserial) to the board. I checked the following to resolve the problem..

1) I connected a serial cable and then shorted the 2nd and 3rd pin (RXr and TXr).. I am able to get what i type on my minicom aswell as on the hyperterminal.

2) The above point indicated me that serial port(usbtoserial cable) is alright.. With the same set up when i connect my target board at baud rate of 38400 i am getting garbage!!!Whatever the baudrate may be, it always dumps garbage...

What may be the problem?? What steps i can take to resolve it..

If someone has faced this earlier and resolved it through some means please help me in sharing the solution...
 
Old 01-08-2008, 08:12 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 21,493

Rep: Reputation: 4107Reputation: 4107Reputation: 4107Reputation: 4107Reputation: 4107Reputation: 4107Reputation: 4107Reputation: 4107Reputation: 4107Reputation: 4107Reputation: 4107
You have not provided any details and therefore it is impossible to provide any specific help.
What is this target board you speak of? Can you post a link or any information on its function.

In addition to the baud rate you must also configure the parity and stop bit(s) of the serial port. If they are not the same then you will get garbage. In addition are you positive that the output of the target board is ASCII text? If not then you will also see garbage being displayed.

Is this related to your other post and the PXA255 board?

Last edited by michaelk; 01-08-2008 at 08:14 PM.
 
Old 01-08-2008, 11:19 PM   #3
ramesh6056
Member
 
Registered: May 2007
Posts: 89

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by michaelk View Post
You have not provided any details and therefore it is impossible to provide any specific help.
What is this target board you speak of? Can you post a link or any information on its function.

In addition to the baud rate you must also configure the parity and stop bit(s) of the serial port. If they are not the same then you will get garbage. In addition are you positive that the output of the target board is ASCII text? If not then you will also see garbage being displayed.

Is this related to your other post and the PXA255 board?
Hi,

thanks for your reply..

Yes this is related to my pxa255 board only. All the settings of the minicom are the same which was working earlier with my board, all of the sudden this has happened. Suddenly my minicom and hyperterminal on windows are dumping garbage. I checked with the other systems with the same settigs...it works perfectly..

But when i short my 2nd and 3rd pin on the systems serial port it is perfect.. What happens when it is connected to the board??
 
Old 01-11-2008, 06:01 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 21,493

Rep: Reputation: 4107Reputation: 4107Reputation: 4107Reputation: 4107Reputation: 4107Reputation: 4107Reputation: 4107Reputation: 4107Reputation: 4107Reputation: 4107Reputation: 4107
What do you mean by other systems? I assume you are using the same serial cable between the other systems?
 
Old 01-15-2008, 09:42 PM   #5
ramesh6056
Member
 
Registered: May 2007
Posts: 89

Original Poster
Rep: Reputation: 15
Hi guys,

Thanks for your reply, I solved the problem...

The problem is with the serial port hardware. We used some faulty cable which supplied improper voltage level on the serial port hardware which has affected the chip it seems.

I tried the usb to serial cable adapter. It will work only for some extent and it is not a real serial port...Those types of adapters work for some extent and if that works exactly for your application than it is your luck...

So, atlast the solution was to buy an pci card with two serial ports and installed on my system... Now everything is going well on my system...

It was an hardware related issue and not problem on the software side..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Serial Port issues and Kernel 2.6 derryp Linux - Newbie 1 07-24-2007 04:52 PM
Parallel Port & Serial Port device identification helpmeforlinux Linux - Hardware 3 01-02-2007 01:15 AM
Using serial port card(PCMCIA) with IPAQ running Linux, can't find ttyS0 port d2army Linux - Laptop and Netbook 0 11-12-2005 08:07 PM
Serial port,cu, fedora core 2 issues minibootsy Linux - Networking 3 02-18-2005 03:27 PM
Serial Port Issues corster Linux - Laptop and Netbook 1 04-08-2004 09:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration