HSE Firmware Update from RAM

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

HSE Firmware Update from RAM

378件の閲覧回数
HaiHoangSoftware
Contributor III

Dear NXP team,

Currently, We are referring to HSE_DEMOAPP_S32K396_0_2_50_0 to see how to update new HSE firmware (AB SWAP to AB SWAP FW update).

The first step is that programs IVT and Encrypted HSE F/w V2 Image in Active Partition as below picture (mentioned in HSE_DEMOAPP_S32K396_0_2_50_0_ReadMe.pdf).

HaiHoangSoftware_0-1760930918126.png

Due to the memory limit, Is that possible to store Encrypted HSE F/w V2 Image in RAM for updating?

Thanks,

Hai Nguyen Hoang.

 

 

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

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

Hi @HaiHoangSoftware 

Yes, the encrypted image can be stored in RAM memory. The only condition is that HSE must have access to that memory location - that means XRDC must be configured to allow HSE access to that memory. 

Moreover, service HSE_SRV_ID_FIRMWARE_UPDATE can be configured to use streaming mode which can be useful if you have not enough memory. 

Regards,

Lukas

0 件の賞賛
返信

306件の閲覧回数
HaiHoangSoftware
Contributor III

Hi @lukaszadrapa,

Thanks for your confirmation.

Is that possible to update HSE F/w in LifeCycle IN_FIELD?

Best regards,

Hai Nguyen Hoang.

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

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

Yes, the firmware can be updated in all life cycles. 

Regards,

Lukas

0 件の賞賛
返信

264件の閲覧回数
HaiHoangSoftware
Contributor III

Hi @lukaszadrapa ,

After request HSE install new firmware and request HSE to activate passive block successfully, a Hard reset must be issued.

After Hard reset, HSE will take back up by 1 second. Does this always happen or just 1 time when new HSE Fimeware is installed?  

HaiHoangSoftware_0-1761208479314.png

Best regards,

Hai Nguyen Hoang

 

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

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

Hi @HaiHoangSoftware 

This will happen only first time because it is necessary to copy the firmware to passive partition. The device works as usual after reset, just HSE_STATUS_INIT_OK is set later after about 1s, so you can't trigger HSE services until the HSE_STATUS_INIT_OK is set. 

In earlier versions of firmware, the firmware was copied to passive partition after each AB swap (even if the firmware was not updated). If you have firmware 0.2.50.0 for S32K396, this was changed to reduce this delay - copied from release notes:

"In ABSwap reduced HSE init time after Partition swap and reset by skipping firmware backup if HSE FW is the same"

So, you will see 1s delay only if the firmware is being updated. 

Regards,

Lukas

0 件の賞賛
返信

180件の閲覧回数
HaiHoangSoftware
Contributor III

Hi Lukas,

Understood now.

Thanks for your support.

0 件の賞賛
返信