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.

TMS320F28377D: MISRA-C compatible RTOS

Part Number: TMS320F28377D
Other Parts Discussed in Thread: SYSCONFIG

Hi all,

I'd like to use an RTOS on a TMS320F28377D device. My requirement is to have MISRA-C compatible code though.

Do you know if TI-RTOS or FreeRTOS (which is integrated into CCS)) is MISRA-C compatible?

I know that THREADX is MISRA-C compatible, do you know if its possible to use it with TI MCUs and CCS?

Thank you!

Ioannis Zafeirakis

  • I have some more questions :)  Why in sysconfig there is the FreeRTOS option and not the TI-RTOS? Can the TI-RTOS be used with sysconfig?

  • Hi,

    TI-RTOS is no longer supported for newer devices. I believe it inherently has a GUI that allows you to add tasks, mutexes and other OS features.

    FreeRTOS support for C2000 devices was a recent addition and will be continued for newer devices as well. FreeRTOS claims MISRA compliance for the core kernel files. For the hardware specific port files, we currently do not claim MISRA compliance. I can check on plans for making them MISRA compliant.

    SafeRTOS is also an option you can explore.

    I don't think ThreadX support is available for C2000 devices. Were you asking for TI MCUs in general or specifically on C2000 devices?

    Regards,

    Veena

  • Hi Veena,

    Thank you for you answer!

    I am interesting for C2000 devices for now. So I suppose we should use FreeRTOS, as this is the one you support.
    I'd like to know regarding the plans to make FreeRTOS ports MISRA-C compliant. Do you think that this could be ready in the next year for example?

    SafeRTOS looks interesting too. Just found out some infos regarding this. I guess this have been used with C2000 devices, right? Does TI support this?

    Thank you!

    Ioannis

  • Hi,

    Yes, you can use FreeRTOS for C2000 devices. It is supported by TI. I am not aware of any plans for MISRA-C compliance of FreeRTOS port. I can check with the team. As you know, a big portion of the port layer is in assembly language. Other files (excluding port layer) are maintained by FreeRTOS community.

    SafeRTOS port is offered and supported by the Wittenstein High Integrity Systems. You may check with them on the licensing and the support.

    Regards,

    Veena