Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 09, 2016, 08:40:33 08:40


Login with username, password and session length


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

Posts: 2018

Thank You
-Given: 514
-Receive: 477


Top Topic Starter


« on: March 10, 2010, 09:30:54 21: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, 09:33:44 21:33 by metal » Logged

nothing to say..
bbarney
Moderator
Hero Member
*****
Offline Offline

Posts: 2403

Thank You
-Given: 405
-Receive: 544


Uhm? where did pickit put my mute button


« Reply #1 on: March 11, 2010, 05:40:53 17: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: 2018

Thank You
-Given: 514
-Receive: 477


Top Topic Starter


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

Thank you bbarney, but I don't use bascom Smiley
Logged

nothing to say..
rentau
Junior Member
**
 Muted
Offline Offline

Posts: 44

Thank You
-Given: 10
-Receive: 15


« Reply #3 on: March 12, 2010, 05:12:35 05: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: 2018

Thank You
-Given: 514
-Receive: 477


Top Topic Starter


« Reply #4 on: March 12, 2010, 05:41:06 05: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

nothing to say..
bbarney
Moderator
Hero Member
*****
Offline Offline

Posts: 2403

Thank You
-Given: 405
-Receive: 544


Uhm? where did pickit put my mute button


« Reply #5 on: March 12, 2010, 04:57:13 16: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