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.

FreeRTOS+tcp/ip stack

Expert 1255 points
Other Parts Discussed in Thread: TM4C129XNCZAD

Hi

I am working with TM4C129XNCZAD+CCSv6+ FreeRTOS.

I want to download a TCP/IP stack to work with this combination.

FreeRTOS+TCP doesnot seem to support this MCU+Compiler combination.

what about lwip, would it serve the purpose?

Can u suggest an option/alternative?

 

Thanks in advance

av

  • Hello AV,

    It is supported. Please check the example in TivaWare "examples\boards\dk-tm4c129x\freertos_demo"

    Regards
    Amit
  • Hi Amit

    I have gone through the above mentioned project.
    This is the file used in this project: lwip_task.c - Tasks to serve web pages over Ethernet using lwIP.
    It seems to be using light weight TCP/IP .
    Does it serve the same purpose as full-scale TCP/IP Stack?
    From what I understand lwip has a smaller RAM footprint which is useful but where does it fall short compared to the tcp/ip stack?

    Thanks
  • Hello AV

    lwIP is a TCP/IP stack. It is called light weight as it is designed for embedded systems. The size of the lwIP stack is not much for both flash and RAM (though I do not remember the exact values), you can check the map file for Flash and RAM usage by lwIP functions.

    Regards
    Amit
  • FreeRTOS+TCP supports any microcontroller that you care to create a driver for.  Porting to a new device and/or a new compiler is simple, and links to instructions on doing both are provided on this link. I know people of using the stack on these TI parts already, and if they have been gracious enough to share you may find a driver in the FreeRTOS Interactive site.