Is there any position independent code example for S32K148?

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

Is there any position independent code example for S32K148?

2,280 Views
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 Kudos
Reply
4 Replies

2,256 Views
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 Kudos
Reply

2,252 Views
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 Kudos
Reply

2,244 Views
Senlent
NXP TechSupport
NXP TechSupport
0 Kudos
Reply

2,239 Views
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 Kudos
Reply