Tool/software:
Dear TI-Support,
I am currently experiencing an issue with the OTP Keywriter (PSDK RTOS J721S2 08.04. + OTP_KEYWRITER_ADD_ON_j721s2_08_04_00_02):
Using the TI Dummy keys and a certificate without extension OTP data, the OTP Keywriter succeeds:
OTP Keywriter Version: 02.00.00.00 (Nov 21 2024 - 09:45:21) OTP Keywriter ver: 8.4.6-v08.04_keywriter (Jolly J Key programming sequence initialted Taking OTP certificate from 0x41c73004 Debug response: 0x0 Key programming sequence completed
Using the TI Dummy keys and a certificate with extension OTP data, the OTP Keywriter fails with KEYWR_ERR_INTERAL_OP
(debug response 0x20
):
OTP Keywriter Version: 02.00.00.00 (Nov 21 2024 - 09:45:21)
OTP Keywriter ver: 8.4.6-v08.04_keywriter (Jolly J
Key programming sequence initialted
Taking OTP certificate from 0x41c73004
Sciclient_otpProcessKeyCfg returns: -1
Debug response: 0x20
Key programming sequence completed
Certificate generation
With extension OTP data:
./gen_keywr_cert.sh -s keys/smpk.pem --smek keys/smek.key -b keys/bmpk.pem --bmek keys/bmek.key -t ti_fek_public.pem -a keys/aes256.key --ext-otp ext_otp_data.bin --ext-otp-indx 0 --ext-otp-size 1024
ext otp data:
$ xxd ext_otp_data.bin 00000000: 0000 ccdd 0000 0000 0000 0000 0000 0000 ................ 00000010: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 00000020: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 00000030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 00000040: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 00000050: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 00000060: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 00000070: 0000 0000 0000 0000 0000 0000 0000 0000 ................
Without extension OTP data:
./gen_keywr_cert.sh -s keys/smpk.pem --smek keys/smek.key -b keys/bmpk.pem --bmek keys/bmek.key -t ti_fek_public.pem -a keys/aes256.key
Can you tell me what could be the error of the OTP Keywriter process when I am inserting ext_otp to the x509 extension fields?
Best regards,
Andreas