Enc28j60-avr - Set of tools to operate the ENC28J60 using an AVR microcontroller

  •        2603

enc28j60-avr is a set of tools created to operate the Microchip ENC28J60 (Stand-Alone Ethernet Controller with SPI Interface) using any SPI-capable AVR microcontroller. If your microcontroller doesn't feature a dedicated SPI module, you may even bit bang it. The libraries are intended to be compiled/archived on a Linux system using avr-gcc, avr-binutils and AVR Libc. It will also work on Windows using WinAVR. With enc28j60-avr libraries, including network capabilities in an embedded, microcontroller hardware project becomes easy. The ENC28J60 chip alone is a bit tricky to work with, but dozens of prebuilt modules may be ordered from the Internet. The project, a set of 4 libraries, is currently under active development (i.e. not finished!). Here is the dependency diagram of enc28j60-avr constituents (an arrow from A to B meaning "A depends on B"): As you can see, libenc28j60d and libbanepro are independant: they only depend on AVR Libc, the C standard library for AVR C projets, which is not part of this project. Here is a more complete description of each library. libenc28j60d: driverThis basic set of functions is at the core of ENC28J60 control. It implements the communication layer between an AVR microcontroller and the actual ENC28J60 chip. The following commands, as described in the datasheet (section 4.2), are included in libenc28j60d: Read Control Register Read Buffer Memory Write Control Register Write Buffer Memory Bit Field Set Bit Field Clear System Reset All you need to do is provide the library with SPI read and write functions, since not all AVR microcontrollers interface their SPI module the same way. libenc28j60fw: frameworklibenc28j60fw is used to perform higher level functions with the chip such as: read/write from/to an 8-bit/16-bit control register read/write from/to a PHY register bitfield set/clear on a control register set device's MAC address set RX/TX buffers sizes check for new packet or if transmission is done perform an easy initialization handle reception/transmission prologues/epilogues configure interrupts The library needs and uses libenc28j60d for underlying low-level operations. libbanepro: basic network protocolslibbanepro consists mostly of analysis and formatting functions. It currently partially supports the following network protocols: Ethernet II and 802.3: known EtherTypes are IPv4, ICMP and ARP IPv4: known types are TCP and UDP ICMP: known types are Echo Reply and Echo Request ARP: reply and request are supported UDP This library does not need libenc28j60d or libenc28j60fw. It may thus be used in any other AVR project using other network components. Its only purpose is to analyse a buffer and to store information about it in structures. The structures can also be filled by user and formatted to a buffer. Internet checksums (mostly for ICMP and UDP) can be computed by the library. libbanepro does not support TCP right now. libipkats: IP stackThis IP stack depends on the three other libraries because it acts as a bridge between them. It handles lots of actions automatically (ARP reply/request/table, ICMP Echo (ping) Reply, etc.). Give it an UDP callback, call its main function when a new packet interrupt rises and you're pretty done! That's right — we said easy. More information coming soon!

http://code.google.com/p/enc28j60-avr

Tags
Implementation
License
Platform

   




Related Projects

raspBerry+


raspBerry+ is a web-based administration platform for Blackberry Enterprise Server for MS Exchange (BES). You can group-based activate/kill/delete/add and get status of users, their handhelds and services. With a little download-area and a comment-system

RASP


RASP's A Sneakernet Proxy; download using a thumbdrive.

RasmusDSP


RasmusDSP is an embeddable Audio/MIDI processor. It contains various filters and generators (including SoundFont 2.0 compatible synthesizer). Has a script interpreter which is used to describe instruments, route Audio/MIDI signal between processor units.

Rasea


An acronym for cRoss-plAtform accesS control for Enterprise Applications. Rasea aims to become a reference in access control as a service based on the RBAC model.

Rascal


Rascal, the Advanced Scientific CALculator, is a platform independent modular calculator. Based on modules for integer, doubles, strings, vectors and matrices it can be easily extended with existing C or C++ code.



Rars


RARS is the Robot Auto Racing Simulation, in which the drivers are robot programs. It is intended as a competition among programmers. It consists of a simulation of the physics of cars, a graphic display of the race, and a robot driver for each car.

RARPlayer


This small program allows you to play a video directly from a RAR file and do so in real-time. Both VLC and MPlayer are supported video players.

RAReXtract


RAReXtract is a Front-End for the UnRAR command line utility for Mac OS X 10.5 (Leopard). Its purpose is the rapid and convenient extraction of RAR archives with a double click.

RAR Expander


Rar Expander is a MacOSX program which extracts the files contained in single or multi-volume RAR archives. It uses the official unRAR library internally so it is fully compatible with archives produced by WinRAR.

rarcrack


This program uses a brute force algorithm to guess your encrypted compressed file\'s password. If you forget your encrypted file password, this program is the solution. This program can crack zip,7z and rar file passwords.

RArcInfo


RArcInfo is a package for R (http://www.r-project.org) to import data from binary Arc/Info V7.X coverages and E00 files . This will allow R users to used it as a primary GIS tool.

rar brute force shell script - rarbrute


This is rarbrute, a shell script to brute force encrypted rar files under unix and linux. A long wordlist and a paper about security in internet cafes is included.

Raquel Database System


The system will : 1. use RAQUEL (= Relational Algebra Query, Update and Executive Language) for programming, implementing Third Manifesto principles. 2. have a 'Lego-like' architecture of building blocks and plug-ins, for wider applicability.

RAPv4


RAPv4 is an engine for building web application with only a business description (in XML format). NEW 04/2006 : Stable 2006 release. Add new functions like mail, sms, web services, graph, map engine (GIS), Excel output, QBE... and also a beta release of

Rafkill


2d Scroller. Clone of Raptor: Call of the Shadows and Tyrian. Fun game written in c++ using allegro.

rapple


Lightweight XML based transformation tool written in C that builds upon expat, tidylib and XSLT to tranform authored web content (incl. Word processor generated HTML) into styled web content suitable for publication.

RapidSMS


RapidSMS is an open-source internet and communications platform

RapidSmith


RapidSmith is a research-based FPGA CAD tool framework written in Java for modern Xilinx FPGAs. Based on XDL, its objective is to serve as a rapid prototyping platform for research ideas and algorithms relating to low level FPGA CAD tools.

Rapidshare Mass Downloader


What this program does is bringing out human interaction while downloading files from rapidshare(without premium account). It downloads all the rapidshare links sequentially to the specified location.

rapido visual profiler


rapido is a visual profiler for linux-x86. It traces function call using the ptrace interface and displays the information collected in a nice visual flow chart. rapido does not require the re-compilation of the application.