EmbDev.net

Forum: µC & Digital Electronics ENC28J60 with Atmega644


Author: Tobias M. (obi)
Posted on:
Attached files:

Rate this post
0 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

Author: jrmymllr jrmymllr (jrmymllr)
Posted on:

Rate this post
0 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

Author: Tobias M. (obi)
Posted on:

Rate this post
0 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.

Author: Bastler (Guest)
Posted on:

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

Author: Tobias M. (obi)
Posted on:

Rate this post
0 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 :-(

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.