Disable HSE

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Disable HSE

跳至解决方案
2,394 次查看
Jojo_Hu
Contributor II

Hi,

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

0 项奖励
回复
1 解答
2,376 次查看
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 回复数
2,377 次查看
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 项奖励
回复
2,355 次查看
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 项奖励
回复
2,344 次查看
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 项奖励
回复
2,299 次查看
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 项奖励
回复
2,362 次查看
Jojo_Hu
Contributor II
Hi VanB,

Understood. Thanks for your help.
0 项奖励
回复