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.

[参考译文] J721S2XSOMXEVM:当电路板配置为 USB 引导模式时、DFU utils - l 无法识别器件

Guru**** 2550920 points
Other Parts Discussed in Thread: J721S2XSOMXEVM

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1237391/j721s2xsomxevm-when-the-board-is-configured-as-usb-bootmode-dfu-utils---l-cannot-recognize-the-device

器件型号:J721S2XSOMXEVM

您好!

当 EVM 电路板配置为 USB 引导模式时、使用 USB 插入电路板上的 Type-C (J5)端口。 当此电路板加电时、Win10 PC 设备管理器没有响应。 在终端上使用 DFU utils - l 命令时、无法识别 DFU 器件。  是否是因为  SCH.pdf 中的 PROC118E2 (001)_ U13B DNI?

请参阅以下文档、j721s2 EVM 支持 DFU。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Nancy  

    您是否在 EVM 上测试此特性?

    确保正确配置 DFU 模式、 如下所示。  

    参考资料: www.ti.com/.../spracy5.pdf

    我在 Ubuntu 设置上进行了测试、它可以正常工作  

    sudo dfu-util -l

    找到 DFU:[0451:6168] ver=0200、devnum=27、cfg=1、intf=0、path="1-5.3"、 alt=1、name="SockId"、serial="01.00.00.00.00.00.00.0"
    找到 DFU:[0451:6168] ver=0200、devnum=27、cfg=1、intf=0、path="1-5.3"、 alt=0、name="bootloader"、serial="01.00.00.00

    此致
    迪瓦卡尔

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    是的、他在 EVM 和样片板上都进行了测试。 DFU 功能可在其采样板上实现。

    它是否与电路板的版本有关? 您正在使用哪个版本?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    客户已确认 DFU 模式配置正确。 他在  PCB#:PROC118E2上进行测试,是因为版本问题?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Nancy  

    它是否与电路板的版本有关? 您正在使用哪个版本?

    [/报价]

    我使用的是  PROC079E3。

    在哪个版本的电路板上它的故障?

    此致
    迪瓦卡尔

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    在哪个版本的主板中它出现故障?

    是 E2。

    E2/E3上的 U13B 设计不同。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Nancy  

    我最终没有 E2、让硬件工程师循环对此进行评论。

    此致
    迪瓦卡尔

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Nancy、

    您是否在 EVM 中以设备模式设置了 USB 以便被识别?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    客户已确认 DFU 模式配置正确。 他在  PCB#:PROC118E2上进行测试,是因为版本问题?

    [/报价]

    图中显示了引导模式。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    USB 模式看起来设置不正确。   我认为应针对 USB 引导设置为 UFP。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Robert:

    他们可以确认是否为其配置了以下模式:

    在样板上、可以识别 DFU 器件、但下载引导加载程序后、不存在 DFU 器件。 操作和日志如下:  

    谢谢。此致、

    切里

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Cherry  

    在样片板上,t

    你的意思是什么,一个试样板他们 也有其他的试样吗?

    它们是否能够 使用相同映像引导其他示例?

    他们使用的是哪种 SDK?

    此致
    迪瓦卡尔

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的  Diwakar:

    您的意思是什么样片板他们 也有其他样片吗?

    它们具有两种类型的板。 一个是我们的 EVM J721S2XSOMXEVM、在将其配置为 DFU 模式引导后、USB 不会做出反应。

    另一个是他们的示例板、在将其配置为 DFU 模式并引导后、它将显示"下载引导加载程序后、DFU 器件消失了。"

    谢谢。此致、

    切里  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Cherry  

    另一个是他们的示例板、在将其配置为 DFU 模式并引导后、它将显示"下载引导加载程序后、DFU 器件消失了。"

    [/报价]

    感谢您提供有关 Hercules MCU 的  

    您对此使用的是哪种 SDK?

    此致
    迪瓦卡尔

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的  Diwakar:

    您使用哪款 SDK?

    TI-processor-sdk-linux-j721s2-evm-08_06_00_10现已使用、他们还尝试使用 ti-processor-sdk-linux-j721s2-evm-08_05_00_08、但仍然失败。

    谢谢。此致、

    切里

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Cherry  

    我在 EVM 上尝试过、我能够在两种 SDK 版本中使用 DFU 引导模式  

    j721s2-evm-08_05_00_08

    dfu-util 0.9
    
    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
    Copyright 2010-2016 Tormod Volden and Stefan Schmidt
    This program is Free Software and has ABSOLUTELY NO WARRANTY
    Please report bugs to sourceforge.net/.../
    
    Found DFU: [0451:6168] ver=0200, devnum=17, cfg=1, intf=0, path="1-5.3", alt=1, name="SocId", serial="01.00.00.00"
    Found DFU: [0451:6168] ver=0200, devnum=17, cfg=1, intf=0, path="1-5.3", alt=0, name="bootloader", serial="01.00.00.00"
    dfu-util 0.9
    
    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
    Copyright 2010-2016 Tormod Volden and Stefan Schmidt
    This program is Free Software and has ABSOLUTELY NO WARRANTY
    Please report bugs to sourceforge.net/.../
    
    dfu-util: Invalid DFU suffix signature
    dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
    Opening DFU capable USB device...
    ID 0451:6168
    Run-time device DFU version 0110
    Claiming USB DFU Interface...
    Setting Alternate Setting #0 ...
    Determining device status: state = dfuIDLE, status = 0
    dfuIDLE, continuing
    DFU mode device DFU version 0110
    Device returned transfer size 512
    Copying data from PC to DFU device
    Download	[=========================] 100%       405751 bytes
    Download done.
    state(6) = dfuMANIFEST-SYNC, status(0) = No error condition is present
    state(2) = dfuIDLE, status(0) = No error condition is present
    Done!
    dfu-util: can't detach
    Resetting USB to switch back to runtime mode
    dfu-util 0.9
    
    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
    Copyright 2010-2016 Tormod Volden and Stefan Schmidt
    This program is Free Software and has ABSOLUTELY NO WARRANTY
    Please report bugs to sourceforge.net/.../
    
    dfu-util: Invalid DFU suffix signature
    dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
    Opening DFU capable USB device...
    ID 0451:6168
    Run-time device DFU version 0110
    Claiming USB DFU Interface...
    Setting Alternate Setting #0 ...
    Determining device status: state = dfuIDLE, status = 0
    dfuIDLE, continuing
    DFU mode device DFU version 0110
    Device returned transfer size 4096
    Copying data from PC to DFU device
    Download	[=========================] 100%       945400 bytes
    Download done.
    state(7) = dfuMANIFEST, status(0) = No error condition is present
    state(2) = dfuIDLE, status(0) = No error condition is present
    Done!
    Resetting USB to switch back to runtime mode
    dfu-util 0.9
    
    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
    Copyright 2010-2016 Tormod Volden and Stefan Schmidt
    This program is Free Software and has ABSOLUTELY NO WARRANTY
    Please report bugs to sourceforge.net/.../
    
    dfu-util: Invalid DFU suffix signature
    dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
    Opening DFU capable USB device...
    ID 0451:6168
    Run-time device DFU version 0110
    Claiming USB DFU Interface...
    Setting Alternate Setting #1 ...
    Determining device status: state = dfuIDLE, status = 0
    dfuIDLE, continuing
    DFU mode device DFU version 0110
    Device returned transfer size 4096
    Copying data from PC to DFU device
    Download	[=========================] 100%      1114964 bytes
    Download done.
    state(7) = dfuMANIFEST, status(0) = No error condition is present
    state(2) = dfuIDLE, status(0) = No error condition is present
    Done!
    Resetting USB to switch back to runtime mode
    

    ti-processor-sdk-linux-j721s2-evm-08_06_00_10

    fu-util 0.9
    
    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
    Copyright 2010-2016 Tormod Volden and Stefan Schmidt
    This program is Free Software and has ABSOLUTELY NO WARRANTY
    Please report bugs to sourceforge.net/.../
    
    Found DFU: [0451:6168] ver=0200, devnum=20, cfg=1, intf=0, path="1-5.3", alt=1, name="SocId", serial="01.00.00.00"
    Found DFU: [0451:6168] ver=0200, devnum=20, cfg=1, intf=0, path="1-5.3", alt=0, name="bootloader", serial="01.00.00.00"
    dfu-util 0.9
    
    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
    Copyright 2010-2016 Tormod Volden and Stefan Schmidt
    This program is Free Software and has ABSOLUTELY NO WARRANTY
    Please report bugs to sourceforge.net/.../
    
    dfu-util: Invalid DFU suffix signature
    dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
    Opening DFU capable USB device...
    ID 0451:6168
    Run-time device DFU version 0110
    Claiming USB DFU Interface...
    Setting Alternate Setting #0 ...
    Determining device status: state = dfuIDLE, status = 0
    dfuIDLE, continuing
    DFU mode device DFU version 0110
    Device returned transfer size 512
    Copying data from PC to DFU device
    Download	[=========================] 100%       443574 bytes
    Download done.
    state(6) = dfuMANIFEST-SYNC, status(0) = No error condition is present
    state(2) = dfuIDLE, status(0) = No error condition is present
    Done!
    dfu-util: can't detach
    Resetting USB to switch back to runtime mode
    dfu-util 0.9
    
    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
    Copyright 2010-2016 Tormod Volden and Stefan Schmidt
    This program is Free Software and has ABSOLUTELY NO WARRANTY
    Please report bugs to sourceforge.net/.../
    
    dfu-util: Invalid DFU suffix signature
    dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
    Opening DFU capable USB device...
    ID 0451:6168
    Run-time device DFU version 0110
    Claiming USB DFU Interface...
    Setting Alternate Setting #0 ...
    Determining device status: state = dfuIDLE, status = 0
    dfuIDLE, continuing
    DFU mode device DFU version 0110
    Device returned transfer size 4096
    Copying data from PC to DFU device
    Download	[=========================] 100%       984576 bytes
    Download done.
    state(7) = dfuMANIFEST, status(0) = No error condition is present
    state(2) = dfuIDLE, status(0) = No error condition is present
    Done!
    Resetting USB to switch back to runtime mode
    dfu-util 0.9
    
    Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
    Copyright 2010-2016 Tormod Volden and Stefan Schmidt
    This program is Free Software and has ABSOLUTELY NO WARRANTY
    Please report bugs to sourceforge.net/.../
    
    dfu-util: Invalid DFU suffix signature
    dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
    Opening DFU capable USB device...
    ID 0451:6168
    Run-time device DFU version 0110
    Claiming USB DFU Interface...
    Setting Alternate Setting #1 ...
    Determining device status: state = dfuIDLE, status = 0
    dfuIDLE, continuing
    DFU mode device DFU version 0110
    Device returned transfer size 4096
    Copying data from PC to DFU device
    Download	[=========================] 100%      1165976 bytes
    Download done.
    state(7) = dfuMANIFEST, status(0) = No error condition is present
    state(2) = dfuIDLE, status(0) = No error condition is present
    Done!
    Resetting USB to switch back to runtime mode
    

    另一个是他们的示例板、在将其配置为 DFU 模式并引导后、它将显示"下载引导加载程序后、DFU 器件消失了。"

    [/报价]

    我假设您尚未对代码进行任何更改、只是尝试使用默认图像。

    此致
    迪瓦卡尔

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的  Diwakar:

    我假设您没有对代码进行任何更改,而只是尝试使用默认图像。

    是的、回答正确。

    您能否帮助分享 您在对 EVM 进行测试时输入的说明? 或者、是否有任何指导可供开始?  

    谢谢。此致、

    切里  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Cherry  

    我将开关设置  

    然后运行这些命令。

    sudo dfu-util -l
    sudo dfu-util -R -a bootloader -D tiboot3.bin
    sudo dfu-util -R -a tispl.bin -D tispl.bin
    sudo dfu-util -R -a u-boot.img -D u-boot.img
    
    

    此致
    迪瓦卡尔

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的  Diwakar:

    客户为其 PCB 板提供的 tiboot3.bin 可能存在问题。  因此、他们希望使用 uboot spl 源代码调试 tiboot.bin、 尝试使用 WKUP_UART0启用 UART 日志输出、但失败了。 是否有任何 有关如何使用 UART 或 Laudbach JTAG 调试 tiboot3.bin 的文档?

    谢谢。此致、

    切里

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Cherry  

    客户   在  EVM 中具有不同的参考时钟、我们具有19.2MHz 时钟。  ?

    此致
    迪瓦卡尔

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的  Diwakar:

    参考 时钟 在  EVM 中我们有19.2MHz 的时钟。  ?[/报价]

    您是否 指的是连接到 TDA4 H28/J28端口的时钟? 如果需要、则以下是客户的时钟26MHz:

    它与 EVM 不同:

    谢谢。此致、

    切里

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Cherry  

    如果客户使用不同的 PLL 参考时钟、他们还需要在其 DTSI 中修改相同的时钟。

     在文件 k3-j721s2-r5-common-proc-board.dts 中将此文件更改为26MHz 生成 uboot、并将映像复制到引导分区

    我假设他们已经在 BOOTPINS 中进行了相应的更改、这就是他们能够刷写 tiboot3.bin 的原因。

    此致
    迪瓦卡尔