I am currently in the process of getting familiar with the security features of the LPC55S16 Cortex-M33. At the moment I am focussing on Secure Boot.
I have worked through AN12283 and also read through the online documentation about the SPSDK.
I think I managed to get secure boot running and the behavior is as expected: When writing an image that was signed with blhost to the memory, the microcontroller runs normally. As soon as I write an unsigned image with blhost to the memory nothing happens.
My question would now be the following: I am looking for a way to get a "image verification failed" message of something printed to the terminal or to a debugger. I.e. is there a way to debug the boot process/bootloader or an -v (verbose) option for it? I somehow need to verify that what I expect is happening here is indeed really the case.
Of course I cant use a normal debugger like Segger Ozone when secure boot is enabled, so this option won't work.
Any suggestion or hint is appreaciated.
Thanks in advance!
Take security in to consider, there is no method to debug.
BTW, there is a GUI tool for secure boot: