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.

Communicating TIVA TM4C129x using ethernet



Hello ,

I am developing  a product using TIVA TM4C129x,

I want communicate multiple boards (say maximum 15) having tiva tm4c129x controller with a single board which will also having the same controller but will act as master.

I want to communicate the master with all the slaves using Ethernet as my slave devices will be residing at different places. As i am new to use of Ethernet ,can you suggest me which protocol to use for the communication.

And also how can i define the master as server and slave as the client.Which example code i need to follow.?

Any help will be very useful

  • I am also looking for this information.

    There are examples provided on Resource Explorer ( tcpEcho_TivaTM4C1294NCPDT/tcpEcho.c for Ti-RTOS)

    It requires a DHCP server and a executable provided that "pings" the TIVA.

  • Stephen Keng said:
    It requires a DHCP server and a executable provided that "pings" the TIVA.

     Ping is an ICMP service and has nothing to do with data exchange, just to test an host is online or address is free. Nowaday with improper usage of internet protocol ICMP ping service seldom is active so you cannot rely on.

     About examples for internet/intranet client server one good source can be from a specialized course or a good book, mine was networking programming by Ferraro, I fear this book if not mantained by some fellow of missed professor fade out his light to our world,

     Socket on tiva is more similar to unix native socket implementation so I discourage use windoze as learning platform, try Linux or better a BSD implementation to learn how to communicate between two or more computer, when you grasped that and done better I assure you a very short time is needed to port application to.

     I adapted a server to TIVA in less than an hour from Linux (not a simple example skeleton), code has now conditional compilation so it is shared between platforms.