looking for help on making a website on ATMega32 using the ENC28J60 chip iam searching for more than a week .. i found many already-made projects on this, but nothing worked with me .. iam very confused through various projects where everyone is using a different method. also the mikroc example for this ethernet module (after configuring it a little in the HTML code) didn't work with me ..

  • first, i want to know how to simulate the ethernet module RJ45 on Proteus, so that i can try the code on simulation before the real-time.

  • if anyone is familiar with this avr-ethernet based website i'd appreciate his help. i think my problem is in the code (firmware), as i bought an ENC28J60 board where i just connect the SPI pins directly to my MCU and it's VCC & GND.


avr-uip http://code.google.com/p/avr-uip/ is a port of the free UIP network stack to the AVR, it has a driver for the ENC28J60 and a web server example.

To simulate the system on a PC, I'd recommend trapping ethernet frames at the point of entry/exit from UIP.

| improve this answer | |
  • \$\begingroup\$ can you explain more about the simulation .. iam trying to use the provided driver in the link you gave, iam alittle confused which compiler can i use .. iam familiar with the avr studio 5 & IAR .. but it makes errors using it .. which compiler should i use in your opinion \$\endgroup\$ – mina_g Mar 11 '12 at 23:26
  • \$\begingroup\$ For questions about the project, you should contact the authors through the google code page. I believe it requires GCC. \$\endgroup\$ – Toby Jaffey Mar 12 '12 at 1:26
  • \$\begingroup\$ iam now able to say that my hardware is connected very good .. as i used an already made .hex file for ATMega32 and i was able to access the website built on it through my PC using a cross-over ethernet cable .. the code i used is made by mikroelektronika (mikroc) .. but when i try to make my own main.c file using the given library of mikroelektronika .. i makes problems in compiling .. and the generated code doesn't work .. iam sorry iam late in my response .. but i wasn't free the last couple of days \$\endgroup\$ – mina_g Mar 16 '12 at 13:21
  • \$\begingroup\$ and the code in the website you gave .. when i compile it using avrstudio it makes errors .. that iam not able to fix ... (avr studio has a GCC) \$\endgroup\$ – mina_g Mar 16 '12 at 13:21
  • \$\begingroup\$ You should contact the author of the code \$\endgroup\$ – Toby Jaffey Mar 16 '12 at 13:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.