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.
Tool/software: Code Composer Studio
Hi Guys,
I use the Freertos in the TMS570LS1224,The code generated by the HALCoGen 04.07.00 and there are some error in it.
1# If i do not select the Use Timers of the Dialog in the HALCoGen 04.07.00.the tasks can run normally.
2# but if i use the time management of Freertos,that is selecting the Use Timers. the tasks can not run normally.
When i debug the code that i found the code stay on the same palce. show as below:
I don‘t know why!who can help me?
And the attachment is my project and the *.hcg file.
Hi Eden,
Is this similar to the your previous thread?
RTOS/TMS570LS1224: The question about the RTOS integrated to the TMS570LS1224 - Arm-based microcontrollers...
Have you included the mpu_wrappers header file in your main file?
Thanks and Regards,
Veena
Hi Veena Kamath,
I have add the file os_mpu_wrappers.h,but still not work normally!The project is in my post attachment.
Best Regards!
Eden
Hi Veena,
I wanna use the part " configUSE_TIMERS" of Freertos,so I select the Use Timers in the HAL,shown as below :
The HAL generate the Code,and then i Build it ,the below error will appear,if i not add the file named os_mpu_wrappers.h
for the error,i modify the code, show as below,i change the portUSING_MPU_WRAPPERS to 0 ,and then build it again,and another error shown again!
the error:
The attachment is my project.
Hi,
There is a bug in the HALCoGen generated file. We have already raised a ticket on the same. The fix will be rolled out in the next release.
As a workaround you could replace the mpu_wrappers.c file in the folder <HALCoGen path>\drivers\FreeRTOS\portable\CCS\Cortex-R4 with the attached file
6355.mpu_wrappers.c
Also, please make sure the portUSING_MPU_WRAPPERS macro is set as 1. And do not include the mpu wrappers header file in the main file
Thanks and Regards,
Veena