Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

DE2-115 ethernet-to-PC

Hi ,

Is there a example for DE2-115 board to have 2-way communication via ethernet with a PC . Or if someone can suggest any tutorial to build such a SOC design on this board . An example that dosent require gateway in between .

Thanks

4 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Take any example that includes ethernet and build simple socket server from examples in Eclipse

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    And what should i run on PC a sniffer or a server application ?

    My PC has vista on it , so when nios wants to establish a comm link , how will it get a ip address , vista will assign to it or do i have write some application for that ?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Assign a static address to the application and recompile the example project. Since the example is called "Simple Socket SERVER", so You need a client on PC. You may also run a sniffer to check packets.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi ,

    I see four example projects in web_server folder :

    DE2_115_WEB_SERVER_MII_ENET0

    DE2_115_WEB_SERVER_MII_ENET1

    DE2_115_WEB_SERVER_RGMII_ENET0

    DE2_115_WEB_SERVER_RGMII_ENET1

    Which one is the socket server ?