I haven't done any configuration by myself, it should work with the default
settings. At COM1 and COM2 it is: 115200,None,8,1 and works fine.
If I leave theese settings in Docklight I get the <NUL>s at calling "echo a >
ttyT8S0" in TS-7300.
Unfortunatelly I haven't too much experience with Linux either, so it can
easily be the problem that I had to do some configuration to be able to use
COM3-COM6.. How could I check, what are the current settings for COM3 when I
call "echo a > ttyT8S0" ?
--- In Jim Jackson <> wrote:
>
>
>
> How have you configured the baudrate and other setting for the ttyT8S?
> ports?
>
> On Sun, 9 Oct 2011, zoltan.szabo1979 wrote:
>
> > Hi all,
> >
> > I develop a program that's running on two TS-7300 board. It uses TCP/IP
> > communication, DIO, and serial communication on the boards, and should be
> > act as an level-alarm program of an fuel tank. It's my first project using
> > this board, and I'm not too familiar with debian too..
> > I have to use three COM ports of the board where COM1 (ttyAM0) and COM2
> > (ttyAM1) works fine, but I can't use any COM port of the FPGA part of the
> > board (COM3-COM6 - ttyT8S0-ttyT8S3).
> > For test I have tried to send a simple 'a' with the echo command and check
> > the data with a terminal program (Docklight) at the other side
> > (115200,None,8,1):
> >
> > If I try it on COM3:
> > :dev# echo a > ttyT8S0
> >
> > than I get in Docklight only:
> > <NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL><NUL>
> >
> >
> > If I try it on COM1:
> > :dev# echo a > ttyAM0
> >
> > the answer is OK, it's what I waiting for:
> > a<CR><LF>
> >
> > I've already tried all settings (BAUD, parity, Data bits, etc.) in
> > Docklicht to check, if COM3 possibly uses other setting by default, but
> > nothing worked for me (I don't realy know, how to ckeck/change this under
> > Linux..).
> > Unfortunatelly I couldn't find any exisiting answers anywhere that could
> > help me, so I'd be very grateful, if anybody could give me some tip that
> > could solve my problem.
> > I'm pretty bitter, because I should have complete this project in one week,
> > and I can't step over this problem without any help, so its fairly urgent.
> >
> > Thank you for any answer in advance!
> >
> > Best regards,
> > Zoltan
> >
> >
> >
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|