ok.. it was a VERY stupid problem
THIS IS A REMEMBER FOR ALL: by default the debian on SD card bind the
terminal in ttyS0 AND ttyS1 !! (not only on ttyS0)
in /etc/inittab
# By default, run gettys on both serial ports
T0:23:respawn:/sbin/getty -L ttyS0 115200 vt100
T1:23:respawn:/sbin/getty -L ttyS1 115200 vt100
this could cause very stupid problems....
Now my rs232 ports works correctly... i'll do more test on rs485
port...
thank you
--- In "s.cavazzoni" <> wrote:
>
> Yes, i've the ts-7800 with optionals rs485 driver (i can send data
correctly).
> I've do some test in this days and i've problems also with a normal
rs232 port (with my
> source code and with minicom).
> With minicom i receive 2 or 3 character then the system stop to
receive data.
>
> I've tested it on ttyS1 (COM2) and on ttts2
>
> Now i'm downloading the latest SD images from embeddedarm ftp site
and then i'll do
> other tests.
>
> --- In Michael Schmidt <michael@> wrote:
> >
> > s.cavazzoni wrote:
> > > Hi to all,
> > > i'm writing an application over a ts 7800 board.
> > > I need to use the rs-485 driver.
> > > I've writed a test application and it send data correctly (i've
> > > cleared the bit 15 on registry 0xE800000C, so i can use two
rs485
> > > ports).
> > >
> > > I can't receive data over an rs 485 channel. Need i manage a TX
> > > ENABLER bit? if yes... how? Is it automatically managed by the
kernel
> > > module?
> >
> > The TX enable is handled automatically by the FPGA.
> >
> > Which device node are you opening to talk to the port?
> >
> > The RS-485 ports do not come standard with the board, did you
order the
> > OP-485-FD-14 option with the board?
> >
> >
> > ______ Best Regards,
> > |__ __/ Michael Schmidt
> > || Software Engineer
> > ||echnologic Systems (EmbeddedARM.com)
> > || (480) 16610 East Laser Drive #10
> > |/ 837-5200 Fountain Hills, AZ 85268
> > http://oz.embeddedarm.com/~michael
> >
>
------------------------------------
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/
|