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.

RTOS/TMS570LC4357: How can i use to lwIP at RTOS

Part Number: TMS570LC4357

Tool/software: TI-RTOS

Hi, i want to ethernet communication between TMS570LC4357 and laptop or DSP that installed linux.

so I found lwip example. 

https://e2e.ti.com/support/archive/launchyourdesign/m/c2000microcontrollerprojects/666055

and i got a IP from that example. but I want to use lwip at RTOS. That example can't work at RTOS.

How can i use to lwIP at RTOS??

  • Hello DongHun,

    I am working on an example of lwip+freeRTOS, but I haven't make it work. I will keep you informed after I complete.
  • Hello DongHun,

    Attached please find the working example of freeRTOS + LWIP (webserver) on TMS570LC43x HDK. This projects contains two tasks: one is for LWIP+LED blinky, other task is for another LED blinky.

    The project works for both static IP (commented out) and dynamic IP (DHCP).

    2134.TMS570LC4357_FreeRTOS_LWIP.7z

  • Thank you very much :)

    I will try it !

  • Hi QJ.

    I tried to doing your solution and modified some link setting, lib path .etc for me. but it didn't work.

    so I have tried to solve this problem all day but i couldn't.

    Putty show me message "ERROR INITIALIZING HARDWARE".

    LED blink was work very well.

    I don't know why it doesn't work.

    Please let me know if you have any guesses.

  • Hi QJ!

    I think I solved the connection deny.

    I think It has a bug in netif.c

    If code attach ' if (init(netif) != ERR_OK) ' it doesn't work. so i inserted // in front of that code. then It works well. And finally i got a IP.

    Thank you !