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
I have started the following topic and all details included it in. As mentioned again in the title, there is a problem during the ping my TMS570LC4357 HDK when I try to use lwIP+FreeRTOS in a project at the same time.
It is my question :
https://e2e.ti.com/support/microcontrollers/hercules/f/312/t/896341
Altough I give lots of details and roadmap plans realted to my error, my problem didn't solved.
Looking forward to hearing help from Texas Instruments Authorized Support Team.
Best Regards.
Hello,
The example code I provided worked well on my bench before using TMS570LC4357 launchpad. The MPU settings for SRAM is write through instead of write back, the LWIP webserver example + freeRTOS should work.
I think that SRAM overlaps with region 3 as seeing in below. But it is not available for editing in HALCoGen in your example, so I am not able to change the Type and Permission of the region 3. How did you able to change it?
Here is your example that I going through:
https://e2e.ti.com/support/microcontrollers/hercules/f/312/t/799670?RTOS-TMS570LC4357-How-can-i-use-to-lwIP-at-RTOS
I do nothing different, directly download your linked project, compiling successfully and setting target network configuration as static IP but I am not able to ping my bench. I also state again that I ping my device with project lwIP based without FreeRTOS. When I use FreeRTOS I am not able to ping.
What should I do in this status ?
Thanks and Regards.
Hello Dear QJ Wang and AartiG,
Our reasons for choosing Texas Instruments are strong support community and quality products. But we see that it is not available for TMS570LC4357.
I am waiting for the reply about 20 days.
Here are my opened issues before:
Issue 1 : https://e2e.ti.com/support/microcontrollers/hercules/f/312/t/901249
Issue 2 : https://e2e.ti.com/support/microcontrollers/hercules/f/312/t/896341
Please let me know, if you will not handle this issue.
Thanks.
As soon as the FreeRTOS scheduler is enabled, it overrides the HALCoGen MPU setup. Look at these two application notes to configure the MPU when using FreeRTOS:
https://www.ti.com/lit/an/spna237/spna237.pdf
http://www.ti.com/lit/an/spna177/spna177.pdf
The second app note even includes CCS project example for reference.
Dear Sunil Oak,
Thanks for your quick reply. I will be working on it and notify you about results.
Thanks and Regards,
Hi,
I have apply required instructions in the following documents with the compatible manner for my project. But there are no successfull results.
http://www.ti.com/lit/an/spna177/spna177.pdf
https://www.ti.com/lit/an/spna237/spna237.pdf
I also tried the CCS Project Example that referenced in link. But I got following error that has no mean.
I only want to know something. Is it possible to use lwIP+FreeRTOS in same project with network functions like multicast,unicast data transmission. Are there any hardware level restrictions to do this successfully.
Those two application notes will help you to configure the MPU and freeRTOS in HALCoGen. It doesn't detail how to modify the MPU settings in freeRTOS for you specific application.
https://www.freertos.org/MPU_Chapter.pdf may be helpful as well.