Hi,
trying to set up secure boot on a LPC55S28 custom board. Following along the prince example from the SDK. Only using prince region 0. boot type is Encrypted (Prince) and signed
When i get to this part of the example:
status = FFR_KeystoreGetKC(&g_iap.config, &keyCode[0], kFFR_KeyTypePrinceRegion0);
status = PUF_GetHwKey(PUF, keyCode, sizeof(keyCode), kPUF_KeySlot2, rand());
The FFR_KeystoreGetKC return key and status okay but PUF_GetHwKey always fails. What am I missing? Something more in the secure provisioning tool for CMPA/CFPA I need to set up?
Hello @tobias91
If you want to use the Secure boot + PRINCE function, I highly recommend that you use MCUXpresso Secure Provisioning too. Refer to "6.4.3.3 Booting signed or PRINCE encrypted image" in <MCUXpresso Secure Provisioning Tool User Guide>.
BR
Alice
Hello @tobias91
It seems the same issue with your private ticket. I have reply you on that, please check it. Thanks.
BR
Alice