S32K3 HSE firmware installation issues

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

S32K3 HSE firmware installation issues

4,391 Views
YuZheng1
Contributor II

I am using the S32K312 chip and would like to ask if there is a way to reinstall the HSE firmware.

The project compiled with the HSE firmware installation image was programmed and run. After that, the firmware became unusable, and upon re-debugging, I found that I could not retrieve the HSE status and version number. I suspect that the firmware installation failed and resulted in a bad firmware being installed in the secure area. Upon further debugging the firmware installation program, I discovered that the UTEST area has already been written to, and the firmware cannot be reinstalled.

I would like to know if there is a way to reinstall the HSE firmware.


我使用S32K312的芯片,想问下是否有方法可以重新安装Hse固件。

使用Hse固件安装的工程编译后的镜像进行安装。烧录该镜像,运行。之后固件不可用,重新调试发现无法获取到Hse状态和版本号。我怀疑是固件安装失败导致坏的固件被安装到安全保护区。再调试运行固件安装程序发现UTEST区已经被写入了,固件不会被重新安装。

现在想问下是否有方法可以重新安装Hse固件。

0 Kudos
Reply
9 Replies

4,335 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

Check HSE GPR register at 0x4039C028. Bit '0' says if HSE firmware is installed or not.

Programming of the HSE FW feature flag at 0x1B00_0000 is one-time operation. It’s not necessary to do that second time (it’s even not possible). Once it is programmed, the device is unlocked for HSE installation forever.
You can install HSE FW 0.2.55.0, erase it and install it again without touching the feature flag second time.

Could you please tell me which project you are using?  如果是...\s32k3_hse_lib_rtd400hf01_20250903\HseLib_HseFwInstall_Rtd400 工程的话,应该不存在这个问题。


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply

4,332 Views
YuZheng1
Contributor II

我是用的工程是 S32K3x2_HseFwInstall_MassProduction_Rtd200_Ds343。

0x4039C028  Bit '0' 是 0。 SBAF 的版本号看是01 0D。

Hse固件Flash地址被保护了,我如何去擦除刷写新的Hse固件?

YuZheng1_0-1758537596344.pngYuZheng1_0-1758537596344.png

 

0 Kudos
Reply

4,261 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

 ...\MassProduction_1_0_1\0.2.1.0_0.2.6.0\MassProduction\image\s19\S32K3x2_HseFwInstall_MassProduction_Rtd200_Ds343_AB_SWAP_FW_0260.srec

The offline programming process in S32K3_HseAppProgram_MassProduction_UserGuide_AbSwap.pdf are for CYCLONE and should also be followed when using other Flash Programmer. For example, delay at least 3 seconds after download S32K3x2_HseFwInstall_MassProduction_Rtd200_Ds343_AB_SWAP_FW_0260.srec and Run(F9 when using J-Flash)  Wait for the HSE FW to complete the installation.

delay at least 3 seconds after download S32K3x2_HseFwInstall_MassProduction_Rtd200_Ds343_AB_SWAP_FW_0260 srec and Run.pngdelay at least 3 seconds after download S32K3x2_HseFwInstall_MassProduction_Rtd200_Ds343_AB_SWAP_FW_0260 srec and Run.png

Here is the value shown the HSE FW already installed:
SBAF version 0x4039C020= 010D0000 00090001 means 1.13.0_2.6.0 (AB_SWAP)
0x4039C028 bit 0=1 says HSE firmware is installed.

0x4039C020 J-Flash S32K3x2_HseFwInstall_MassProduction_Rtd200_Ds343_AB_SWAP_FW_0260 srec.png0x4039C020 J-Flash S32K3x2_HseFwInstall_MassProduction_Rtd200_Ds343_AB_SWAP_FW_0260 srec.png

0 Kudos
Reply

4,245 Views
YuZheng1
Contributor II

好的,我又进行了尝试,也是可以正常安装的啦。

我发现是我们合并了一版修改时钟和添加Power模块休眠唤醒功能的代码后,运行后导致Hse固件损坏了。再也无法获取到Hse的状态啦。

