Is there any position independent code example for S32K148?

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

Is there any position independent code example for S32K148?

2,402件の閲覧回数
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,378件の閲覧回数
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,374件の閲覧回数
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,366件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport
0 件の賞賛
返信

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