This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LPC with Ethernet

Hi,
I want to do an embedded web server with LPC2138 and ENC28J60 ethernet controller.I need a driver and TCP/IP stack for this,so anybody pls guide me.

Regards,
Kiran

Parents Reply Children
  • There are two aspects to that question:

    1. Can uIP be used in your application?
    Look at the list of available uIP ports here:

    www.sics.se/.../Ports

    Note that the second entry is for use with an LPC2148 and - so check that one out and consider if there are any differences between your LPC2138 and the LPC2148...

    Considering that uIP has been ported to things like the 8051, it seems highly unlikely that it would be beyond an ARM - don't you think?!

    2. Can you use uIP?
    ie, do you, personally, have the necessary skills.

    From your posts so far, it seems that maybe you need to gain a little more exerience before tackling this project?

    Implementing a TCP/IP stack is not a trivial task - probably not a beginner's project.

    "If i got a tcp/ip stack, how to write the driver for ENC28J60 which uses SPI communication."

    How to write the driver would depend entirely on what stack you got!
    As in any software development, 4 stages would be required:

    1. Read the datasheet for the ENC28J60, and whatever other documentation is available, so that you know how to drive the chip;

    2. Read the datasheet for the LPC2138, and whatever other documentation is available, so that you know how to drive the chip;

    3. Read the documentation for your chosen TCP/IP stack, so that you know what the driver needs to do;

    4. Write your software based on the above!

  • Thanks Andy Neil for your guidance.I will try to study these datasheet and try to implement it. If I find any difficulty i need your help.

    Regards,
    Kiran