I am attempting to convert my AM263P CC to HS-SE mode and I am at the stage where I am running the keywriter application.
When I run this command - "python gen_keywr_cert.py -t tifek/am263px/SR_10/ti_fek_public.pem --msv 0x1E22D --msv-protect -b keys_devel/bmpk.pem --bmek keys_devel/bmek.key -b-protect --bmek-protect -s keys_devel/smpk.pem --smek keys_devel/smek.key -s-protect --smek-protect --sr-sbl 1 --sr-hsmRT 1 --sr-app 1 --keycnt 2 --keycnt-protect --keyrev 1 -d am263px --devSrVer SR_10"
(with the paths to my keys) it is returning this error while generating the artifacts:
Generating Dual signed certificate!!
GEN: AES256 key generated, since not provided
# encrypt aes256 key with tifek public part
# encrypt SMPK-priv signed aes256 key(hash) with tifek public part
tmpdir\smpk_sign_aes256.sign
WARNING: File need not/cannot be trucated.
# encrypt smpk-pub hash using aes256 key
writing RSA key
# encrypt smek (sym key) using aes256 key
# encrypt BMPK-priv signed aes256 key(hash) with tifek public part
tmpdir\bmpk_sign_aes256.sign
WARNING: File need not/cannot be trucated.
# encrypt bmpk-pub hash using aes256 key
writing RSA key
# encrypt bmek (sym key) using aes256 key
1733 secondary_cert.bin
5440 primary_cert.bin
7173 ..\x509cert\final_certificate.bin
# SHA512 Hashes of keys are stored in verify_hash.csv for reference.
In addition to this the pimary_cert.bin and secondary_cert.bin files seem to be a few lines shorter the files that are generated when no error is thrown (comparing to a coworkers output files).
When I try to continue on and flash the keywriter application to my board and boot no output is produced.
I am running MCU SDK 11_00_00_19 and otp keywriter version 10_11_00_00_02 and openSSL 3.5.3