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.

AM2432: When using USB dfu-util load FW, how to tell whether the AM243x MCU is HS-SE converted or not?

Part Number: AM2432

Tool/software:

Hello TI team, 


We have been leveraging the SoC ID reported on UART console when working on keywriter for the UART boot mode case. But when we move to USB boot mode, this information is not available any more. 

Is there a way that allow us to get the same SoC ID output at USB boot mode similar to UART boot mode case?


Thanks, 
Hong

  • Hello,

    Please refer the below logs for retrieving the SoC ID over USB DFU:

    ❯ dfu-util -a SocId -U socid.bin
    dfu-util 0.11
                                                                                                                                                                                            
    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
    Copyright 2010-2021 Tormod Volden and Stefan Schmidt
    This program is Free Software and has ABSOLUTELY NO WARRANTY
    Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
                                                                                                                                                                                            
    Opening DFU capable USB device...
    Device ID 0451:6165
    Device DFU version 0110
    Claiming USB DFU Interface...
    Setting Alternate Interface #1 ...
    Determining device status...
    DFU state(2) = dfuIDLE, status(0) = No error condition is present
    DFU mode device DFU version 0110
    Device returned transfer size 512
    Copying data from DFU device to PC
    Upload  [=========================] 100%          200 bytes
    Upload done.
    Received a total of 200 bytes
    ❯ xxd -c 1000 -p socid.bin > socid.txt
    ❯ python3 uart_boot_socid.py -d am64x -f socid.txt
    socid.txt
    -----------------------
    SoC ID Header Info:
    -----------------------
    NumBlocks            : 2
    -----------------------
    SoC ID Public ROM Info:
    -----------------------
    SubBlockId           : 1
    SubBlockSize         : 26
    DeviceName           : am64x
    DeviceType           : HSFS
    DMSC ROM Version     : [0, 2, 0, 0]
    R5 ROM Version       : [0, 2, 0, 0]
    -----------------------
    SoC ID Secure ROM Info:
    -----------------------
    Sec SubBlockId       : 2
    Sec SubBlockSize     : 166
    Sec Prime            : 0
    Sec Key Revision     : 0
    Sec Key Count        : 2
    Sec TI MPK Hash      : b018658ad99dc903c8c9bfb27b12751099920a042ad1dfea7b7ba57369f15546de285edde6a7b39a8bdc40a27b237f8fb1e57f245e80b929c1e28b024aa2ecc6
    Sec Cust MPK Hash    : ad0bc40b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    Sec Unique ID        : 00d3ad583d3f6d57081296eee39054dae86e31c717b9049a204d4139e4ad69df

    Regards,

    Prashant