On Tue, 27 May 2008 13:37:25 -0500, "dadams"
<dave.adams@rtkinstruments.com> wrote:
>As I only require to send and receive data I was wondering if I could get
>away using a free stack such as NicheLite free TCP/IP stack (available on
>the ST website) or do I require a full blown TCP/IP stack.
After selling a stack for 10+ years
http://www.mpeforth.com/powernet.htm
I have come to the conclusion that the value of a commercial
stack is in the support. There's a vast amount of free stuff
available which has driven down commercial pricing by a huge
factor in the last ten years.
As ever with commercial stuff, the key question when evaluating
the support is "Do you get to to talk to a developer?".
Other issues are whether the stack already has an STR9 Ethernet
driver, and a particular question should be the Flash and RAM
requirements with your options defined, e.g.
1) Do you want a DHCP client (yes),
2) Do you want an NTP/SNTP client - it may eliminate the need
for an RTC,
3) how many simultaneous sockets/connections - affects RAM usage,
4) Do you want servers like Telnet and HTTP, or is your app
client only?
...
Stephen
--
Stephen Pelc, stephenXXX@mpeforth.com
MicroProcessor Engineering Ltd - More Real, Less Time
133 Hill Lane, Southampton SO15 5AF, England
tel: +44 (0)23 8063 1441, fax: +44 (0)23 8033 9691
web: http://www.mpeforth.com - free VFX Forth downloads
Reply by Not Really Me●May 28, 20082008-05-28
"dadams" <dave.adams@rtkinstruments.com> wrote in message
news:nPqdne1BW45fjaDVnZ2dnUVZ_sninZ2d@giganews.com...
> >dadams ha scritto:
>>> I am working on new design on the STR9 that requires Ethernet. I have
> very
>>> little knowledge of Ethernet, as on previous applications we have
>>> transmitted data (in a variety of protocol formats such as Modbus,
> DNP3.0)
>>> serially using RS485.
>>>
>>> We are now wanting to do this over Ethernet, and there seems to be
> several
>>> TCP/IP stacks available.
>>>
>>> As I only require to send and receive data I was wondering if I could
> get
>>> away using a free stack such as NicheLite free TCP/IP stack (available
> on
>>> the ST website) or do I require a full blown TCP/IP stack.
>>>
>>> Anyone advice on this would be appreciated.
>>
>>Want kind of OS do you have? Have you evaluated the opportunity to use
>>uCLinux?
>>
>>If you don't want to use Linux you may take a look at lwIP:
>>http://www.sics.se/~adam/lwip/
>>
>>bye
>>
>>--
>> _|/ Francesco Sacchi - Develer S.r.l., R&D dept.
>> |\ http://www.develer.com/ - http://www.bertos.org
>
>
> Thanks for you response. The choice of RTOS is another descison I need to
> make on this project, and UClinux is one of several i'm looking at.
Look at uC/OS-II and uC/TCP-IP from micrium. www.micrium.com
Scott
Reply by David Brown●May 28, 20082008-05-28
dadams wrote:
>> dadams ha scritto:
>>> I am working on new design on the STR9 that requires Ethernet. I have
> very
>>> little knowledge of Ethernet, as on previous applications we have
>>> transmitted data (in a variety of protocol formats such as Modbus,
> DNP3.0)
>>> serially using RS485.
>>>
>>> We are now wanting to do this over Ethernet, and there seems to be
> several
>>> TCP/IP stacks available.
>>>
>>> As I only require to send and receive data I was wondering if I could
> get
>>> away using a free stack such as NicheLite free TCP/IP stack (available
> on
>>> the ST website) or do I require a full blown TCP/IP stack.
>>>
>>> Anyone advice on this would be appreciated.
>> Want kind of OS do you have? Have you evaluated the opportunity to use
>> uCLinux?
>>
>> If you don't want to use Linux you may take a look at lwIP:
>> http://www.sics.se/~adam/lwip/
>>
>> bye
>>
>> --
>> _|/ Francesco Sacchi - Develer S.r.l., R&D dept.
>> |\ http://www.develer.com/ - http://www.bertos.org
>
>
> Thanks for you response. The choice of RTOS is another descison I need to
> make on this project, and UClinux is one of several i'm looking at.
Note that ucLinux is *not* an RTOS. It's suitable for larger embedded
systems, but it's only soft real-time, requires a 32-bit processor and
memory sizes measured in MB. If that makes sense for your application,
go for it - ucLinux has all the networking stack you could wish for.
For small stacks, two popular choices are lwIP and uIP, both by Adam
Dunkels (lwIP is bigger and faster, uIP is smaller and easier if you
have no OS).
Reply by dadams●May 28, 20082008-05-28
>dadams ha scritto:
>> I am working on new design on the STR9 that requires Ethernet. I have
very
>> little knowledge of Ethernet, as on previous applications we have
>> transmitted data (in a variety of protocol formats such as Modbus,
DNP3.0)
>> serially using RS485.
>>
>> We are now wanting to do this over Ethernet, and there seems to be
several
>> TCP/IP stacks available.
>>
>> As I only require to send and receive data I was wondering if I could
get
>> away using a free stack such as NicheLite free TCP/IP stack (available
on
>> the ST website) or do I require a full blown TCP/IP stack.
>>
>> Anyone advice on this would be appreciated.
>
>Want kind of OS do you have? Have you evaluated the opportunity to use
>uCLinux?
>
>If you don't want to use Linux you may take a look at lwIP:
>http://www.sics.se/~adam/lwip/
>
>bye
>
>--
> _|/ Francesco Sacchi - Develer S.r.l., R&D dept.
> |\ http://www.develer.com/ - http://www.bertos.org
Thanks for you response. The choice of RTOS is another descison I need to
make on this project, and UClinux is one of several i'm looking at.
Reply by ●May 27, 20082008-05-27
dadams wrote:
> I am working on new design on the STR9 that requires Ethernet. I have
> very little knowledge of Ethernet, as on previous applications we have
> transmitted data (in a variety of protocol formats such as Modbus, DNP3.0)
> serially using RS485.
>
> We are now wanting to do this over Ethernet, and there seems to be several
> TCP/IP stacks available.
>
> As I only require to send and receive data I was wondering if I could get
> away using a free stack such as NicheLite free TCP/IP stack (available on
> the ST website) or do I require a full blown TCP/IP stack.
>
> Anyone advice on this would be appreciated.
>
> Regards
>
> Dave
Dave,
for simple TCP/IP client server applications NiceLite is OK. Even Web
servers are possible. For protocols like EthernetIP the full (and
expensive) version of NicheStack IPv4 is required.
Regards
Heinz
Reply by Rich Webb●May 27, 20082008-05-27
On Tue, 27 May 2008 13:37:25 -0500, "dadams"
<dave.adams@rtkinstruments.com> wrote:
>I am working on new design on the STR9 that requires Ethernet. I have very
>little knowledge of Ethernet, as on previous applications we have
>transmitted data (in a variety of protocol formats such as Modbus, DNP3.0)
>serially using RS485.
>
>We are now wanting to do this over Ethernet, and there seems to be several
>TCP/IP stacks available.
>
>As I only require to send and receive data I was wondering if I could get
>away using a free stack such as NicheLite free TCP/IP stack (available on
>the ST website) or do I require a full blown TCP/IP stack.
>
>Anyone advice on this would be appreciated.
You might also evaluate the need for a TCP/IP stack, at all. If you
can get by with a fixed IP address (no DHCP needed) and use simple UDP
packets (no TCP dance) then a network appliance is surprisingly easy
(and small). A semi-fixed IP (e.g., user configurable and stored in
EEPROM) is only slightly more work.
--
Rich Webb Norfolk, VA
Reply by Francesco Sacchi●May 27, 20082008-05-27
dadams ha scritto:
> I am working on new design on the STR9 that requires Ethernet. I have very
> little knowledge of Ethernet, as on previous applications we have
> transmitted data (in a variety of protocol formats such as Modbus, DNP3.0)
> serially using RS485.
>
> We are now wanting to do this over Ethernet, and there seems to be several
> TCP/IP stacks available.
>
> As I only require to send and receive data I was wondering if I could get
> away using a free stack such as NicheLite free TCP/IP stack (available on
> the ST website) or do I require a full blown TCP/IP stack.
>
> Anyone advice on this would be appreciated.
I am working on new design on the STR9 that requires Ethernet. I have very
little knowledge of Ethernet, as on previous applications we have
transmitted data (in a variety of protocol formats such as Modbus, DNP3.0)
serially using RS485.
We are now wanting to do this over Ethernet, and there seems to be several
TCP/IP stacks available.
As I only require to send and receive data I was wondering if I could get
away using a free stack such as NicheLite free TCP/IP stack (available on
the ST website) or do I require a full blown TCP/IP stack.
Anyone advice on this would be appreciated.
Regards
Dave