AVR ENC28J60 tcp client

Go To Last Post
7 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi all ,

Well i ,made searches on google about tcp client stack for ENC28j60 interfaced with avr (lets say atmega128) i only found servers , no clients, i am using the example on tuxgraphic.org (the web server ) on this site there is only one client NTP witch is UPD not TCP, is there any simple library to use the ENC28J60 as a client , i wanna make a TCP client on an AVR that parse some HTML data from a web server , is there any sulutions/suggestions ?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Have a look at http://en.klinkerstein.m-faq.de/index.php/MicroWebServer. He has a ATmega168 version and I am using a version for the ATmega32.

davef

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

have a look at http://code.google.com/p/avr-uip/ there are example apps within this for web client, ntp, dhcp etc.

I'm successfully using it on a Mega 644 using dhcp to get the IP addresss, note if you want to use dhcp, you need to change a couple of things in header files, and make one change to dhcpc.c to fix a small bug.

My app isn't actually doing any remote communication (apart from getting the IP via dhcp), but is examining packets on the wire, in promiscuous mode, so I know that the ethernet code is working.

Cheers.

Phill.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'm looking to use the Mega 644 also as an http client to make a GET request. in order to use the avr-uip code, do you know if I need to make any changes specific for it to work specifically on the 644? I see they have an example web client program. Theoretically if I include the right drivers (using the enc28j60), then can I just compile that program?

Thanks a lot!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi all

Is there a mailing list for the uip library. I want to use the web client but can't find any info on it. I had a look at the source files and at the example but I'm not sure what modules are required. also the web client init function is empty. must the programmer provide this?

Any help is appreciated.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

pmrsec wrote:
Is there a mailing list for the uip library.

Have you tried to click on the Mailing List link on the right at http://code.google.com/p/avr-uip?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You want Adam Dunkel's site for uIP mailing lists.