I have removed the jumper 2, but the serial port does not work at the speed of
38400 bps.
The serial port as console works fine.
But it's not what I need.
I need the serial port can communicate with a board with PIC (PANADBOARD), not
a PC.
Ricardo Gabriel
--- In Jim Jackson <> wrote:
>
>
>
>
> On Thu, 11 Nov 2010, ricardogabriel5 wrote:
>
> > I have a TS-7260 running with TS-Linux Busy Box.
> >
> > The command "setserial -G /dev/ttyAM0" shows me:
> >
> > /dev/ttyAM0 uart undefined port 0x0000 irq 52 baud_base 921600 spd_normal
> >
> > I need to connect the TS-7260 board through the serial port (ttyAM0) with
> > another board that contains a PIC microcontroller, at the speed of 38400
> > bps.
> >
> > The board with PIC is this:
> >
> > http://www.seismicnet.com/serialatod.html
> >
> > The program that runs in the TS-7260 board "configure" the serial port at
> > the speed of 38400 bps, but if I execute at the same time the setserial
> > command, it doesn't show me this speed, and it shows me:
> >
> > /dev/ttyAM0 uart undefined port 0x0000 irq 52 baud_base 921600 spd_normal
> >
> > I modified the inittab file, as follows:
> >
> > # Start console logins on both COM Ports
> > #
> > #lgn0:12345:respawn:/sbin/getty -L 115200 ttyAM0
> > lgn1:12345:respawn:/sbin/getty -L 38400 ttyAM1
> > #lgn2:12345:respawn:/sbin/getty -L 115200 ttyAM2
> > #
>
> Did you reboot the board after making this change to inittab, or
> alternatively use
>
> kill -1 1
>
> to make init reread the inittab.
> Also you may need to remove the jumper that enables console,
> is it JP2 ?
>
> You can definitely using the serial port, we do this to connect
> a GPS unit.
>
> >
> > Am I doing something wrong?
> >
> > Ricardo Gabriel
> >
> >
>
------------------------------------
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/
|