EmbDev.net

Forum: µC & Digital Electronics ENC28J60 with Atmega644


von Tobias M. (obi)


Attached files:

Rate this post
useful
not useful
Hey!
I tried to get a Mega644 with ENC28J60 working.
I googled it the whole day and found nothing helpful.

The green LED is on but I can't ping the IP. If I connect it with my 
notebook over crossover, the green turns off. Normally both should 
blink?

What's wrong?
I attached my Code.

MOSI PB5
MISO PB6
SCK PB7
CS PC1

Fuses:
lfuse 0xff
hfuse 0xdf

I used the lib from Beitrag "ENC28J60 Basics[Beispielprogramm in AVRGCC für atmega8]"

Thanks a lot
Tobias

von jrmymllr j. (jrmymllr)


Rate this post
useful
not useful
Take a look at what I did.  It's on a PIC, but it's all C code.

http://users.wowway.com/~jrmymllr/ipcontrol/ipcontrol.html

von Tobias M. (obi)


Rate this post
useful
not useful
Hi jrmymllr jrmymllr!
Thanks for your massage.
I think I have a bug in my hardware. Now I have to produce a new pcb.

von Bastler (Guest)


Rate this post
useful
not useful
Maybe you have a look on Ulrich Radigs code.
He has examples for Mega644 and ENC.

von Tobias M. (obi)


Rate this post
useful
not useful
Hi Bastler!
Thanks!
I think I testet that code, but it doesn't work because of my bug in the 
hardware. The footprint was mirrored :-(

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.