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.

TMS320F28388D: CM core: Enet_lwip example codes

Part Number: TMS320F28388D
Other Parts Discussed in Thread: CONTROLSUITE, C2000WARE

Hello Champs,

Shall we have Enet_lwip example codes on CM core of F28388D/S? There are such kind of example codes for M3 of F28M35 in controlSUITE.

Thanks!

Best Regards,

Linda

  • Hi Linda,

    The Ethernet lwIP example for CM is at C2000Ware_3_03_00_00\libraries\communications\Ethernet\third_party\lwip\examples\enet_lwip\cm in C2000Ware.

    It supports TCP ICMP and is a webserver based example.

    Thanks,

    Yashwant

  • Hello Yashwant,

    I found the folder according to your guidance and have downloaded the "cm_comman_config_c28" (add "ETHERNET" predefined symbol) project to F2838xD CPU1 and "enet_lwip" project to CM on F28388D controlCARD, then after cable connected with RJ45 to laptop, tried "ping 192.168.0.4" (sending device IP address has already been set to 192.168.0.4), but error occurred which displayed as:

    ------------------------------------------------------------------------------------------------------------------

    Pinging 192.168.0.4 with 32 bytes of data:

    Reply from 10.87.38.180: Destination host unreachable.
    Reply from 10.87.38.180: Destination host unreachable.
    Reply from 10.87.38.180: Destination host unreachable.
    Reply from 10.87.38.180: Destination host unreachable.

    Ping statistics for 192.168.0.4:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

    ------------------------------------------------------------------------------------------------------------------

    Would you please kindly help? Thanks!

    Best Regards,

    Linda

  • Linda,

    Have you followed the steps in the readme.

    You have to set the IP address of your laptop to 192.168.0.3 or anything in the same network and subnet mask to 255.255.255.0.

    Regards,

    Yashwant

  • Hello Yashwant,

    Thank you for your kind help. This "Ping" command can always successfully run even if I try many times on my laptop.

    But at customer's computer, they found sometimes "Ping" can be successful but unsuccessful "Ping" result still existed. When it occurred, they needed to reset CM core in CCS and then the '"Ping" command can work again.

    Would you please kindly help? Thanks!

    Best Regards,

    Linda

  • Linda,

    Can you ask the customer to use the updated files provided in https://e2e.ti.com/support/microcontrollers/c2000/f/171/p/956874/3542442#3542442 and follow the replies which are marked "solved".

    Thanks,

    Yashwant