Is there any position independent code example for S32K148?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Is there any position independent code example for S32K148?

2,354 次查看
hkaracali
Contributor II

I want to generate position independent code image(SREC file) for S32K148. I have tried to modify hello_world example; but I could not generate successfully. Is there any example project and could you please share it if it is avaible?

Best regards.

0 项奖励
回复
4 回复数

2,330 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@hkaracali

     Do you want to modeified LD file or something else? I send you an App demo privately which used for an Bootloader example,I don't know if it is what you want.

BR!

     Jim,

0 项奖励
回复

2,326 次查看
hkaracali
Contributor II

Hi Jim,

I am looking for an example_app which generates position independent code(PIC). Because I have develop a bootloader. I can flash my app into the flash memory according to its linker file and it runs successfully. Every thing is OK up to now. However I want to move my app to different sector on flash memory. If I do that my app does not run anymore normally. So I want to generate PIC app which can be run from anywhere on the flash. Therefore I asked an example app like this.

Best regards.

0 项奖励
回复

2,318 次查看
Senlent
NXP TechSupport
NXP TechSupport
0 项奖励
回复

2,313 次查看
hkaracali
Contributor II

Hello,

I had a look it before. I have tried to apply mentioned updates to S32K148; but it did not works successfully. So, I am looking for an example now.

Regards.

0 项奖励
回复