Forum Discussion

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

Help: Simple Socket Server - Stratix IV GX

Hello,

I have a very basic knowledge on FPGAs and Verilog, as I only started to learn about it this semester. my final year project is quite big as I have to implement a PoE structure then make connection with the FPGa board then finally adding a sensor to system. For now I needs to build a simple socket server work on my FPGA board Stratix IV.

I have looked through the forum and found this article, which explains nicely on how to build one

http://www.alteraforum.com/forum/showthread.php?t=28837

but there are things that I did not understand because of different board.

what does this mean (DE2_115_WEB_SERVER_RGMII_ENET0 demo) ad where can I find the demo that is suitable for my board.

honestly I don't know where to start,

please any guidelines will really be helpful .

Thanks You

27 Replies

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

    --- Quote Start ---

    i dont think it s a problem. Does it respond to ping now?

    --- Quote End ---

    No ,, it says destination host unreachable
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    try with a cross over cable.

    --- Quote End ---

    odd thing happen the board turned on a red light on the error LED D27, and the connection failed, I tried the cable on other device and it works so the issue is not on the cable could it possibly be the board ?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    try with a cross over cable.

    --- Quote End ---

    I tried all the possible ways !!! my webserver works !!! and ping can be established!!! but the telnet session doesn't work !!??? any idea !!

    please help !!

    though the webserver and ping works fine I have this error

    -------------------------------

    InterNiche Portable TCP/IP, v3.1

    Copyright 1996-2008 by InterNiche Technologies. All rights reserved.

    prepped 1 interface, initializing...

    mctest init called

    IP address of : 192.168.1.66

    dtrap - needs breakpoint

    dtrap - needs breakpoint

    Error sending DHCP packet on iface 0.

    ip_exit: calling func 0x1801b6f0

    ip_exit: calling func 0x18023298

    --------------------------------

    Attached shows the web server and the ping working successfully

    https://www.alteraforum.com/forum/attachment.php?attachmentid=12491