Here's what I have running...
mega128 (ETT's $20 fat-stamp, 16MHz)
WizNet 810MJ (now 811MJ) ethernet module with on-board IP, TCP, ICMP,
ARP, 4 sockets that can run any protocol.
SPI interface to mega128 (just a few wires). 4MHz SPI rate.
All my own software to do the high level protocols - using socket
interface to the WizNet. Software runs under the (free) AvrX RTOS. So
far, I have a robust, fully interrupt driven, multi-tasking suite (in
16KB) of
DNS client - lookup symbolic names
Network Time client (NIST's DayTime servers)
SMTP client - send email
HTTP server with HTML in mega128's flash.
Dynamic HTML parser for the mega128: keywords like "%YEAR%" "%MONTH%"
and "%MYIP%" and "%HITCOUNT%" "%ATODCHAN1%" or whatever you want to
add. This dynamic HTML parser replaces the keyword in the HTML with
the real-time value.
I use dynamic buffer allocation (a safer version of malloc() with
queuing of tasks needing temporary use of RAM. For example, the HTML
server gets RAM only when getting and parsing a GET or POST request
from an HTTP client, and when computing and sending the HTML response.
Then the RAM is released. Same for SMTP and the others. With that, and
how my code segments HTML processing, I get it all done with the RAM
that's in the mega128. Other implementations use gobs of RAM that sits
unused most of the time.
So if you can handle C and a simple RTOS, it's easy, since the hard
stuff (IP protocols) are in the $19 module.
steve
--- In AVR-Chat@yahoogroups.com, mago Umandam <magzky02@...> wrote:
>
> i have been searching the net and seems im giving up using
atmega128. Rabbit processor is easier to interafce with dynamic c
compiler having more documentation and libraries for ethernet
applications.
>
> regards,
> mago
>
> David Kelly <dkelly@...> wrote:
> On Fri, Apr 25, 2008 at 03:11:17AM -0000, magzky02 wrote:
> >
> > hi guys, i am going to interface the atmega128 to the ethernet
> > controller RTL8019. I am using codevision compiler. Is there a
library
> > for this? Anyone knows a avr compiler with library to communicate
with
> > ethernet controller? I think this would be a dificult task to do
it by
> > manipulating ports bit by bit.
>
> It is clumsy because the ATmega128 does not support external
> addressing. But that doesn't prevent people from doing it.
>
> http://www.ethernut.de/
> http://www.sics.se/~adam/lwip/
> http://www.sics.se/~adam/uip/index.php/Main_Page
>
> --
> David Kelly N4HHE, dkelly@...
> ========================================================================
> Whom computers would destroy, they must first drive mad.
>
>
>
>
>
> ---------------------------------
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile.
Try it now.
Show quoted textHide quoted text
>
> [Non-text portions of this message have been removed]
>