请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:AM2432 工具与软件:
您好、TI 团队:
在为 UART 引导模式用例使用 Keywriter 时、我们一直在利用 UART 控制台上报告的 SoC ID。 但当我们进入 USB 引导模式时、该信息将不再可用。
是否有办法允许我们在 USB 引导模式下获得与 UART 引导模式情况类似的相同 SoC ID 输出?
谢谢!
Hong
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.
工具与软件:
您好、TI 团队:
在为 UART 引导模式用例使用 Keywriter 时、我们一直在利用 UART 控制台上报告的 SoC ID。 但当我们进入 USB 引导模式时、该信息将不再可用。
是否有办法允许我们在 USB 引导模式下获得与 UART 引导模式情况类似的相同 SoC ID 输出?
谢谢!
Hong
您好!
请参阅以下日志、了解如何通过 USB DFU 检索 SoC ID:
❯ 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 sourceforge.net/.../
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
此致、
Prashant