MPC5748G memory map discarded the most useful input sections

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC5748G memory map discarded the most useful input sections

850 Views
ningwang
Contributor III

Hi, I'm using MPC5748G to run freeRTOS on DEVKIT, S32 studio, it can run with debugger,( the original project is  at freertos.git - Automotive FreeRTOS Tree , freertos-9.x.x branch) but can't run after reset. I find it's the problem of the linker file. I use S32SDK EAR 0.8.0 Linker Update S32SDK EAR 0.8.0 Linker Update , the MPC5748G_flash.ld to replace the original one. But after compiled, In the memory map I can see, most the useful source file is discarded, and I still can't run.

193518_193518.pngpastedImage_2.png

193519_193519.pngpastedImage_3.png

What's the problem with that? How to modify the project setting if I add some my own source files?

Original Attachment has been moved to: MPC5748G_flash.ld.zip

2 Replies

537 Views
martin_kovar
NXP Employee
NXP Employee

Hello,

It is possible that FreeRTOS port from freertos.git needs different linker file. I recommend you to use FreeRTOS, which is part of SDK 0.8.0. Could you please try it and let me know, if it works on your side?

Regards,

Martin

537 Views
ningwang
Contributor III

Hi Martin,

     I solved this problem by modify the linker file and startup files, there are some errors. And now the board can start up after reset.

     Thanks.

0 Kudos