Other Parts Discussed in Thread: AM6422
Hi team,
How to enable the OTP keywriter app running on the HS-SE device?
Generally, for OTP keywriter, it will run on non-SE device. It will use the rom_degenerateKey.pem to generate final image.
When using the BMPK as a backup option, with this scenario, I think it needs to run keywriter again on the security device to choose the BMPK key sets, right?
I just tried to rebuild the OTP keywriter tool by replacing the original key rom_degenerateKey.pem with correct customer key. But it failed to load this new app, no any output on the UART console after loading by xmodem protocol.
And here are some building logs for your ref as below:
~/ti/mcu_plus_sdk_am64x_08_06_00_43/source/security/tifs/sbl_keywriter/am64x-evm/r5fss0-0_nortos/ti-arm-clang ~/ti/mcu_plus_sdk_am64x_08_06_00_43/source/security/tifs/sbl_keywriter/am64x-evm/r5fss0-0_nortos/ti-arm-clang
Debug Extension is Enabled :
SoC UID not specified for Debug Extension. Using UID 0
UID = 0000000000000000000000000000000000000000000000000000000000000000
DBG_TYPE = 4
R5 Certificate being generated :
X509_CFG = ./x509-temp.cfg
KEY = /home/lubancat/work/baoSight/T3/bsp/board-support/core-secdev-k3/keys/custMpk.pem
BIN = /home/lubancat/ti/mcu_plus_sdk_am64x_08_06_00_43/source/security/tifs/sbl_keywriter/am64x-evm/r5fss0-0_nortos/ti-arm-clang/sbl_keywriter.release.bin
CERT TYPE = R5, 1
CORE ID = 16
LOADADDR = 0x70000000
IMAGE_SIZE = 258560
BOOT_OPTIONS = 2
SUCCESS: Image /home/lubancat/ti/mcu_plus_sdk_am64x_08_06_00_43/source/security/tifs/sbl_keywriter/am64x-evm/r5fss0-0_nortos/ti-arm-clang/sbl_keywriter.release.tiimage generated. Good to boot