Position Independent Code for s32k144

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

Position Independent Code for s32k144

847件の閲覧回数
stark21
Contributor II

I have been working on the firmware upgrade process for the S32K144 microcontroller. The memory architecture includes a bootloader and two applications, App1 and App2.

Here is what I have done so far:

  • App1 is mapped to start at 0x11000 and App2 starts at 0x42000 in the linker file.
  • I have successfully created individual HEX files for both applications, and they download and jump to their respective addresses (0x11000 for App1 and 0x42000 for App2).

Now I wanted to have position independent code. Could please share the detail documentation and steps to follow in the case of S32DS?

I have reviewed below article but the information provide is limited.

https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/EXAMPLE-S32K144-Position-Independent-C....

タグ(1)
0 件の賞賛
返信
3 返答(返信)

622件の閲覧回数
stark21
Contributor II

Hi,

Thanks for sharing the information.

The information you have shared is somewhat general and not specific for S32DS and it is surprising that no one from NXP support has tried this PIC feature or have detailed document to use with S32DS.

 

タグ(2)
0 件の賞賛
返信

802件の閲覧回数
stark21
Contributor II

Hello team,

Are there any inputs?

タグ(1)
0 件の賞賛
返信

793件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi, 

PIC has very limited usage on Embedded System without OS. You can find more details here - https://mcuoneclipse.com/2021/06/05/position-independent-code-with-gcc-for-arm-cortex-m/#more-28612 

0 件の賞賛
返信