The Godfather talking
You can run, but you can't hide.
Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 01, 2024, 01:19:39 01:19


Login with username, password and session length


Pages: [1]
Print
Author Topic: [REQ] AVR + ENC28J60 - Which Lib?  (Read 11164 times)
0 Members and 1 Guest are viewing this topic.
metal
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2420

Thank You
-Given: 862
-Receive: 678


Top Topic Starter


« on: March 10, 2010, 08:30:54 20:30 »

I have been searching on AVR and ENC28J60. I saw many implementations and I can not decide with which one to go. I have not digged deep yet, but those who worked with ENC28J60 and AVR now know which route to take:

An AVR microcontroller based Ethernet device
AVRNet
The uIP TCP/IP stack
Procyon AVRlib
etherrape project page

May be there are pages that I missed too. I am looking for proteus simulation on ENC28J60 with AVR too, this would help so much.

« Last Edit: March 10, 2010, 08:33:44 20:33 by metal » Logged
bbarney
Moderator
Hero Member
*****
Offline Offline

Posts: 2429

Thank You
-Given: 405
-Receive: 545


Uhm? where did pickit put my mute button


« Reply #1 on: March 11, 2010, 04:40:53 16:40 »

check out this site
http://members.home.nl/bzijlstra/software/examples/enc28j60.htm
Logged

Ever wonder why Kamikaze pilot's wore helmet's ?
metal
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2420

Thank You
-Given: 862
-Receive: 678


Top Topic Starter


« Reply #2 on: March 12, 2010, 12:31:34 00:31 »

Thank you bbarney, but I don't use bascom Smiley
Logged
rentau
Junior Member
**
Offline Offline

Posts: 44

Thank You
-Given: 10
-Receive: 15


« Reply #3 on: March 12, 2010, 04:12:35 04:12 »

http://tuxgraphics.org/electronics/200611/article06111.shtml

try this
Logged

everything has its beginning ,not all has its end~
metal
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2420

Thank You
-Given: 862
-Receive: 678


Top Topic Starter


« Reply #4 on: March 12, 2010, 04:41:06 04:41 »

Now I have a better vision:

Generally speaking, we originally had uIP. uIP was ported by tuxgraphics for AVR, this library is excellent, I looked at v4.0 which is called the 3rd generation, the guy has added many nice APIs recently. Came lwIP for AVR, which is more advanced and needs more code space and RAM, I don't mean it will only work on ATmega128. When the number of packets to send and receive is small, we go with AVR-uIP, or even the lighter versions of AVR-uIP which is tuxgraphics. If the number of packets is large, we go with lwIP which is really suited for more sophisticated operations. I still can't figure out if recent versions of tuxgraphics and AVR-uIP are as good/advanced as lwIP. The reviews I read were a little bit old.

I also found some nice examples while searching the net, I tried to find those examples that make Proteus useful in the networking area:
- AVR-uIP with ATmega128
- AVRNet with ATmega32

AVRNet appears to be an excellent project. IP, TCP, UDP, ICMP, ARP, HTTP protocols are implemented. tuxgraphics also seems to have implemented ARP, SLIP, IP, UDP, ICMP (ping) and TCP protocols, I presume.
Logged
bbarney
Moderator
Hero Member
*****
Offline Offline

Posts: 2429

Thank You
-Given: 405
-Receive: 545


Uhm? where did pickit put my mute button


« Reply #5 on: March 12, 2010, 03:57:13 15:57 »

Thank you bbarney, but I don't use bascom Smiley
I know that Smiley it was the info he has to offer I was steering you towards not the finnished project
Logged

Ever wonder why Kamikaze pilot's wore helmet's ?
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC