Yet another for Serial to Ethernet!

Folks! I did try to lookin the archive at first hand but could not find answers to my questions, so; here I go.

We have a device with Rs232 Interface and it is just fine and functional. Now we want to provide Ethernet connectivity, we did some work with RealTek and AtmegaXX but honestly the results are not that satisfactory after development of over one month. Issues we are facing are from proper TCP/IP stack to virtual driver for MS Operating systems, anyhow, finally we have decided to buy third party solution.

Following are few solution providers that I have came across so far and all of them do provide more or less the same thing.

formatting link
formatting link
formatting link

formatting link
formatting link

Now I've following questions in my mind and yeah I'm not pulling my hairs though I had already spoiled 2 days while searching and searching to find the right solution.

0) We need comparatively cost effective solution. (As humans do!) 1) Power consumption is not an issue because it is stationary device. 2) Data rate should be 1 Mbps. 3) Single serial to single Ethernet is just ok and we don't want more. 4) As I believe that when it comes to TCP/IP with legend BSD sockets then there is no difference but we are ok to initially support the MS os family. 5) We need fully customizable solution from baudrate, parity etc. etc. (I mean setup of serial end, I want minimum 9600 baudrate) to source of virtual device driver for interacting with operating system (Ethernet end for TCP/IP etc. etc. supporting asynchronous interface ). But driver source part is pretty negotiable ;-) 6) We don't want to pay for intellectual property rights. 7) I'm thinking togo for rabbitsemiconductor , do you think it is ok?

Thanks for your valuable input. ali

Nice webpointer to start from scratch ;-)

formatting link
"how to control a modem through the S7600 and how to retreave a webpage"

Reply to
Ali
Loading thread data ...

How many units?

You want to run the serial port at 1M baud? With an RS-232 electrical interface?

Sorry, I don't know what that means.

Um, you're going to need a baud rate a lot higher than 9600 if you want a 1Mbps data rate.

Unless you need to support legacy apps that expect to use a "COM" port, you'd probably be better off just using a TCP/IP connection to the device rather than hacking about inside a device driver. Windows device drivers are very, very messy.

--
Grant Edwards                   grante             Yow!  I wonder if I ought
                                  at               to tell them about my
                               visi.com            PREVIOUS LIFE as a COMPLETE
                                                   STRANGER?
Reply to
Grant Edwards

SNIP:

Thanks for prompt response!

We are targeting Asia market for our prodict so hope it will be in massive quantity as we have Great China under the hood;-) of Asia. [ l0l ]

Sorry for that! Ofcourse I mean 1 Mbps over Ethernet not rs232.

Well if you look at the implementations of networking (sockets) in *inx world or MS windows then you will hopefully recognize that they are more or les the same except very very few things, especially in initializing part or destroying part( closing the socket). Try to have look at "BSD sockets" with your favorite web archive engine!

Thats fine! infact that was minimum requirement.

Yeah, and that's very true! As so many updates and hot fixes are always available from MS guys.;-) anyway we are ok for that as we do have resources to dig in the details of that messy stuff.

ali

Reply to
Ali

Getting a consistnt 1MBPS on a rabbit will be hard. The Netburner solutions will run 2M bytes of TCP payload reliably.

Paul CTO NetBurner.

Reply to
pbreed

For large quantities, you probably should just design something custom based on a uController that has a couple serial ports and an Ethernet MAC. You can use an open-source OS and TCP stack (eCos/XMK/etc.) or something without royalties like uC/OS-II.

Why would the two be different?

Yes, I'm familiar with the implementation of TCP/IP and the socket API. I still dont' understand what that part of the requirement means.

Do you meant that a COM port driver for MS Windows is required?

So 9600 baud will meet your requirements?

I don't know of any serial-Ethernet vendors that provide source code for Windows drivers (most do provide source for Linux drivers), so you're going to have to negotiate with the vendors for that. There are third-party drivers available if the device implements RFC-2217 (again, I don't think source code is normally available).

One of my employers does provide single-port serial-Ethernet devices (with plain UDP, TCP, and RFC-2217 interfaces as well as COM/tty drivers for Windows/Linux/FreeBSD. I know they've done OEM agreements with other people before, and I'm sure they'd be happy to discuss your requirements:

formatting link

--
Grant Edwards                   grante             Yow!  Where's the Coke
                                  at               machine? Tell me a joke!!
                               visi.com
Reply to
Grant Edwards

Yeah and ofcourse we will, but not now. To my understanding its not something that you can develop and design on fly. Using opensource do sounds cools enough but what processor you will use is the BIG issue (which is again related to pricing and cost of development), eventually you will endup with some ARM thing backed with line drivers (chips for regulating the voltage to talk to rs-232 and delicate processor). And thats not simple as it sounds because you have a men-month TCP/IP interface ahead!

There is a big difference atleast to me;-) as having a throughput of 1 Mbps for 9600 serial interface does provide an opportunity to queue the slow (serial) data before bursting. So my requirement is to have a device supporting 1 Mbps over Ethernet.

And I'm confused here to make this point clear. Anyway, to my understanding we have 2 different interfaces for this very device and can be summarized in following points:

0) An interface talking to line drivers (rs-232) which always have certain constrains like baudrate , parity check, data rate and control option. 1) Another end is talking to high level things that is so called NDIS (device drivers) and it is something related to operating system with all promises to manage data queues, synchronous/asynchronous calls, events (network events as per TCP/IP protocol) and finally house keeping stuff (IP, port ).

I might be wrong for above definitions ;-)

As I wrote in my earlier post that it is ok as it is indeed minimum requirement.

Thanks for this pointer and these people are really doin very well but I don't want to make my design complex with lots of modules hangin around for this purpose, so we have decided to go for rabbitsemiconductor gadget and personally I found their costumer support quite responsive.

ali

Reply to
Ali

They calim to do so!

ali

Reply to
Ali

Rabbit ? !! ARM has 80% of the world and 2 billion cpus are ARM ...

Dont fight it ..................

____________________________________________________________

Ali wrote:

Reply to
werty

We've been using the Tibbo EM100 for years now and they're quite good. The firmware and PC-side software is updated regularly and updates are free. They're honest about reporting bugs and still call them bugs, not "issues".

Reply to
Viktor

Try:

formatting link
:

They make a virtual com port driver and are selling the source code of it. They also make an AVR128 based hardware board with an ethernet interface

formatting link

They provide an implementation of a TCP/IP stack that also runs on the Hw-group PCB

We used this combination to make a clip-on box of approx. 40x60x15mm with an ethernet interface for a medical device that had a serial interface before only. It took us less than 4 weeks.

Heiner

Reply to
Heiner Mülller

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.