麻烦再请问下这个情况可能是什么原因会导致Hse固件损坏,有什么方法可以修复它吗?

Okay, I've tried again and it can be installed normally.

I found that after we merged a version of code that modified the clock and added the Power module's sleep/wake functionality, running it caused the Hse firmware to become corrupted. We can no longer retrieve the Hse status.

Could you please advise what might have caused the Hse firmware corruption in this case, and is there any way to fix it?

0 Kudos
Reply

4,231 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Did you follow the Clock Option B ratio? Any clock frequency selected must adhere to the same clock divider ratios shown in System clocking configurations of S32K3XXRM. https://community.nxp.com/t5/S32K/S32K312-flexcan-example-not-running-on-Power-reset/m-p/1802558

0 Kudos
Reply

4,228 Views
YuZheng1
Contributor II

请问这个Hse Clk只能配置为60MHz吗?我们这个配置是之前就已经配置为80MHz了并且没有出现问题。在合入其他修改后出现的这个问题。

Is this Hse Clk limited to a configuration of only 60MHz? We previously configured it to 80MHz without any issues. This problem only appeared after merging other modifications.

wechat_2025-09-26_140411_841.pngwechat_2025-09-26_140411_841.png

0 Kudos
Reply

4,218 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

CORE_CLK并不是必须80MHz,但是比例必须遵顼 可以参考这里的比率 https://community.nxp.com/t5/S32K-Knowledge-Base/All-Example-S32K312-DS3-5-RTD-3-0-0/ta-p/1790004

HSE FW丢失的原因有许多,建议阅读S32K3常见问题检查列表(Check list)分享4.20 HSE固件损坏或被擦除的原因

0 Kudos
Reply

4,206 Views
YuZheng1
Contributor II

还想问下如果Hse固件已经确认损坏,有什么方法可以修复吗?还是只能更换新的芯片啊?

0 Kudos
Reply

