I am trying to create a test case for in house validation and would like to know how to do so.
Here is what I want to do:
- I want to create a boot loader that checks the signature of the application every time the device boots up.
- I want to combine the SoftDevice, the boot loader, the boot loader settings and the application into a single HEX file
- (IMPORTANT) I want to download this package to the device using a 'SWD debug port' -- not by any generic DFU workflows.
- Then I want to power cycle and reboot the device and ensure that I can FORCE the device to FAIL the boot up validation by using a 'WRONG' key somewhere in the process that leads to the generation of the single HEX file in (2) above.
My SoC is the nRF52832_xxAA, and I am using SDK version 16.0.0, SoftDevice 132 version 7.0.1
Can this be done, and if so, how?
Cheers
RMV