Dear TI,
I refer to below link to generate tiboot3.bin, and flash it to EVM borad, but no any R5 logs output.
And I checked the device state through socid.txt, the device is still HSFS.
And I upload the logs of generate keywriter process. Please help to check.
Thanks.
lutao@ubuntu:/opt/ti/ti/mcu_plus_sdk_am62ax_10_00_00_14/source/security/sbl_keywriter/scripts/cert_gen/am62ax$ sudo ./gen_keywr_cert.sh -t tifek/ti_fek_public.pem --msv 0xC0FFE -b-def --bmek-def -s-def --smek-def --keycnt 2 --keyrev 1[sudo] password for lutao: # Using MSV[19:0]: 0x000C0FFE INFO: Using default BMPK for programming INFO: Using default BMEK for programming INFO: Using default SMPK for programming INFO: Using default SMEK for programming # Using Key Count: 0x00000003 # Using Key Rev: 0x00000001 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 # 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 # encrypt bmpk-pub hash using aes256 key writing RSA key # encrypt bmek (sym key) using aes256 key 1668 secondary_cert.bin 5383 primary_cert.bin 7051 ../../x509cert/final_certificate.bin # SHA512 Hashes of keys are stored in verify_hash.csv for reference.. lutao@ubuntu:/opt/ti/ti/mcu_plus_sdk_am62ax_10_00_00_14/source/security/sbl_keywriter/scripts/cert_gen/am62ax$ cd ../../x509cert/ lutao@ubuntu:/opt/ti/ti/mcu_plus_sdk_am62ax_10_00_00_14/source/security/sbl_keywriter/scripts/x509cert$ ls -l total 8 -rw-r--r-- 1 root root 7051 Nov 25 17:41 final_certificate.bin lutao@ubuntu:/opt/ti/ti/mcu_plus_sdk_am62ax_10_00_00_14/source/security/sbl_keywriter/scripts/x509cert$ sudo python3 ../../../../../tools/bin2c/bin2c.py final_certificate.bin keycert.h KEYCERT Traceback (most recent call last): File "../../../../../tools/bin2c/bin2c.py", line 13, in <module> * Copyright (C) ''' + sys.argv[4] +''' Texas Instruments Incorporated IndexError: list index out of range lutao@ubuntu:/opt/ti/ti/mcu_plus_sdk_am62ax_10_00_00_14/source/security/sbl_keywriter/scripts/x509cert$ sudo python3.7 ../../../../../tools/bin2c/bin2c.py final_certificate.bin keycert.h KEYCERT 2024 lutao@ubuntu:/opt/ti/ti/mcu_plus_sdk_am62ax_10_00_00_14/source/security/sbl_keywriter/scripts/x509cert$ ls -l total 64 -rw-r--r-- 1 root root 7051 Nov 25 17:41 final_certificate.bin -rw-r--r-- 1 root root 54267 Nov 25 17:44 keycert.h lutao@ubuntu:/opt/ti/ti/mcu_plus_sdk_am62ax_10_00_00_14/source/security/sbl_keywriter/scripts/x509cert$ cd ../../am62ax-sk/r5fss0-0_nortos/ti-arm-clang/ lutao@ubuntu:/opt/ti/ti/mcu_plus_sdk_am62ax_10_00_00_14/source/security/sbl_keywriter/am62ax-sk/r5fss0-0_nortos/ti-arm-clang$ sudo make -sj clean PROFILE=debug Cleaning: am62ax:r5fss0-0:nortos:ti-arm-clang sbl_keywriter.debug.out ... lutao@ubuntu:/opt/ti/ti/mcu_plus_sdk_am62ax_10_00_00_14/source/security/sbl_keywriter/am62ax-sk/r5fss0-0_nortos/ti-arm-clang$ sudo make -sj PROFILE=debug Generating SysConfig files ... Running script... Validating... Generating Code (example.syscfg)... Writing /opt/ti/ti/mcu_plus_sdk_am62ax_10_00_00_14/source/security/sbl_keywriter/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/generated/ti_dpl_config.c... Writing /opt/ti/ti/mcu_plus_sdk_am62ax_10_00_00_14/source/security/sbl_keywriter/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/generated/ti_dpl_config.h... Writing /opt/ti/ti/mcu_plus_sdk_am62ax_10_00_00_14/source/security/sbl_keywriter/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/generated/ti_drivers_config.c... Writing /opt/ti/ti/mcu_plus_sdk_am62ax_10_00_00_14/source/security/sbl_keywriter/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/generated/ti_drivers_config.h... Writing /opt/ti/ti/mcu_plus_sdk_am62ax_10_00_00_14/source/security/sbl_keywriter/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/generated/ti_drivers_open_close.c... Writing /opt/ti/ti/mcu_plus_sdk_am62ax_10_00_00_14/source/security/sbl_keywriter/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/generated/ti_drivers_open_close.h... Writing /opt/ti/ti/mcu_plus_sdk_am62ax_10_00_00_14/source/security/sbl_keywriter/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/generated/ti_pinmux_config.c... Writing /opt/ti/ti/mcu_plus_sdk_am62ax_10_00_00_14/source/security/sbl_keywriter/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/generated/ti_power_clock_config.c... Writing /opt/ti/ti/mcu_plus_sdk_am62ax_10_00_00_14/source/security/sbl_keywriter/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/generated/ti_board_config.c... Writing /opt/ti/ti/mcu_plus_sdk_am62ax_10_00_00_14/source/security/sbl_keywriter/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/generated/ti_board_config.h... Writing /opt/ti/ti/mcu_plus_sdk_am62ax_10_00_00_14/source/security/sbl_keywriter/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/generated/ti_board_open_close.c... Writing /opt/ti/ti/mcu_plus_sdk_am62ax_10_00_00_14/source/security/sbl_keywriter/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/generated/ti_board_open_close.h... Compiling: am62ax:r5fss0-0:nortos:ti-arm-clang sbl_keywriter.debug.out: ../main.c Compiling: am62ax:r5fss0-0:nortos:ti-arm-clang sbl_keywriter.debug.out: ../keywriter_utils.c Compiling: am62ax:r5fss0-0:nortos:ti-arm-clang sbl_keywriter.debug.out: ../board.c Compiling: am62ax:r5fss0-0:nortos:ti-arm-clang sbl_keywriter.debug.out: generated/ti_drivers_config.c Compiling: am62ax:r5fss0-0:nortos:ti-arm-clang sbl_keywriter.debug.out: generated/ti_drivers_open_close.c Compiling: am62ax:r5fss0-0:nortos:ti-arm-clang sbl_keywriter.debug.out: generated/ti_board_config.c Compiling: am62ax:r5fss0-0:nortos:ti-arm-clang sbl_keywriter.debug.out: generated/ti_board_open_close.c Compiling: am62ax:r5fss0-0:nortos:ti-arm-clang sbl_keywriter.debug.out: generated/ti_dpl_config.c Compiling: am62ax:r5fss0-0:nortos:ti-arm-clang sbl_keywriter.debug.out: generated/ti_pinmux_config.c Compiling: am62ax:r5fss0-0:nortos:ti-arm-clang sbl_keywriter.debug.out: generated/ti_power_clock_config.c . Linking: am62ax:r5fss0-0:nortos:ti-arm-clang sbl_keywriter.debug.out ... Linking: am62ax:r5fss0-0:nortos:ti-arm-clang sbl_keywriter.debug.out Done !!! . Boot image: am62ax:r5fss0-0:nortos:ti-arm-clang /opt/ti/ti/mcu_plus_sdk_am62ax_10_00_00_14/source/security/sbl_keywriter/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/sbl_keywriter.debug.tiimage ... Boot image: am62ax:r5fss0-0:nortos:ti-arm-clang /opt/ti/ti/mcu_plus_sdk_am62ax_10_00_00_14/source/security/sbl_keywriter/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/sbl_keywriter.debug.tiimage Done !!! . lutao@ubuntu:/opt/ti/ti/mcu_plus_sdk_am62ax_10_00_00_14/source/security/sbl_keywriter/am62ax-sk/r5fss0-0_nortos/ti-arm-clang$ ls -l total 1876 -rw-rw-r-- 1 root root 4466 Jul 29 2023 example.projectspec drwxr-xr-x 2 root root 4096 Nov 25 17:44 generated -rw-rw-r-- 1 root root 2234 Jul 29 2023 linker.cmd -rw-rw-r-- 1 root root 8116 Jul 29 2023 makefile -rw-rw-r-- 1 root root 2646 Jul 29 2023 makefile_ccs_bootimage_gen -rw-rw-r-- 1 root root 807 Jul 29 2023 makefile_projectspec drwxr-xr-x 3 root root 4096 Nov 25 17:44 obj -rw-r--r-- 1 root root 121088 Nov 25 17:44 sbl_keywriter.debug.bin -rw-r--r-- 1 root root 233750 Nov 25 17:44 sbl_keywriter.debug.map -rw-r--r-- 1 root root 942188 Nov 25 17:44 sbl_keywriter.debug.out -rw-r--r-- 1 root root 283284 Nov 25 17:44 sbl_keywriter.debug.tiimage -rw-rw-r-- 1 root root 198 Jul 29 2023 syscfg_c.rov.xs -rw-r--r-- 1 root root 283284 Nov 25 17:44 tiboot3.bin lutao@ubuntu:/opt/ti/ti/mcu_plus_sdk_am62ax_10_00_00_14/source/security/sbl_keywriter/am62ax-sk/r5fss0-0_nortos/ti-arm-clang$