4,193 Views
Robin_Shen
NXP TechSupport
NXP TechSupport
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2173113%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K3%20HSE%20firmware%20installation%20issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2173113%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EI%20am%20using%20the%20S32K312%20chip%20and%20would%20like%20to%20ask%20if%20there%20is%20a%20way%20to%20reinstall%20the%20HSE%20firmware.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EThe%20project%20compiled%20with%20the%20HSE%20firmware%20installation%20image%20was%20programmed%20and%20run.%20After%20that%2C%20the%20firmware%20became%20unusable%2C%20and%20upon%20re-debugging%2C%20I%20found%20that%20I%20could%20not%20retrieve%20the%20HSE%20status%20and%20version%20number.%20I%20suspect%20that%20the%20firmware%20installation%20failed%20and%20resulted%20in%20a%20bad%20firmware%20being%20installed%20in%20the%20secure%20area.%20Upon%20further%20debugging%20the%20firmware%20installation%20program%2C%20I%20discovered%20that%20the%20UTEST%20area%20has%20already%20been%20written%20to%2C%20and%20the%20firmware%20cannot%20be%20reinstalled.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20would%20like%20to%20know%20if%20there%20is%20a%20way%20to%20reinstall%20the%20HSE%20firmware.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%E6%88%91%E4%BD%BF%E7%94%A8S32K312%E7%9A%84%E8%8A%AF%E7%89%87%EF%BC%8C%E6%83%B3%E9%97%AE%E4%B8%8B%E6%98%AF%E5%90%A6%E6%9C%89%E6%96%B9%E6%B3%95%E5%8F%AF%E4%BB%A5%E9%87%8D%E6%96%B0%E5%AE%89%E8%A3%85Hse%E5%9B%BA%E4%BB%B6%E3%80%82%3C%2FP%3E%3CP%3E%E4%BD%BF%E7%94%A8Hse%E5%9B%BA%E4%BB%B6%E5%AE%89%E8%A3%85%E7%9A%84%E5%B7%A5%E7%A8%8B%E7%BC%96%E8%AF%91%E5%90%8E%E7%9A%84%E9%95%9C%E5%83%8F%E8%BF%9B%E8%A1%8C%E5%AE%89%E8%A3%85%E3%80%82%E7%83%A7%E5%BD%95%E8%AF%A5%E9%95%9C%E5%83%8F%EF%BC%8C%E8%BF%90%E8%A1%8C%E3%80%82%E4%B9%8B%E5%90%8E%E5%9B%BA%E4%BB%B6%E4%B8%8D%E5%8F%AF%E7%94%A8%EF%BC%8C%E9%87%8D%E6%96%B0%E8%B0%83%E8%AF%95%E5%8F%91%E7%8E%B0%E6%97%A0%E6%B3%95%E8%8E%B7%E5%8F%96%E5%88%B0Hse%E7%8A%B6%E6%80%81%E5%92%8C%E7%89%88%E6%9C%AC%E5%8F%B7%E3%80%82%E6%88%91%E6%80%80%E7%96%91%E6%98%AF%E5%9B%BA%E4%BB%B6%E5%AE%89%E8%A3%85%E5%A4%B1%E8%B4%A5%E5%AF%BC%E8%87%B4%E5%9D%8F%E7%9A%84%E5%9B%BA%E4%BB%B6%E8%A2%AB%E5%AE%89%E8%A3%85%E5%88%B0%E5%AE%89%E5%85%A8%E4%BF%9D%E6%8A%A4%E5%8C%BA%E3%80%82%E5%86%8D%E8%B0%83%E8%AF%95%E8%BF%90%E8%A1%8C%E5%9B%BA%E4%BB%B6%E5%AE%89%E8%A3%85%E7%A8%8B%E5%BA%8F%E5%8F%91%E7%8E%B0UTEST%E5%8C%BA%E5%B7%B2%E7%BB%8F%E8%A2%AB%E5%86%99%E5%85%A5%E4%BA%86%EF%BC%8C%E5%9B%BA%E4%BB%B6%E4%B8%8D%E4%BC%9A%E8%A2%AB%E9%87%8D%E6%96%B0%E5%AE%89%E8%A3%85%E3%80%82%3C%2FP%3E%3CP%3E%E7%8E%B0%E5%9C%A8%E6%83%B3%E9%97%AE%E4%B8%8B%E6%98%AF%E5%90%A6%E6%9C%89%E6%96%B9%E6%B3%95%E5%8F%AF%E4%BB%A5%E9%87%8D%E6%96%B0%E5%AE%89%E8%A3%85Hse%E5%9B%BA%E4%BB%B6%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2176438%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K3%20HSE%20firmware%20installation%20issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2176438%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%3E%3CP%3EPlease%20try%20%3CSPAN%3Ethe%20fix%20mentioned%20in%20MU%20Restore%20FW_EN.pdf%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Fpwmxy87654%2Fattachments%2Fpwmxy87654%2FS32K%2F19042%2F1%2FMU%2520Restore%2520FW_EN.pdf%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Fpwmxy87654%2Fattachments%2Fpwmxy87654%2FS32K%2F19042%2F1%2FMU%20%2520Restore%2520FW_EN.pdf%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2176348%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K3%20HSE%20firmware%20installation%20issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2176348%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20would%20also%20like%20to%20ask%20if%20there%20is%20any%20way%20to%20fix%20the%20Hse%20firmware%20if%20it%20is%20confirmed%20to%20be%20corrupt%3F%20Or%20is%20it%20only%20possible%20to%20replace%20the%20chip%20with%20a%20new%20one%20ah%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2176325%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K3%20HSE%20firmware%20installation%20issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2176325%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%3E%3CP%3ECORE_CLK%20does%20not%20have%20to%20be%2080MHz%2C%20but%20the%20ratio%20has%20to%20be%20followed.%20You%20can%20refer%20to%20the%20ratio%20here%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K-Knowledge-Base%2FAll-Example-S32K312-DS3-5-RTD-3-0-0%2Fta-p%2F1790004%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K-Knowledge-Base%2FAll-Example-S32K312-DS3-5-RTD-3-0-0%2Fta-p%2F%201790004%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EThere%20are%20many%20reasons%20for%20the%20loss%20of%20HSE%20FW%2C%20it%20is%20recommended%20to%20read%20the%3CSTRONG%3E%204.20%3C%2FSTRONG%3E%3CSTRONG%20style%3D%22font-family%3A%20inherit%3B%22%3E%20HSE%3C%2FSTRONG%3E%3CSTRONG%20style%3D%22font-family%3A%20inherit%3B%22%3E%20Firmware%20Corruption%20or%20Erased%20Causes%3C%2FSTRONG%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FS32K3%25E5%25B8%25B8%25E8%25A7%2581%25E9%2597%25AE%25E9%25A2%2598%25E6%25A3%2580%25E6%259F%25A5%25E5%2588%2597%25E8%25A1%25A8-Check-list-%25E5%2588%2586%25E4%25BA%25AB%2Fm-p%2F2020858%23M44683%22%20target%3D%22_self%22%3E%20shared%20by%20the%20S32K3%20FAQ%20checklist%20(Check%20list)%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2176305%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K3%20HSE%20firmware%20installation%20issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2176305%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%3E%3CP%3ECan%20this%20Hse%20Clk%20only%20be%20configured%20for%2060MHz%3F%20Our%20configuration%20was%20already%20configured%20to%2080MHz%20before%20and%20we%20had%20no%20problems.%20The%20problem%20occurs%20after%20incorporating%20other%20modifications.%3C%2FP%3E%3CP%3E%3CSPAN%3EIs%20this%20Hse%20Clk%20limited%20to%20a%20configuration%20of%20only%2060MHz%3F%20We%20previously%20configured%20it%20to%2080MHz%20without%20any%20issues.%20This%20problem%20only%20appeared%20after%20merging%20other%20modifications.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22wechat_2025-09-26_140411_841.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22wechat_2025-09-26_140411_841.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F358656i58BA428729DE651B%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22wechat_2025-09-26_140411_841.png%22%20alt%3D%22wechat_2025-09-26_140411_841.png%22%20%2F%3E%3Cspan%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3Ewechat_2025-09-26_140411_841.png%3C%2Fspan%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2176283%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K3%20HSE%20firmware%20installation%20issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2176283%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDid%20you%20follow%20the%20Clock%20%3CSTRONG%3EOption%20B%3C%2FSTRONG%3E%20ratio%3F%20Any%20clock%20frequency%20selected%20must%20adhere%20to%20the%20same%20clock%20divider%20ratios%20shown%20in%20%3CSTRONG%3ESystem%20clocking%20configurations%3C%2FSTRONG%3E%20of%20S32K3XXRM.%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FS32K312-flexcan-example-not-running-on-Power-reset%2Fm-p%2F1802558%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FS32K312-flexcan-example-not-running-on-Power-reset%2Fm-p%2F1802558%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2176277%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K3%20HSE%20firmware%20installation%20issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2176277%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%3E%3CP%3EOk%2C%20I%20tried%20again%20and%20it%20installed%20fine.%3C%2FP%3E%3CP%3EI%20found%20out%20that%20after%20we%20merged%20a%20version%20of%20the%20code%20that%20modified%20the%20clock%20and%20added%20the%20Power%20module%20sleep-wake%20function%2C%20running%20it%20caused%20the%20Hse%20firmware%20to%20become%20corrupted.%20I%20can't%20get%20the%20status%20of%20the%20Hse%20anymore.%3C%2FP%3E%3CP%3EPlease%20ask%20again%20what%20could%20be%20the%20cause%20of%20this%20situation%20that%20could%20cause%20the%20Hse%20firmware%20to%20become%20corrupted%20and%20is%20there%20any%20way%20to%20fix%20it%3F%3C%2FP%3E%3CP%3E%3CSPAN%3EOkay%2C%20I've%20tried%20again%20and%20it%20can%20be%20installed%20normally.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20found%20that%20after%20we%20merged%20a%20version%20of%20code%20that%20modified%20the%20clock%20and%20added%20the%20Power%20module's%20sleep%2Fwake%20functionality%2C%20running%20it%20caused%20the%20Hse%20firmware%20to%20become%20corrupted.%20We%20can%20no%20longer%20retrieve%20the%20Hse%20status.%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ECould%20you%20please%20advise%20what%20might%20have%20caused%20the%20Hse%20firmware%20corruption%20in%20this%20case%2C%20and%20is%20there%20any%20way%20to%20fix%20it%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2173495%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K3%20HSE%20firmware%20installation%20issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2173495%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20am%20using%20the%20project%20S32K3x2_HseFwInstall_MassProduction_Rtd200_Ds343.%3C%2FP%3E%3CP%3E%3CSTRONG%3E0x4039C028%3C%2FSTRONG%3E%20Bit%20'0'%20is%200.%20The%20SBAF%20version%20number%20looks%20like%2001%200D.%3C%2FP%3E%3CP%3EHse%20firmware%20flash%20address%20is%20protected%2C%20how%20do%20I%20go%20about%20erasing%20and%20flashing%20the%20new%20Hse%20firmware%3F%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22YuZheng1_0-1758537596344.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22YuZheng1_0-1758537596344.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F357949i786CFD3BCFEDAE55%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22YuZheng1_0-1758537596344.png%22%20alt%3D%22YuZheng1_0-1758537596344.png%22%20%2F%3E%3Cspan%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EYuZheng1_0-1758537596344.png%3C%2Fspan%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2173326%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K3%20HSE%20firmware%20installation%20issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2173326%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%3C%2FP%3E%0A%3CP%3ECheck%20HSE%20GPR%20register%20at%20%3CSTRONG%3E0x4039C028%3C%2FSTRONG%3E.%20Bit%20'0'%20says%20if%20HSE%20firmware%20is%20installed%20or%20not.%3C%2FP%3E%0A%3CP%3EProgramming%20of%20the%20HSE%20FW%20feature%20flag%20at%200x1B00_0000%20is%20one-time%20operation.%20It%E2%80%99s%20not%20necessary%20to%20do%20that%20second%20time%20(it%E2%80%99s%20even%20not%20possible).%20Once%20it%20is%20programmed%2C%20the%20device%20is%20unlocked%20for%20HSE%20installation%20forever.%3CBR%20%2F%3EYou%20can%20install%20HSE%20FW%200.2.55.0%2C%20erase%20it%20and%20install%20it%20again%20without%20touching%20the%20feature%20flag%20second%20time.%3C%2FP%3E%0A%3CP%3ECould%20you%20please%20tell%20me%20which%20project%20you%20are%20using%3F%26nbsp%3B%20%E5%A6%82%E6%9E%9C%E6%98%AF...%5Cs32k3_hse_lib_rtd400hf01_20250903%5CHseLib_HseFwInstall_Rtd400%20%E5%B7%A5%E7%A8%8B%E7%9A%84%E8%AF%9D%EF%BC%8C%E5%BA%94%E8%AF%A5%E4%B8%8D%E5%AD%98%E5%9C%A8%E8%BF%99%E4%B8%AA%E9%97%AE%E9%A2%98%E3%80%82%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EBest%20Regards%2C%3CBR%20%2F%3ERobin%3CBR%20%2F%3E-------------------------------------------------------------------------------%3CBR%20%2F%3ENote%3A%3CBR%20%2F%3E-%20If%20this%20post%20answers%20your%20question%2C%20please%20click%20the%20%22ACCEPT%20AS%20SOLUTION%22%20button.%20Thank%20you!%3C%2FP%3E%0A%3CP%3E-%20We%20are%20following%20threads%20for%207%20weeks%20after%20the%20last%20post%2C%20later%20replies%20are%20ignored%3CBR%20%2F%3EPlease%20open%20a%20new%20thread%20and%20refer%20to%20the%20closed%20one%2C%20if%20you%20have%20a%20related%20question%20at%20a%20later%20point%20in%20time.%3CBR%20%2F%3E-------------------------------------------------------------------------------%3C%2FP%3E%3C%2FLINGO-BODY%3E