How does S32K3 Automatic address translation work?

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

How does S32K3 Automatic address translation work?

1,306件の閲覧回数
jackey267
Contributor II

hi team: 

1) How does S32K3 Automatic address translation work? 

2) how does the S32K3  A/B swap work in details ? 

thanks 

0 件の賞賛
返信
3 返答(返信)

1,281件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

In case of S32K3, there's support in HSE firmware. You can download HSE FW and HSE demo app, HSE OTADEMO including documentation from:

https://www.nxp.com/webapp/swlicensing/sso/downloadSoftware.sp?catid=SW32K3-STDSW-D

https://www.nxp.com/webapp/swlicensing/sso/downloadSoftware.sp?catid=SW32K3-REFSW-D

HSE Reference Manual is then provided under NDA on docstore.nxp.com

In short: if AB swap is enabled, the flash is divided to two parts - active and passive block. The active block is always the lower one, passive higher one. New application is loaded to passive block. Once it is done, swapping is requested. After next reset, passive block becomes active block. The advantage is that no position independent code is needed because active block is still at the same location.

Regards,

Lukas

0 件の賞賛
返信

1,270件の閲覧回数
jackey267
Contributor II

hi  Lukas:

thank you for you sincerely reply.

1 Does the base address of the two Pflash  has been changed  to keep   "The active block is always the lower one, passive higher one"  as you said? 

2 Or the image contents of Pflash A   has been totally copied into  Pflash B  as you mentioned  "Once it is done, swapping is requested" ?  in another words, a data copy and move will be happened at there ? 

thanks 

0 件の賞賛
返信

1,246件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi Jack,

it's not copied, the addresses are translated by HW.

Regards

Lukas

0 件の賞賛
返信