about S32 Design Studio for ARM Version 2.2 add compilation options

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

about S32 Design Studio for ARM Version 2.2 add compilation options

590件の閲覧回数
Kevin-Roman
Contributor II

Hello everyone:

    I need some professional advice for S32K148-Pin100.

    When I developed the chip software.I need to  do the function of AB Swap,I know the 148 chip is not supported,so I want to achieve this function through software.

    But my colleague told me S32 Design Studio for ARM Version 2.2 I could have added compilation options that fit AB Swap,but he forgot where to add them,So I want to ask you how to add this compilation option.

   Looking forward to your reply

   Kevin

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

565件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

first of all, notice that we provide this application note including software example:

https://www.nxp.com/docs/en/application-note/AN12323.pdf

https://www.nxp.com/docs/en/application-note-software/AN12323SW.zip

S32K1xx does not support remapping. There are two options for A/B swap: either compile the code as position independent or track the application images and place them to correct flash area.

Notice that S32 Design Studio supports only Position Independent Code (PIC) which can be used for small sections of code. But Position Independent Executable (PIE) is not supported – it’s not possible to create whole project as position independent. AN12323 mentions that IAR compiler can do that.

This has been already solved on S32K3 devices – HW support was added for this.

Regards,

Lukas

 

0 件の賞賛
返信