MPC5748G memory map discarded the most useful input sections

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MPC5748G memory map discarded the most useful input sections

1,320件の閲覧回数
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 返答(返信)

1,007件の閲覧回数
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

1,007件の閲覧回数
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 件の賞賛
返信