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

Ethernet Programming

Hi

I am new to the ARM platform. I have practiced few of the example programs such as blinky, uart, adc, timer. My next phase is programming the ethernet port and sending packets using TCP/IP. Can someone please suggest me how to move forward, as how to understand the concepts of ethernet and writing the code for it using LPC2368 board. Can you suggest me with some links/code/books which could help me in completing the task as soon as possible. How to send/receive packets through ethernet and how to test the code?

Parents Reply Children
  • the ip address is 192.257.5.27. and the mac address is 00-75-21-00-4G-47.

  • Did you actually go throught them?

    I think you need to spend a bit more time in studying the basic principles of TCP/IP networking!

    http://www.lmgtfy.com?q=TCP/IP

    "What is the IP address and MAC address of LPC2368?"

    These really are basic questions that should be covered by any book or tutorial on the subject!

    The MAC address is (or should be) a fixed property of the hardware. The LPC2368 documentation will tell you if it is embedded withing the microcontroller; otherwise, your design must include some way to store it.
    en.wikipedia.org/.../Media_Access_Control

    The IP address is a property of the software stack. For a trivial, beginner's example, it could be hard-coded - but then it's up to you to ensure that it doesn't clash with anything else on the network (shouldn't be a problem if you're just using a direct connection to a single PC).
    For a "proper" project, it should at least be configurable - preferably automatically assigned; eg, by DHCP.
    en.wikipedia.org/.../IP_address

    "I loaded the ethernet program"

    What ethernet program?

    "i have an wired connection to the PC"

    Are you sure that it is correctly wired?

    " how do i ping the device"

    Exactly the same way that you'd ping anything else!

    The whole point of using standard protocols like TCP/IP is that they work the same irrespective of the underlying hardware or software!