Hello,
I encountered the following issue while testing Secure Boot on the LPC55S69 (revision 1b) following the AN12283 guide:
Everything is working fine until the SB2 file load step (§ 5.6.3). After I executed the `receive-sb-file` command with my generated SB2.1 file and reset the chip, the firmware was not executed. I am able to go back into ISP mode by activating the ISP pin and I can change the CMPA and CFPA configuration pages, erase the flash and flash new images, but none of the flashed images is actually executed after a reset. Even if I erase the flash, the chip only boots into ISP mode if I also activate the ISP pin.
I am positive that the signature keys (ROTKH) are set up properly because flashing a signed image worked. I also think that the SBKEK was setup correctly because the `receive-sb-file` command did not fail.
Do you know what could cause this behavior or how I can further debug it?
Thanks,
Robin
PS: This is the .bd file that I used to generate the SB2.1 image:
options {
flags = 0x8;
buildNumber = 0x1;
productVersion = "1.00.00";
componentVersion = "1.00.00";
secureBinaryVersion = "2.1";
}
sources {
inputFile = extern(0);
}
section (0) {
erase 0x0..0x40000;
load inputFile > 0x0;
}