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.

CCS/EK-TM4C1294XL: TM4C1294NCPDT

Part Number: EK-TM4C1294XL

Tool/software: Code Composer Studio

Hello everyone,

I am using EK-TM4C1294XL LaunchPad for Ethernet functionality. To start with this, I want to send some data (any dummy data) from this board over Ethernet physical layer to some device (like my pc). I have referred the programming example in Ethernet controller section of the document "TivaWare Peripheral Driver Library User's Guide" and used that to send some data by passing it through a buffer. But I am not sure whether the data is sent or not  with the help of Wireshark. Can anyone help me how to modify that given example in the document or suggest some way to send some data from the board over Ethernet physical  layer.

  • Hi,

     Do you really want to send Ethernet data without the TCP/IP stack? The example you are referring to in the TivaWare Peripheral Driver user's guide does not use the TCP/IP stack. Your application will be much simpler if you use the TCP/IP stack. There are various ethernet examples in the TivaWare library. You can start with enet_lwip under <TivaWare_Installation>/examples/boards/ek-tm4c1294xl/enet_lwip. This is a web server example.

     If you want to use the example shown in the TivaWare Peripheral Driver user's guide then you must know the Ethernet frame format. You cannot just send dummy data. The Ethernet frame must comply to the 802.3 frame format with your MAC destination address and MAC source address, length, payload and CRC. These cannot be just random data. You need to find out what your launchpad MAC address is and the MAC address of the PC that you are sending data to. The payload must encapsulate the application layer protocol and the TCP/IP layer info. Without all this, your PC is not going to understand what data it is being sent with. 

  • Hi,

    Thank you for the reply. I want to send the data over Ethernet physical layer without the TCP/IP stack. In the example shown in "TivaWare Peripheral Driver Library User's Guide", Can you tell me what are the modifications to be done? I have passed a buffer containing the Ethernet frame to the PacketTransmit() function by giving MAC destination address, MAC source address, Ethertype, Payload . But the ProcessReceivedPacket() function is inside another function EthernetIntHandler(). When and where should I call these functions? Inside the ProcessReceivedPacket() function there is another function ApplicationProcessFrame() which doesn't have any definition. Please help me what changes are to be done.

    Thank you!
  • Close this thread as there is a duplicate thread at e2e.ti.com/.../2633173.