After creating a Freertos project, I am only able to run it from RAM. How can I flash it in MPC5748G?
Thanks and Regards,
Tiju
Solved! Go to Solution.
Hi,
In 0.8.0 EAR FreeRTOS was supported only in RAM configuration. This is why the project is not retained in memory after reset.
Fortunately, FreeRTOS is supported in flash target starting from 0.8.1 release.
Thanks,
Rares
Hi Martin,
Thanks for the help. It works for me.
Thanks and Regards,
Tiju
Hi Tiju,
Can you tell me how to port FreeRTOS to MPC5748G?
The MPC5748G have three cores,should i have to create three project to port FreeRTOS?
I only have this source that NXP.com provide
Please tell me the transplanting steps in detail,thank you!
Hello,
FreeRTOS is single core operating system. Please use the FreeRTOS port which is part of SDK as Jiri Kral adviced you in the thread below.
https://community.nxp.com/thread/459495
Regards,
Martin
Hi Martin,
Thanks for your reply!
You can call me Tim.
I want to know if i intend to create different tasks and let them operate in different cores,is it feasible?
Thanks and Regards,
Hello,
unfortunately, this is not possible. You can create tasks only at the same core, which executes operating system.
Regards,
Martin
Hello,
by default, for FreeRTOS is available RAM Target only. But it is possible to create new configuration for FLASH memory.
Please do the procedure below:
1) Open link S32SDK EAR 0.8.0 Linker Update and download edited linker files.
2) Create FreeRTOS project from example and replace old flash linker file with new one.
3) Open Project properties and click C/C++ Build ->Manage Configurations
4) Click New, insert Name (for example debug_conf) and choose Import from projects. In this window, choose freertos_mpc5748g > Debug_RAM and click OK.
5) Set this new configuration as active.
6) Click C/C++ Build -> Settings, Click General and change path to linker file. Linker file for flash has to be used.
7) Compile project with the new configuration.
If you have any other questions, please feel free to write me back.
Regards,
Martin
Hi Martin,
How can i debug the project using the flash configuration,every time i push the reset button,it always return to the previous project which i debugged.
Regards
Hello,
could you please clarify your question? Which reset button you mean?
What does it mean you debug previous project?
Regards,
Martin
Hi,
In 0.8.0 EAR FreeRTOS was supported only in RAM configuration. This is why the project is not retained in memory after reset.
Fortunately, FreeRTOS is supported in flash target starting from 0.8.1 release.
Thanks,
Rares
Hello Rares,
thanks for clarification.
Regards,
Martin