Hi,
I have reviewed document AN12681 and did not find a proper way to securely update the application in flash via USB (second state bootloader) using HAB. How can I prepare the second state bootloader to comply with HAB and flash the application with a CSF file?
I am using the NXP sample project "flashloader" as a second-stage bootloader, and I want to implement HAB secure boot. However, I'm not sure how to do it, and I feel like I might be missing something. From what I understand, HAB is designed for the entire application (bootloader + app), and I'm not sure how to properly implement HAB when I want to change the app only (In that case, the CSF will be modified, and it might be located at a different memory location if the application size increases). However, the address of the CSF file is located in the IVT (Image Vector Table) of the second state bootloader and that part is unchanged.
I don't understand how to integrate all of this while still adhering to HAB.
Thank you in advance.
Thank you.