Testing the serial port of TQM823L

Prashant Patel pmpatel at myIAgent.com
Thu Aug 17 07:32:41 EST 2000

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).

Prashant Patel

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

More information about the Linuxppc-embedded mailing list