This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C1294NCPDT: Demo code for ethernet application using emac.h library(not lwip)

Part Number: TM4C1294NCPDT


Hello,

I wanted know is there any demo example code for ethernet based application(using emac.h) using TM4C1294 evaluation kit. 

In the Tivaware C Series library software few examples are given but they are using lwip and uip. But i need to implement some project using emac.h(by using API's given in Tiva Peripheral driver library).

Thank you.

  • Hello Balaji,

    Have you looked at the enet_io project that we provide? Or how about the enet_tcpecho_server example in 2.2.0.295?

    If those don't meet your needs either can you explain what they are lacking then?

  • Thank you for the fast response Ralph,

    Yes I have seen enet_io and enet_tcpecho_server examples in tivaware 2.2.0.295. The issue is both of them are using lwip.h library and its API functions not emac.h library.

    But my requirement is I want an example code which uses emac.h library and its API functions as I mentioned in the thread.

    Thank you.

  • Hi,

      No, we don't have any examples without using the TCP/IP stack. The APIs in the emac.c are drivers for the EMAC module. Why would you want to do any Ethernet communication using direct Ethernet frames at the Data Link layer? Creating a very "simple" Ethernet application without the TCI/IP stack may be possible but I don't know what benefits you are going to get from it. At the end, your application may just look like a mini tcp/Ip stack by itself. Perhaps I don't understand your application but in any case, we do not have example as such. 

  • Thankyou Charles,

    I just wanted to implement client server communication, I don't want use inbuild tcp/ip stack. In Tivaware peripheral library file part of an example program is written using only emac API's. So I wanted implement communication using those API's only.

    Any how for time being I am modifying tcp_echo_server program only for my application.

    Thank you.