From: "Prashant Patel" <pmpatel@myIAgent.com>
To: <linuxppc-embedded@lists.linuxppc.org>
Subject: Testing the serial port of TQM823L
Date: Wed, 16 Aug 2000 16:32:41 -0500 [thread overview]
Message-ID: <008501c007c9$81ecbad0$fd2f7ece@kennedy> (raw)
In-Reply-To: NEBBLKHGKLJGLFPFOOABMECCCAAA.nboppuri@myiagent.com
Hello Everyone
I am working with TQM823L board. It has two serial ports. I am using
one serial port RS-232-2 ( and device ttyS0) to run the kernel stored in
flash. Once the kernel is running, i think i can access another serial port
RS-232-1 through device ttyS1. I have one program which writes on device
ttyS1. When i run that program, it is supposed to turn on the motor attached
to serial port RS-232-1(i.e device ttyS1). But it didn't work. When i
tested my program with other board, it works fine.
When i use "setserial" command, i got following message.
>setserial -ga /dev/ttyS0
>Cannot get serial info. : invalid argument.
>setserial -ga /dev/ttyS1
>Cannot get serial info. : invalid argument
so i don't know where i am making mistake. How could i test whether
serial port RS-232-1 is receiving data, whenever i write to device ttyS1?
And How could i test whether serial port RS-232-1 is live or not, after
running kernel through serial port RS-232-2 (device ttyS0).
Thanks
Prashant Patel
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2000-08-16 21:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-07-05 11:47 Bringing up a custom board Navin Boppuri
2000-08-16 21:32 ` Prashant Patel [this message]
2000-08-16 23:49 ` Testing the serial port of TQM823L Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='008501c007c9$81ecbad0$fd2f7ece@kennedy' \
--to=pmpatel@myiagent.com \
--cc=linuxppc-embedded@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).