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.

TMS570LS0914: FreeRTOS in CCS 12.7.1

Part Number: TMS570LS0914
Other Parts Discussed in Thread: HALCOGEN

Tool/software:

Hello,

             i have created new project using CCS 12.7.1 IDE. To this i have included FreeRTOS supporting port files for TMS570ls0914 arm cortex r4(from freeRTOS.org) and its built without errors.But when i run the built project on customized TMS570ls0914PGE board the debugger control getting stuck in sys_intvecs.asm file of MCAL.when i debugged in detail i noticed once the debugger hits vPortStartFirstTask function in port.c freeRTOS file.Tasks are not running even i have allocated enough memory.

when i suspended the debugger it is showing as follows as in screenshot :

Can you please help here.

Best Regards,

Avinash 

  • Hi Avinash,

    We have an example RTOS project in HALCoGen and you can find it in below path:

    Can you refer it once and if it doesn't solve your issue then, if possible, please share your complete project for debugging.

    You can send the project through private chat as well.

    --
    Thanks & regards,
    Jagadish.

  • Hello Jagadish,

                           Thanks for information. I will use it as reference and will check and let you know about it.

    Best Regards,

    Avinash

  • Hello Jagadish,

                             I followed the steps and used sample LED blinky project and checked,after making few changes it started working.But now i added in my another project there am able to run only one task.i tried using both static allocated memory tasks and heap allocated memory for FreeRTOS tasks.Either way only one task(higher priority) is running for me.Also enabled configUSE_PREEMPTION macro in FreeRTOSConfig.h. i am not getting which file configuration related to MCU is missing or causing this issue.Also freeRTOS getting stuck in _data abort function when 2 tasks are running.i have allocated enough memory to the tasks.Please help here  ASAP.

    Best Regards,

    Avinash

  • For Information.

    We had a call and solved the issue.