Disable HSE

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,356件の閲覧回数
Jojo_Hu
Contributor II

Hi,

For S32K312, can HSE be disabled after it has been enabled and the firmware has been downloaded?

0 件の賞賛
返信
1 解決策
1,338件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @Jojo_Hu 

For development purposes, when working in the CUST_DEL life cycle, firmware erase functionality was introduced. This erase functionality is available starting from version 0.2.40.0 and newer, across all S32K3 devices. If you are using an older version like 0.2.6.0, this feature will not be available.

There are two key HSE services:

  • HSE_SRV_ID_ERASE_FW – This service erases the HSE firmware, its backup, and the system image (SYS-IMG).
  • HSE_SRV_ID_ERASE_HSE_NVM_DATA – This one only erases the SYS-IMG.

It is important to note that even after using HSE_SRV_ID_ERASE_FW, the flash memory originally allocated for the HSE firmware remains reserved for it. That means you will not gain access to that flash space.

Also, if you previously installed an AB SWAP version and then erased it, the OTA flag (which is an OTP) will still be set. Because of this, you should not install a FULL MEM version on such a device afterward.

For a simple guide on how to trigger the HSE_SRV_ID_ERASE_FW service, please refer to the following thread where my colleague explains the process:

HSE firmware installation

 

BR, VaneB

元の投稿で解決策を見る

0 件の賞賛
返信
5 返答(返信)
1,339件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @Jojo_Hu 

For development purposes, when working in the CUST_DEL life cycle, firmware erase functionality was introduced. This erase functionality is available starting from version 0.2.40.0 and newer, across all S32K3 devices. If you are using an older version like 0.2.6.0, this feature will not be available.

There are two key HSE services:

  • HSE_SRV_ID_ERASE_FW – This service erases the HSE firmware, its backup, and the system image (SYS-IMG).
  • HSE_SRV_ID_ERASE_HSE_NVM_DATA – This one only erases the SYS-IMG.

It is important to note that even after using HSE_SRV_ID_ERASE_FW, the flash memory originally allocated for the HSE firmware remains reserved for it. That means you will not gain access to that flash space.

Also, if you previously installed an AB SWAP version and then erased it, the OTA flag (which is an OTP) will still be set. Because of this, you should not install a FULL MEM version on such a device afterward.

For a simple guide on how to trigger the HSE_SRV_ID_ERASE_FW service, please refer to the following thread where my colleague explains the process:

HSE firmware installation

 

BR, VaneB

0 件の賞賛
返信
1,317件の閲覧回数
Jojo_Hu
Contributor II
Hi,
If HSE FW and NVM DATA (full data flash region was allocated for NVM DATA) have been erased, can the data flash be used by application?
0 件の賞賛
返信
1,306件の閲覧回数
Jojo_Hu
Contributor II
“It is important to note that even after using HSE_SRV_ID_ERASE_FW, the flash memory originally allocated for the HSE firmware remains reserved for it. That means you will not gain access to that flash space.”
The problem I'm facing is, after excuting HSE_SRV_ID_ERASE_FW & HSE_SRV_ID_ERASE_HSE_NVM_DATA (previously the whole data flash was allocated for HSEfirmware) , is there any way for the data flash to be used? ,
0 件の賞賛
返信
1,261件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @Jojo_Hu 

As previously mentioned, this memory remains reserved and is exclusively accessible by HSE. Please note that there is no available method to access it from outside the HSE domain.

0 件の賞賛
返信
1,324件の閲覧回数
Jojo_Hu
Contributor II
Hi VanB,

Understood. Thanks for your help.
0 件の賞賛
返信