HSE FW installation steps

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

HSE FW installation steps

跳至解决方案
200 次查看
anilsp31PA
Contributor III

Hi,

As per steps mentioned in the Demo Application as well as i AN13465, can I use following simple steps to program the HSE FW?

1. Write “HSE FW feature flag” in the UTEST area with 0xAABBCCDDDDCCBBAA.

2. Program the encrypted image of HSE FW at start location of code flash area i.e. 0x00400000.

3. Give a reset by Power cycle of the board.

So will the above steps install the HSE-FW for the first time? Or is anything more needed?

 

Thanks,

Anil

标记 (2)
0 项奖励
回复
1 解答
181 次查看
VaneB
NXP TechSupport
NXP TechSupport

Hi @anilsp31PA 

HSE Firmware can be installed using one of the following 3 methods:

  • Installation via IVT
  • Programming an encrypted FW‑IMG at the default location IVT_START
  • Programming an encrypted FW‑IMG using the MU interface

Installation via IVT is required to perform the following steps:

  • Enable the HSE feature flag by programming an 8‑byte value not consisting entirely of 0xFF into the UTEST address 0x1B000000
  • Set the HSE firmware storage address in the IVT (refer to Section 32.5.3 of the S32K3xx Reference Manual, Rev. 12)
  • Program the HSE firmware into P‑Flash
  • Reset the MCU

For detailed guidance, please refer to the dedicated HSE firmware installation example provided as part of the S32K3 MCUs for General Purpose HSE Demo Examples.

As a simplified alternative, the firmware can be installed by programming the encrypted FW‑IMG at IVT_START. The following steps are required:

  • Enable the HSE feature flag, as described above
  • Program the .pink file at the start address 0x00400000
  • Reset the MCU

With this method, there must be no valid IVT present at the default location IVT_START. More details about this condition are discussed in the following thread:

S32K312 HSE without IVT Install Not Successful

 

BR, VaneB

在原帖中查看解决方案

0 项奖励
回复
2 回复数
182 次查看
VaneB
NXP TechSupport
NXP TechSupport

Hi @anilsp31PA 

HSE Firmware can be installed using one of the following 3 methods:

  • Installation via IVT
  • Programming an encrypted FW‑IMG at the default location IVT_START
  • Programming an encrypted FW‑IMG using the MU interface

Installation via IVT is required to perform the following steps:

  • Enable the HSE feature flag by programming an 8‑byte value not consisting entirely of 0xFF into the UTEST address 0x1B000000
  • Set the HSE firmware storage address in the IVT (refer to Section 32.5.3 of the S32K3xx Reference Manual, Rev. 12)
  • Program the HSE firmware into P‑Flash
  • Reset the MCU

For detailed guidance, please refer to the dedicated HSE firmware installation example provided as part of the S32K3 MCUs for General Purpose HSE Demo Examples.

As a simplified alternative, the firmware can be installed by programming the encrypted FW‑IMG at IVT_START. The following steps are required:

  • Enable the HSE feature flag, as described above
  • Program the .pink file at the start address 0x00400000
  • Reset the MCU

With this method, there must be no valid IVT present at the default location IVT_START. More details about this condition are discussed in the following thread:

S32K312 HSE without IVT Install Not Successful

 

BR, VaneB

0 项奖励
回复
164 次查看
anilsp31PA
Contributor III

It worked.

Thanks for your support.

 

