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
  • No, you better not say stupidity, since it could be a bit embarrasing. There are ports of this stack for 32-bit NXP ARM chips...

    Or did you believe that open-source stacks are just pre-packaged 8-bit binaries you throw into the flash?

  • Not at all!

    Look at the list of ports here: www.sics.se/.../Ports

    There are plenty of non-8-bit platforms - including some for Windows!

    uIP has also been ported for some Cortex-M3 controllers...

  • I told you to stick to VB applications, not?

  • Tamir do what you know in life you share a laugh and people to piss the world ?

  • I don't fully understand what you mean, but let me remind you that you have admitted in another thread that you are a beginner. nothing wrong with that, of course, so how come you make this fantastic statement when you know you are not qualified to make it?
    I would not say stupidity...
    lack of knowledge does not indicate stupidity. however, making baseless statements when you are out of your league does, maybe. so instead of asking me to be quite (thank you for that, kindly ignored as you can see), try to help yourself by studying a subject thoroughly before you start insulting other people. it is everybody's gain!

  • I know all this.
    But you that every time you responded to my subject was always fun for you. you never say anything constructive.
    So you'd better you shut up.

  • Can I use uIP?
    If i got a tcp/ip stack, how to write the driver for ENC28J60 which uses SPI communication.

  • 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