Hi team,
Customer have some issues with mpc5777c secure boot process, so i also followed the doc process:
1.Write the DCF records in Utest to set the secure boot start address and secure boot length.
2.Load the MASTER_ECU_KEY and BOOT_MAC_KEY
3.Power on the board two times and check the CSE register, CSE_SR[BOK] = 1, it's match with the boot process.
4. After that, program the flash with different value means the secure boot content are changed, but after power on board, the CSE_SR[BOK] also set with 1 means the secure boot is also success, but it mismatch with the boot process. I also changed the secure boot with different flash address by DCF record and follow the same secure boot process but the test result is same.
5. It looks like the DCF records don't take effect, and i check the DCF configuration with excel tool and don't find any issues.
I haven't seen such problem yet. Can you see any error in SSCM registers? Does it make a difference if you erase all the keys and start over?
Regards,
Lukas
Hi Lukas,
Thanks for your reply.
I replaced another chip and secure boot process is expected, it need to check what difference between these two chip.
Hi Lukas,
1.First i erased all keys and the CSE registers state are expected:
2. Then loaded MASTER_ECU_KEY and BOOT_MAC_KEY again, then restart board power, CSE BOK bit is asserted.
3.Changed the secure boot address content, but why the BOK bit still asserted?