I am reading through an745220-S32K3 HSE Traning - Oct2022(2.0), section on HSE FW Update Procedure for Full Memory.
I am a little confused, it seems the purpose of this is to update the HSE FW itself and not to update the Application code.
I would have expected the HSE FW to be fixed at the factory and used to authenticate an OTA of an application download.
How do you update the application Code and how do you authenticate it? Can the download be encrypted and use the HSE to decrypt it?
解決済! 解決策の投稿を見る。
A1.
Please read the Table 37. Key catalogs of RM758225-RM00286 HSE-B Firmware Reference Manual - V2.5(2.5).pdf.
The HSE firmware stored in secure HSE memory area(HSE Code Flash).
Please read the chapter 3.2.4 Flash Memory Layout (FULL_MEM) during Firmware Installation and 3.5.5 Flash Memory Layout for S32K344, S32K314 and S32K324 devices of RM758225-RM00286 HSE-B Firmware Reference Manual - V2.5(2.5).pdf.
A2. The HSE can be updated in the field but not uninstalled. You don't need to update HSE FW on each download of the application.
Please read the chapter 11 HSE Firmware Update of RM758225-RM00286 HSE-B Firmware Reference Manual - V2.5(2.5).pdf.
Sorry, I am not familiar with this. HSE related issues are not suitable for discussion in the public community. It is recommended to submit Support Tickets at https://www.nxp.com/support/support:SUPPORTHOME?tid=sbmenu. My colleagues will help you.
Hi
Yes. This is to update the HSE FW itself and not to update the Application code.
Regarding OTA, it is recommended to refer to the previous discussion: Dual-application bootloader with A/B swap OTA update - S32K3XX
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.
-------------------------------------------------------------------------------
Thanks for that response. That clears up one issue.
In my project I have a bootloader and an application. The bootloader is loaded once and never updated in the field. Typically, I would use the bootloader to download and write to flash a new application image. I typically use a basic means of CRC check to validate the new image.
Reading about the HSE it seems it can be used to do a more secure update of the application. From your email and the documentation, I now understand the HSE FW must first be loaded.
This is my understanding of the process at a high level, assuming I am using the full memory approach, not A/B Swap.
Thanks for the help. Please correct anything I said that is not correct. and if you can provide a better explanation of the process that would be great.
A1.
Please read the Table 37. Key catalogs of RM758225-RM00286 HSE-B Firmware Reference Manual - V2.5(2.5).pdf.
The HSE firmware stored in secure HSE memory area(HSE Code Flash).
Please read the chapter 3.2.4 Flash Memory Layout (FULL_MEM) during Firmware Installation and 3.5.5 Flash Memory Layout for S32K344, S32K314 and S32K324 devices of RM758225-RM00286 HSE-B Firmware Reference Manual - V2.5(2.5).pdf.
A2. The HSE can be updated in the field but not uninstalled. You don't need to update HSE FW on each download of the application.
Please read the chapter 11 HSE Firmware Update of RM758225-RM00286 HSE-B Firmware Reference Manual - V2.5(2.5).pdf.
Sorry, I am not familiar with this. HSE related issues are not suitable for discussion in the public community. It is recommended to submit Support Tickets at https://www.nxp.com/support/support:SUPPORTHOME?tid=sbmenu. My colleagues will help you.