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.

TMS320F28386S: Ping

Part Number: TMS320F28386S
Other Parts Discussed in Thread: C2000WARE

Hi,

i build project based on cm_common_config_c28x and enet_lwip projects.

i work on my custome board.

in project cm_common_config_c28x i made change for the ethernet MII IOs as in my board.

in project enet_lwip i made change for the IP address and subnet mask for my PC subnet.

i connect the TMS320f28386s to marvel switch soppurt MII protocol.

one of the switch input ethernet connect to my PC.

i run chrome set the ip of the device and i see the webserver inside the tms320f28386s. -

169.254.146.10 - TMS320f2838s IP configured

169.254.146.255 - PC IP

open command window for ping test ping -n 5 -l 1500 169.254.146.10

the result is:

sometimes i get result and sometimes not

its looks that is not stable

advice

  • what is the best example to use UDP over ETHERNET

    advice

  • Asaf, 

    For UDP, there is a UDP example provided in C2000Ware v4.00.00.00 located at C:\ti\c2000\C2000Ware_4_00_00_00\libraries\communications\Ethernet\third_party\lwip\examples\enet_lwip_udp

    This example demonstrates UDP socket operation . F2838x device receives and sends data over UDP.

    Test setup

    • F2838x Control Card connected to a PC/laptop  on the Ethernet port.
    • PC/laptop runs the SocketTest/’Packet Sender’ software, configured for the IP Address and port . Keywords ‘START’ and ‘STOP’ are used to send and stop receiving messages respectively
    • Received data is stored in ‘buf_rx’ array and data to be transmitted is stored in ‘buf_tx’ array on CM core of F2838x device
    • Examples is Interrupt based with a callback function ‘udp_rx_callback’ which handles the received data from the SocketTest/Packet Sender software.

    Best Regards

    Siddharth

  • this project is for M4 what project i should get for CPU1?

    advice 

  • You should run the same "cm_common_config_c28x" project on CPU1 and then run this project on CM side

    Best Regards

    Siddharth