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.

  • TI Thinks Resolved

RTOS/TM4C129ENCPDT: Looking for FreeRTOS based TCP or UDP functional project

Part Number: TM4C129ENCPDT

Tool/software: TI-RTOS

Hello,

I am looking for a FreeRTOS based TCP or UDP functional project for EK-TM4C129EXL so that I could then modify it for my work. I searched around but could not find any where.

FreeRTOS has some examples NOT specifically for TI launchpad EK-TM4C129EXL. I am more specifically intereset in FreeRTOS Socket style interface.

There are also some examples that comes with the Tivaware driver package for the board but these are not FreeRTOS based and needs alot of work around to make it adaptable for FreeRTOS.

Any info/help will be appreciable.

Thanks

  • Hello Sahil,

    We don't have a FreeRTOS example for TCP for the EK-TM4C129EXL, but there is one for the DK-TM4C129X which can be found in TivaWare under [Install Path]\TivaWare_C_Series-2.1.4.178\examples\boards\dk-tm4c129x\freertos_demo

    Not sure if that was one of the examples not for the LaunchPad you were mentioning. If you hadn't seen that before though, I'd give it a long hard look, as if you *must* use the LaunchPad, then at least you would only need to port that project to the LaunchPad MCU and Pinout. I think that would be a lot less work for you than trying to take one of our base TivaWare examples and add FreeRTOS to it (certainly can understand the concern about effort for such a task).

    Best Regards,

    Ralph Jacobi

  • In reply to Ralph Jacobi:

    Hi thanks for your reply.

    I am following the one you mentioned above. I am facing a problem in compiling it. The issue is exactly as mentioned in this post.

    e2e.ti.com/.../588681

    i.e.

    Building the RTOS-Based Configurable Serial-to-Ethernet Converter on High Performance Microcontrollers Design Guide exactly as described in the document (TIDU951, dated April 2015) and receiving the following error:

    "C:/ti/TivaWare_C_Series-2.1.4.178/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F/portmacro.h", line 144: error #18: expected a ")"
    "C:/ti/TivaWare_C_Series-2.1.4.178/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F/portmacro.h", line 144: error #18: expected a ")"

    2 errors detected in the compilation of "../config.c".  (along with numerous others)

    References this line of code.

    #if( configMAX_PRIORITIES > 32 )
    #error configUSE_PORT_OPTIMISED_TASK_SELECTION can only be set to 1 when configMAX_PRIORITIES is less than or equal to 32. It is very rare that a system requires more than 10 to 15 difference priorities as tasks that share a priority will time slice.
    #endif



    Unfortunately It is not clear in the post, how the issue was fixed though !!

  • In reply to Sahil:

    Hello Ralph,

    I followed this post and it build successfully.

    https://e2e.ti.com/support/microcontrollers/tiva_arm/f/908/t/522950

    Thank you

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.