Anil

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2358684%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHSE%20FW%20%E5%AE%89%E8%A3%85%E6%AD%A5%E9%AA%A4%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2358684%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%82%A8%E5%A5%BD%EF%BC%8C%3C%2FP%3E%3CP%3E%E6%A0%B9%E6%8D%AE%E6%BC%94%E7%A4%BA%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E5%92%8C%20i%20AN13465%20%E4%B8%AD%E6%8F%90%E5%88%B0%E7%9A%84%E6%AD%A5%E9%AA%A4%EF%BC%8C%E6%88%91%E6%98%AF%E5%90%A6%E5%8F%AF%E4%BB%A5%E4%BD%BF%E7%94%A8%E4%BB%A5%E4%B8%8B%E7%AE%80%E5%8D%95%E6%AD%A5%E9%AA%A4%E5%AF%B9%20HSE%20FW%20%E8%BF%9B%E8%A1%8C%E7%BC%96%E7%A8%8B%EF%BC%9F%3C%2FP%3E%3CP%3E1.%E5%9C%A8UTEST%20%E5%8C%BA%E5%9F%9F%E5%86%99%E5%85%A5%20%22HSE%20FW%20%E5%8A%9F%E8%83%BD%E6%A0%87%E5%BF%97%20%220xAABBCCDDDDCCBBAA%E3%80%82%3C%2FP%3E%3CP%3E2.%E5%B0%86%20HSE%20FW%20%E7%9A%84%E5%8A%A0%E5%AF%86%E6%98%A0%E5%83%8F%E7%BC%96%E7%A8%8B%E5%88%B0%E4%BB%A3%E7%A0%81%E9%97%AA%E5%AD%98%E5%8C%BA%E7%9A%84%E8%B5%B7%E5%A7%8B%E4%BD%8D%E7%BD%AE%EF%BC%8C%E5%8D%B3%200x00400000%E3%80%82%3C%2FP%3E%3CP%3E3.%E9%80%9A%E8%BF%87%E7%94%B5%E8%B7%AF%E6%9D%BF%E7%9A%84%E7%94%B5%E6%BA%90%E5%BE%AA%E7%8E%AF%E8%BF%9B%E8%A1%8C%E9%87%8D%E7%BD%AE%E3%80%82%3C%2FP%3E%3CP%3E%E9%82%A3%E4%B9%88%EF%BC%8C%E4%B8%8A%E8%BF%B0%E6%AD%A5%E9%AA%A4%E8%83%BD%E5%90%A6%E9%A6%96%E6%AC%A1%E5%AE%89%E8%A3%85%20HSE-FW%EF%BC%9F%E6%88%96%E8%80%85%E8%BF%98%E9%9C%80%E8%A6%81%E4%BB%80%E4%B9%88%EF%BC%9F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E8%B0%A2%E8%B0%A2%EF%BC%81%3C%2FP%3E%3CP%3E%E9%98%BF%E5%B0%BC%E5%B0%94%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2358814%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20HSE%20FW%20installation%20steps%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2358814%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F229232%22%20target%3D%22_blank%22%3E%40anilsp31PA%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EHSE%20%E5%9B%BA%E4%BB%B6%E5%8F%AF%E4%BD%BF%E7%94%A8%E4%BB%A5%E4%B8%8B%203%20%E7%A7%8D%E6%96%B9%E6%B3%95%E4%B9%8B%E4%B8%80%E8%BF%9B%E8%A1%8C%E5%AE%89%E8%A3%85%EF%BC%9A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%E9%80%9A%E8%BF%87%20IVT%20%E5%AE%89%E8%A3%85%3C%2FLI%3E%0A%3CLI%3E%E5%9C%A8%E9%BB%98%E8%AE%A4%E4%BD%8D%E7%BD%AE%20IVT_START%20%E5%AF%B9%E5%8A%A0%E5%AF%86%20FW-IMG%20%E8%BF%9B%E8%A1%8C%E7%BC%96%E7%A8%8B%3C%2FLI%3E%0A%3CLI%3E%E4%BD%BF%E7%94%A8%20MU%20%E6%8E%A5%E5%8F%A3%E5%AF%B9%E5%8A%A0%E5%AF%86%20FW-IMG%20%E8%BF%9B%E8%A1%8C%E7%BC%96%E7%A8%8B%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%E8%A6%81%E6%89%A7%E8%A1%8C%E4%BB%A5%E4%B8%8B%E6%AD%A5%E9%AA%A4%EF%BC%8C%E9%9C%80%E8%A6%81%E9%80%9A%E8%BF%87%20IVT%20%E8%BF%9B%E8%A1%8C%E5%AE%89%E8%A3%85%EF%BC%9A%3C%2FP%3E%0A%3CUL%20class%3D%22lia-list-style-type-circle%22%3E%0A%3CLI%3E%E5%9C%A8UTEST%20%E5%9C%B0%E5%9D%80%200x1B000000%20%E4%B8%AD%E8%BE%93%E5%85%A5%E4%B8%80%E4%B8%AA%E4%B8%8D%E5%AE%8C%E5%85%A8%E7%94%B1%200xFF%20%E6%9E%84%E6%88%90%E7%9A%84%208%20%E5%AD%97%E8%8A%82%E5%80%BC%EF%BC%8C%E5%90%AF%E7%94%A8%20HSE%20%E5%8A%9F%E8%83%BD%E6%A0%87%E5%BF%97%3C%2FLI%3E%0A%3CLI%3E%E5%9C%A8%20IVT%20%E4%B8%AD%E8%AE%BE%E7%BD%AE%20HSE%20%E5%9B%BA%E4%BB%B6%E5%AD%98%E5%82%A8%E5%9C%B0%E5%9D%80%EF%BC%88%E5%8F%82%E8%A7%81%20S32K3xx%20%E5%8F%82%E8%80%83%E6%89%8B%E5%86%8C%E7%AC%AC%2012%20%E4%BF%AE%E8%AE%A2%E7%89%88%E7%AC%AC%2032.5.3%20%E8%8A%82%EF%BC%89%3C%2FLI%3E%0A%3CLI%3E%E5%B0%86%20HSE%20%E5%9B%BA%E4%BB%B6%E7%BC%96%E5%85%A5%20P-Flash%3C%2FLI%3E%0A%3CLI%3E%E9%87%8D%E7%BD%AEMCU%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%E6%9C%89%E5%85%B3%E8%AF%A6%E7%BB%86%E6%8C%87%E5%AF%BC%EF%BC%8C%E8%AF%B7%E5%8F%82%E9%98%85%E4%BD%9C%E4%B8%BA%20%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fwebapp%2FDownload%3FcolCode%3DS32K3_HSE_DemoExamples%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3ES32K3%20MCU%20%E9%80%9A%E7%94%A8%E5%9E%8B%20HSE%20%E6%BC%94%E7%A4%BA%E7%A4%BA%E4%BE%8B%E7%9A%84%E4%B8%80%E9%83%A8%E5%88%86%E6%8F%90%E4%BE%9B%E7%9A%84%E4%B8%93%E7%94%A8%20HSE%20%E5%9B%BA%E4%BB%B6%E5%AE%89%E8%A3%85%E7%A4%BA%E4%BE%8B%3C%2FA%3E%E3%80%82%3C%2FP%3E%0A%3CP%3E%E4%BD%9C%E4%B8%BA%E4%B8%80%E7%A7%8D%E7%AE%80%E5%8C%96%E7%9A%84%E6%9B%BF%E4%BB%A3%E6%96%B9%E6%B3%95%EF%BC%8C%E5%9B%BA%E4%BB%B6%E5%8F%AF%E4%BB%A5%E9%80%9A%E8%BF%87%E5%9C%A8%20IVT_START%20%E5%AF%B9%E5%8A%A0%E5%AF%86%E7%9A%84%20FW-IMG%20%E8%BF%9B%E8%A1%8C%E7%BC%96%E7%A8%8B%E6%9D%A5%E5%AE%89%E8%A3%85%E3%80%82%E9%9C%80%E8%A6%81%E9%87%87%E5%8F%96%E4%BB%A5%E4%B8%8B%E6%AD%A5%E9%AA%A4%EF%BC%9A%3C%2FP%3E%0A%3CUL%20class%3D%22lia-list-style-type-circle%22%3E%0A%3CLI%3E%E5%A6%82%E4%B8%8A%E6%89%80%E8%BF%B0%EF%BC%8C%E5%90%AF%E7%94%A8%20HSE%20%E5%8A%9F%E8%83%BD%E6%A0%87%E5%BF%97%3C%2FLI%3E%0A%3CLI%3E%E7%BC%96%E7%A8%8B.pink%E6%96%87%E4%BB%B6%E7%9A%84%E8%B5%B7%E5%A7%8B%E5%9C%B0%E5%9D%80%E4%B8%BA%200x00400000%3C%2FLI%3E%0A%3CLI%3E%E9%87%8D%E7%BD%AEMCU%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%E4%BD%BF%E7%94%A8%E8%AF%A5%E6%96%B9%E6%B3%95%E6%97%B6%EF%BC%8C%E9%BB%98%E8%AE%A4%E4%BD%8D%E7%BD%AE%20IVT_START%20%E5%BF%85%E9%A1%BB%E6%B2%A1%E6%9C%89%E6%9C%89%E6%95%88%E7%9A%84%20IVT%E3%80%82%E6%9C%89%E5%85%B3%E8%BF%99%E7%A7%8D%E6%83%85%E5%86%B5%E7%9A%84%E6%9B%B4%E5%A4%9A%E8%AF%A6%E6%83%85%EF%BC%8C%E8%AF%B7%E5%8F%82%E9%98%85%E4%B8%8B%E9%9D%A2%E7%9A%84%E4%B8%BB%E9%A2%98%EF%BC%9A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FS32K312-HSE-without-IVT-Install-Not-Successful%2Ftd-p%2F2096756%22%20target%3D%22_blank%22%3ES32K312%20HSE%20%E6%97%A0%20IVT%20%E5%AE%89%E8%A3%85%E4%B8%8D%E6%88%90%E5%8A%9F%3C%2FA%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBR%E3%80%81VaneB%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2359311%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20HSE%20FW%20installation%20steps%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2359311%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%88%90%E5%8A%9F%E4%BA%86%3C%2FP%3E%3CP%3E%E6%84%9F%E8%B0%A2%E4%BD%A0%E7%9A%84%E6%94%AF%E6%8C%81%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E9%98%BF%E5%B0%BC%E5%B0%94%3C%2FP%3E%3C%2FLINGO-BODY%3E