ATmega 128 + driver ENC28j60

Aug 01, 2006 7 Replies

Hi,



I have a ATMega128 and I want to connect it to internet.



I want to use ENC28j60 as ethernet controller( MAC&PHY ethernet) becaus it has SPI.



I have bought a evaluation board (AT90EIT1) from Atmel and it is really webserver and is contained ATMega103 and CS8900(an Etherne controller)...



Modular TCP/IP source code for AVR family is on CD of this evaluatio board . But its ethernet.c file is written to interface with CS8900.



Can any body help me to change this file to interface with ENC28j60?



As I am in hurry, I will be so thankful if you reply me as soon as possible.


-thanks.



just got off a page about the ENC28j60 and interfacing to Atmel chips. there may be something there to help you.

Don...

Don McKenzie E-Mail Contact Page: http://www.dontronics.com/e-mail.html USB-AVR-ISP Programmer http://www.dontronics-shop.com/product.php?productid=16488 Micro,TTL,USB to 1.5" color LCD http://www.dontronics.com/micro-lcd.html USB,RS232 or TTL to VGA Monitor http://www.dontronics.com/micro-vga.html

do you have a link perhaps ?

I'm building a TCP/IP stack for 16F877 in JAL, and have some weird problems, (see also weird tricks in uChip's TCP/IP stack) so I'm interested in every solution to get the ENC28J60 working correctly.

cheers, Stef Mientki

apologies Stef, didn't post the link, did I? :-)

here tis:

formatting link

Don...

Don McKenzie E-Mail Contact Page: http://www.dontronics.com/e-mail.html USB-AVR-ISP Programmer http://www.dontronics-shop.com/product.php?productid=16488 Micro,TTL,USB to 1.5" color LCD http://www.dontronics.com/micro-lcd.html USB,RS232 or TTL to VGA Monitor http://www.dontronics.com/micro-vga.html

I download these file from

formatting link
and compile them with Imagecraft in widows XP environment.

In compiling I encounter with some errors, because it can't find some header files. for example , ..

I think these files shall be compiled in Linux environment. Is it true? can you suggest me a source code that can be compiled with Imagecraft?

I am eagrly waiting for your answer.

Considering you started with a Linux-oriented project, that Imagecraft AVR tools are not available for Linux, maybe you ought to use the tools the project was developed under? Not talking about Linux but avr-gcc.

formatting link
is about as painless as it gets.

I am wondering if you still have questions about the ENC28J60? If so you can ask me, I am the designer of that device, every gate inside that IC was made by me, even the addidition of the "Elvis" on the silicon wafer.

I would love to help anyone using this device, you can email me now at snipped-for-privacy@gmail.com as I am no longer working at Microchip.

-Adam

a

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required