Mike,
The TS-7550 would be a great fit for this.
> The intent would be to crack the serial packets (which include 2
crc32 checks) down to their 60byte binary size, buffer 10 or so serial
packets per channel, (600bytes per ethernet packet) and send them on up
to a host for logging and display.
Xuartctl actually already does somethign very similar. As long as your
host system is running a posix system that implements psuedo terminals
(Linux, BSD, OSX, etc), you can connect to the xuartctl server running
on each TS-7550 and create a local /dev/pts/# device.
The simple example would be something like this:
# xuartctl --port=192.168.0.50:7350 --speed=9600
ttyname=/dev/pts/0
This will connect to 192.168.0.50 and create a local /dev/pts/# device.
Port 7350 is the first xuart port, they count up from there so 7351
would be the second.
For example, this would create /dev/tty0xuart0-7 for one board. You
could just change this to create a /dev/tty1xuart0-7 for the next board,
or however you'd want to label it.
eval $(xuartctl --server --port 192.168.0.10:7350 --speed 115200 2>&1);
ln -s $ttyname /dev/tty0xuart0
eval $(xuartctl --server --port 192.168.0.10:7351 --speed 115200 2>&1);
ln -s $ttyname /dev/tty0xuart1
eval $(xuartctl --server --port 192.168.0.10:7352 --speed 115200 2>&1);
ln -s $ttyname /dev/tty0xuart2
eval $(xuartctl --server --port 192.168.0.10:7353 --speed 115200 2>&1);
ln -s $ttyname /dev/tty0xuart3
eval $(xuartctl --server --port 192.168.0.10:7354 --speed 115200 2>&1);
ln -s $ttyname /dev/tty0xuart4
eval $(xuartctl --server --port 192.168.0.10:7355 --speed 115200 2>&1);
ln -s $ttyname /dev/tty0xuart5
eval $(xuartctl --server --port 192.168.0.10:7356 --speed 115200 2>&1);
ln -s $ttyname /dev/tty0xuart6
eval $(xuartctl --server --port 192.168.0.10:7357 --speed 115200 2>&1);
ln -s $ttyname /dev/tty0xuart7
With these /dev/pts/# or linked /dev/tty#xuart# devices, you can just
simply program with them as a normal serial device from your remote system.
I also have a wiki page with some more details, but let me know if you
have any other questions on this kind of setup:
http://oz.embeddedarm.com/~mark/index.php/Xuartctl
Best Regards,
________________________________________________________________
Mark Featherston, Technologic Systems | voice: (480) 837-5200
16525 East Laser Drive | fax: (480) 837-5300
Fountain Hills, AZ 85268 | web: www.embeddedARM.com
On 08/31/2011 11:34 AM, mike ingle wrote:
> Hi all,
>
> I need to maintain communications with 80 devices overRS-232 serial
> (115k). Each device streams an approximately 120 byte packet every 100ms.
> also the host, can send packets, and expect a response at any time. The
> packets are hex encoded with out of band start and stop characters.
>
> I am contemplating using 10 ts-7550s (with appropriate level shifters)
> to control the devices, and forward the data over ethernet. The intent
> would be to crack the serial packets (which include 2 crc32 checks) down
> to their 60byte binary size, buffer 10 or so serial packets per channel,
> (600bytes per ethernet packet) and send them on up to a host for logging
> and display.
>
> My data rate calculations show very modest ethernet usage (8 x 600 bytes/s).
>
> On the surface the ts-7550 looks like a nice fit for this. Anyone have
> any experience with the XUARTs , or better suggestions? Probably no more
> than 3 <80 channel systems> will be built.
>
> Best Regards Mike
>
>
------------------------------------
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/
|