This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM2634-Q1: booting fail on some device after OTP Key writing(Secure Enable)

Part Number: AM2634-Q1

Dear Champs,

My customer found there are booting faill occurred with wrong device id as below after OTP Key writing(Secure Enable). There was no issue in OTP Key Writing.

After this, they fail to load Boot Loader and flashing SW at all.

They found 3 failure devices among total 22 samples.

Could you please provide your recommendation how they can debug it further?


failure device :

000002030201000000010100CC

Normal device :

000002030201000000010100414d323633580000000000000600cdab000101000100000001000000010000000100000001000000ec54cc16cd1ffccab7fd81fd82c998b305c6ac0c12cccf21a610fc1ad7159b1ad20acd69adabf72f1eed15021e26766d2f212d135b6bebf5e5e76c06ac87a6e4abb5673f78a180b6b2221e7b6916e7266fb6f19ed49a4ad83722ad98f4fcaa89fec8966cc79a3fadf3be4998c3856de023bf5cc04e83fe6c5ecce8b2def91d8323a6d913b968206c7940f2aed6b70e308c6a747c104f3b9757426714a92f08c8710a698045eade9114c1ce56ae8ea1cf0f5f0ccd92f38a37bce59590e7521936

Thanks and Best Regards,

SI.

  • corrected device ID as below:

    Failure device :

    000002030201000000010100CC

    Normal device :

    000002030201000000010100414d323633580000000000000600cdab000101000100000001000000010000000100000001000000ec54cc16cd1ffccab7fd81fd82c998b305c6ac0c12cccf21a610fc1ad7159b1ad20acd69adabf72f1eed15021e26766d2f212d135b6bebf5e5e76c06ac87a6e4abb5673f78a180b6b2221e7b6916e7266fb6f19ed49a4ad83722ad98f4fcaa89fec8966cc79a3fadf3be4998c3856de023bf5cc04e83fe6c5ecce8b2def91d8323a6d913b968206c7940f2aed6b70e308c6a747c104f3b9757426714a92f08c8710a698045eade9114c1ce56ae8ea1cf0f5f0ccd92f38a37bce59590e7521936

    Thanks and Best Regards,

    SI

  • Hi ,

    Is the customer using SR1A or SR1.1 device ?

    Best Regards,
    Aakash

  • Hi Aakash,

    Here is the parsing result of device id.

    <normal device>

    \mcu_plus_sdk_am263x_08_05_00_24\source\security\tifs\sbl_keywriter\tools\socid_parser>python mcup_uart_boot_socid.py result.txt

    ---------------------------

    SoC ID HW Info:

    ---------------------------

    partID               : 0x0

    partNumber           : 0x2

    PGVer                : 0x3

    ROMVer               : 0x2

    MetalVer             : 0x1

    ---------------------------

    SoC ID R5 ROM Info:

    ---------------------------

    r5 ROM Ver           : 0x10100

    ---------------------------

    SoC ID HSM Pub ROM Info:

    ---------------------------

    devName              : AM263X

    devType              : 0xabcd0006  -->  HS_SE

    hsm ROM Ver          : 0x10100

    ---------------------------

    SoC ID HSM Sec ROM Info:

    ---------------------------

    Prime                : 0x1

    Key Count            : 0x1

    Key Rev              : 0x1

    SWRV SBL             : 0x1

    SWRV HSM             : 0x1

    TI MPK Hash          : ec54cc16cd1ffccab7fd81fd82c998b305c6ac0c12cccf21a610fc1ad7159b1ad20acd69adabf72f1eed15021e26766d2f212d135b6bebf5e5e76c06ac87a6e4

    Cust MPK Hash        : abb5673f78a180b6b2221e7b6916e7266fb6f19ed49a4ad83722ad98f4fcaa89fec8966cc79a3fadf3be4998c3856de023bf5cc04e83fe6c5ecce8b2def91d83

    Unique ID            : 23a6d913b968206c7940f2aed6b70e308c6a747c104f3b9757426714a92f08c8710a698045eade9114c1ce56ae8ea1cf0f5f0ccd92f38a37bce59590e7521936

     

    But, for issued samples, they failed to parse it as below due to short message from UART.

    \\mcu_plus_sdk_am263x_08_05_00_24\source\security\tifs\sbl_keywriter\tools\socid_parser>python mcup_uart_boot_socid.py results2.txt.txt

    Traceback (most recent call last):

    "\\mcu_plus_sdk_am263x_08_05_00_24\source\security\tifs\sbl_keywriter\tools\socid_parser\mcup_uart_boot_socid.py", line 38, in <module>

        hsmPubInfo = struct.unpack(hsmPubInfoStr, bin_str[12:32])

    struct.error: unpack requires a buffer of 20 bytes

    Thanks and Best Regards,

    SI.

  • Hi SI,

    Is this a custom board or TI-EVM ? If its a custom board, can you share the schematics ? You can send it over email (if its covered under the NDA).

    Best Regards,
    Aakash

  • Hi Aakash,

    This is custom board. I'll send HW schematic via email.

    Thanks and Best Regards,

    SI.