what consequences would arise if an unexpected issue occurs during update S32K312 HSE_FW process?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

what consequences would arise if an unexpected issue occurs during update S32K312 HSE_FW process?

Jump to solution
405 Views
彭泽稳
Contributor I

I am currently using this service to update HSE_FW. I would like to know what would happen if any unexpected situations occur during the update process, such as MCU power off or unexpected reset. Will the original HSE_FW firmware be damaged? Will there be any functional abnormalities? Can updates be performed normally in the future?

Tags (2)
0 Kudos
Reply
1 Solution
377 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @彭泽稳 

Please do not power off the device during the HSE firmware upgrade process. Interrupting power during this operation can cause Flash ECC errors, which may lead to firmware corruption.

These errors typically occur if power is lost while the device is programming or erasing flash memory, such as during an HSE firmware update.

If this happens, recovery may be required. For more information, refer to the following sections in the HSE_B Firmware Reference Manual, Rev. 2.5:

  • Figure 87 – Encountering ECC Error
  • Figure 88 – Recovering from ECC Error
  • Section 9.3.2 – General Use: Describes how ECC errors in HSE code flash are handled.
  • Section 14.6.7 – HSE Firmware Handshake: Explains the handshake mechanism between Secure BAF and HSE Firmware, which helps prevent device bricking by allowing the system to erase and reinstall corrupted firmware.

 

BR, VaneB

View solution in original post

1 Reply
378 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @彭泽稳 

Please do not power off the device during the HSE firmware upgrade process. Interrupting power during this operation can cause Flash ECC errors, which may lead to firmware corruption.

These errors typically occur if power is lost while the device is programming or erasing flash memory, such as during an HSE firmware update.

If this happens, recovery may be required. For more information, refer to the following sections in the HSE_B Firmware Reference Manual, Rev. 2.5:

  • Figure 87 – Encountering ECC Error
  • Figure 88 – Recovering from ECC Error
  • Section 9.3.2 – General Use: Describes how ECC errors in HSE code flash are handled.
  • Section 14.6.7 – HSE Firmware Handshake: Explains the handshake mechanism between Secure BAF and HSE Firmware, which helps prevent device bricking by allowing the system to erase and reinstall corrupted firmware.

 

BR, VaneB