Forum Discussion

rupa's avatar
rupa
Icon for New Contributor rankNew Contributor
5 years ago

How to send RAW Ethernet packets in Nichestack

Hi

We want to create socket communication without using TCP/IP stack. We are trying to send RAW Ethernet packets by making use of IPRAW.C file in BSP of NIOS II Simple socket server program but we are unable to achieve our requirement.

So, Please share example programs how to send Raw Ethernet packets by using Nichestack API's .

Expecting response as soon as possible.

Thank you in advance

Regards

Rupa

8 Replies

  • Mike_Intel's avatar
    Mike_Intel
    Icon for Occasional Contributor rankOccasional Contributor

    Hello rupa,


    Thank you for posting in Intel Ethernet Communities.


    First of all, we apologize for the delay in our response.

    We are now done with the system upgrade and we are glad to continue assisting you.


    Before we proceed, can you clarify if you are designing a system using Intel Ethernet chip?



    If you have questions, please let us know. In case we do not hear from you, we will make a follow up after 3 workings days. Thank you.


    Best regards,

    Michael L.

    Intel Customer Support Technicians


  • Mike_Intel's avatar
    Mike_Intel
    Icon for Occasional Contributor rankOccasional Contributor

    Hello Nayana,


    Base on your inquiry, we have specific forum for these issues and I will be transferring this thread for faster response.


    Best regards,

    Michael L.

    Intel Customer Support Technicians


  • SengKok_L_Intel's avatar
    SengKok_L_Intel
    Icon for Regular Contributor rankRegular Contributor

    Hi,


    I apologize that there is no much info regarding to the driver of the simple socket server example design, this design example is provided as is or as it, therefore, the support to modify the driver or change the design function for difference purpose will be very minimum.


    There is another MAX 10 triple speed ethernet example design that not using the simple socket server driver, you may have a look to determine if this is useful for your use case where you can process the data by using your own logic (or RTL) and then transmit out.


    https://fpgacloud.intel.com/devstore/platform/15.1.0/Standard/max-10-single-port-triple-speed-ethernet-and-on-board-phy-chip-design-example/


    Regards -SK


    • Nayana's avatar
      Nayana
      Icon for New Contributor rankNew Contributor

      Thank You SK!

      I have FPGA beginners in the team.

      We are confused between the Ethernet Generator mentioned in the code and Ethernal Ethernet Packet Generator mentioned in the datasheet of the example. Request you to help us out.

      Thanks in advance.

  • SengKok_L_Intel's avatar
    SengKok_L_Intel
    Icon for Regular Contributor rankRegular Contributor

    I am afraid that I have no much info that can help with your python script here. What I suggest here is to capture the signaltap from the FPGA (e.g. the Avalon ST TX interface if you are using TSE IP) to understand what packet that it actually sending out, and detemine whether it meet your application requirment.

    Regards -SK

  • SengKok_L_Intel's avatar
    SengKok_L_Intel
    Icon for Regular Contributor rankRegular Contributor

    If further support is needed in this thread, please post a response within 15 days. After 15 days, this thread will be transitioned to community support. The community users will be able to help you with your follow-up questions.