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.

[参考译文] TMDS64EVM:AM6442 dfu-util 问题

Guru**** 2540720 points
Other Parts Discussed in Thread: UNIFLASH

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1249619/tmds64evm-am6442-dfu-util-issue

器件型号:TMDS64EVM
主题中讨论的其他器件:UNIFLASH

您好

我可以问问是否有 AM64 USB DFU?

我的客户在刷写过程中遇到问题、请参阅本手册。

https://dev.ti.com/tirex/content/mcu_plus_sdk_am64x_08_06_00_43/docs/api_guide_am64x/GETTING_STARTED_FLASH_DFU.html#:~:text=the%20config%20file.-,Flashing%20the%20application%20using%20USB%20DFU,-AM64X%2DEVM 

我写在日志下面

(在 cfg 中使用 hs_fs 图像)

--

c:\ti\mcu_plus_sdk_am64x_08_06_00_43\tools\boot>python usb_dfu_uniflash.py --cfg=sbl_prebuilt/am64x-evm/default_dfu_ospi_hsfs.cfg

Parsing config file ...
Parsing config file ... SUCCESS. Found 4 command(s) !!!

Executing command 1 of 4 ...
Found flash writer ... sending sbl_prebuilt/am64x-evm/sbl_dfu_uniflash.release.hs_fs.tiimage
----------------------------------------------------------------------------
Executing DFU command with alt_setting=0 interface=0 transfer_size=512
----------------------------------------------------------------------------
dfu-util 0.8

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org

Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 0451:6165
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
Copying data from PC to DFU device
Download        [=========================] 100%       323317 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!
Sent flashwriter sbl_prebuilt/am64x-evm/sbl_dfu_uniflash.release.hs_fs.tiimage of size 323317 bytes in 1.57s. Bandwidth = 201.11kbps

Executing command 2 of 4 ...
Command arguments : --operation=flash-phy-tuning-data
------------------------------------------------------
Waiting for DFU device to be enumerated ....
------------------------------------------------------
------------------------------------------------------
Waiting for DFU device to be enumerated ....
------------------------------------------------------
------------------------------------------------------
Waiting for DFU device to be enumerated ....
------------------------------------------------------
------------------------------------------------------
Waiting for DFU device to be enumerated ....
------------------------------------------------------
------------------------------------------------------
Waiting for DFU device to be enumerated ....
------------------------------------------------------
------------------------------------------------------
Waiting for DFU device to be enumerated ....
------------------------------------------------------
------------------------------------------------------
Waiting for DFU device to be enumerated ....
------------------------------------------------------

--

在下面, 等待 DFU 设备被枚举... 继续宣传。

我们可以如何进行下一步?

您能告诉我您的意见和建议吗?  

--

dfu-util -i 就是这、

c:\ti\mcu_plus_sdk_am64x_08_06_00_43\tools\boot\sbl_prebuilt\am64x-evm>dfu-util -l
dfu-util 0.8

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org

Found DFU: [0451:6165] ver=0200, devnum=35, cfg=1, intf=0, alt=1, name="SocId", serial="01.00.00.00"
Found DFU: [0451:6165] ver=0200, devnum=35, cfg=1, intf=0, alt=0, name="bootloader", serial="01.00.00.00"

谢谢。

GR

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

    您好、GR、

    C:\ti\mcu_plus_sdk_am64x_08_06_00_43\tools\boot>python usb_dfu_uniflash.py --cfg=sbl_prebuilt\am64x-evm\default_dfu_ospi.cfg
    
    Parsing config file ...
    Parsing config file ... SUCCESS. Found 5 command(s) !!!
    
    Executing command 1 of 5 ...
    Found flash writer ... sending sbl_prebuilt/am64x-evm/sbl_dfu_uniflash.release.tiimage
    ----------------------------------------------------------------------------
    Executing DFU command with alt_setting=0 interface=0 transfer_size=512
    ----------------------------------------------------------------------------
    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/.../
    
    Warning: Invalid DFU suffix signature
    A valid DFU suffix will be required in a future dfu-util release
    Opening DFU capable USB device...
    Device ID 0451:6165
    Device DFU version 0110
    Claiming USB DFU Interface...
    Setting Alternate Interface #0 ...
    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
    Warning: Overriding device-reported transfer size
    Copying data from PC to DFU device
    Download        [=========================] 100%       321503 bytes
    Download done.
    DFU state(6) = dfuMANIFEST-SYNC, status(0) = No error condition is present
    DFU state(2) = dfuIDLE, status(0) = No error condition is present
    Done!
    Sent flashwriter sbl_prebuilt/am64x-evm/sbl_dfu_uniflash.release.tiimage of size 321503 bytes in 1.61s. Bandwidth = 195.01kbps
    
    Executing command 2 of 5 ...
    Command arguments : --operation=flash-phy-tuning-data
    ------------------------------------------------------
    Waiting for DFU device to be enumerated ....
    ------------------------------------------------------
    ------------------------------------------------------
    Waiting for DFU device to be enumerated ....
    ------------------------------------------------------
    ------------------------------------------------------
    Waiting for DFU device to be enumerated ....
    ------------------------------------------------------
    ------------------------------------------------------
    Waiting for DFU device to be enumerated ....
    ------------------------------------------------------
    ------------------------------------------------------
    Waiting for DFU device to be enumerated ....
    ------------------------------------------------------
    ------------------------------------------------------
    Waiting for DFU device to be enumerated ....
    ------------------------------------------------------
    ------------------------------------------------------
    Waiting for DFU device to be enumerated ....
    ------------------------------------------------------
    ------------------------------------------------------

    以上内容不是代码、而是 DFU 刷写结果的快照。 虽然我在 GP 板上而非 hsfs、但我能够重现此问题。

    请允许我多看一遍。  

    BR Vaibhav

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

    您好、GR、

    经过团队内部的紧密讨论、我们发现问题似乎与驱动程序安装有关。

    我附加了日志、其中显示已成功执行 USB DFU uniflash 命令。

    Parsing config file ...
    Parsing config file ... SUCCESS. Found 5 command(s) !!!
    
    Executing command 1 of 5 ...
    Found flash writer ... sending sbl_prebuilt/am64x-evm/sbl_dfu_uniflash.release.tiimage
    ----------------------------------------------------------------------------
    Executing DFU command with alt_setting=0 interface=0 transfer_size=512
    ----------------------------------------------------------------------------
    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/.../
    
    Warning: Invalid DFU suffix signature
    A valid DFU suffix will be required in a future dfu-util release
    Opening DFU capable USB device...
    Device ID 0451:6165
    Device DFU version 0110
    Claiming USB DFU Interface...
    Setting Alternate Interface #0 ...
    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
    Warning: Overriding device-reported transfer size
    Copying data from PC to DFU device
    Download        [=========================] 100%       321503 bytes
    Download done.
    DFU state(6) = dfuMANIFEST-SYNC, status(0) = No error condition is present
    DFU state(2) = dfuIDLE, status(0) = No error condition is present
    Done!
    Sent flashwriter sbl_prebuilt/am64x-evm/sbl_dfu_uniflash.release.tiimage of size 321503 bytes in 1.59s. Bandwidth = 197.46kbps
    
    Executing command 2 of 5 ...
    Command arguments : --operation=flash-phy-tuning-data
    ------------------------------------------------------
    Waiting for DFU device to be enumerated ....
    ------------------------------------------------------
    ----------------------------------------------------------------------------
    Executing DFU command with alt_setting=0 interface=0 transfer_size=512
    ----------------------------------------------------------------------------
    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/.../
    
    Warning: Invalid DFU suffix signature
    A valid DFU suffix will be required in a future dfu-util release
    Opening DFU capable USB device...
    Device ID 0451:6166
    Device DFU version 0101
    Claiming USB DFU Interface...
    Setting Alternate Interface #0 ...
    Determining device status...
    DFU state(2) = dfuIDLE, status(0) = No error condition is present
    DFU mode device DFU version 0101
    Device returned transfer size 512
    Warning: Overriding device-reported transfer size
    Copying data from PC to DFU device
    Download        [=========================] 100%           32 bytes
    Download done.
    DFU state(7) = dfuMANIFEST, status(0) = No error condition is present
    DFU state(2) = dfuIDLE, status(0) = No error condition is present
    Done!
    Sent flash phy tuning data in 1.1s.
    True
    Executing command 3 of 5 ...
    Command arguments : --file=sbl_prebuilt/am64x-evm/sbl_ospi.release.tiimage --operation=flash --flash-offset=0x0
    ----------------------------------------------------------------------------
    Executing DFU command with alt_setting=0 interface=0 transfer_size=512
    ----------------------------------------------------------------------------
    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/.../
    
    Warning: Invalid DFU suffix signature
    A valid DFU suffix will be required in a future dfu-util release
    Opening DFU capable USB device...
    Device ID 0451:6166
    Device DFU version 0101
    Claiming USB DFU Interface...
    Setting Alternate Interface #0 ...
    Determining device status...
    DFU state(2) = dfuIDLE, status(0) = No error condition is present
    DFU mode device DFU version 0101
    Device returned transfer size 512
    Warning: Overriding device-reported transfer size
    Copying data from PC to DFU device
    Download        [=========================] 100%       317439 bytes
    Download done.
    DFU state(7) = dfuMANIFEST, status(0) = No error condition is present
    DFU state(2) = dfuIDLE, status(0) = No error condition is present
    Done!
    Sent sbl_prebuilt/am64x-evm/sbl_ospi.release.tiimage of size 317407 bytes in 4.43s. Bandwidth = 69.97kbps
    True
    Executing command 4 of 5 ...
    Command arguments : --file=../../examples/drivers/ipc/ipc_notify_echo/am64x-evm/system_freertos_nortos/ipc_notify_echo_system.release.appimage --operation=flash --flash-offset=0x80000
    ----------------------------------------------------------------------------
    Executing DFU command with alt_setting=0 interface=0 transfer_size=512
    ----------------------------------------------------------------------------
    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/.../
    
    Warning: Invalid DFU suffix signature
    A valid DFU suffix will be required in a future dfu-util release
    Opening DFU capable USB device...
    Device ID 0451:6166
    Device DFU version 0101
    Claiming USB DFU Interface...
    Setting Alternate Interface #0 ...
    Determining device status...
    DFU state(2) = dfuIDLE, status(0) = No error condition is present
    DFU mode device DFU version 0101
    Device returned transfer size 512
    Warning: Overriding device-reported transfer size
    Copying data from PC to DFU device
    Download        [=========================] 100%       158377 bytes
    Download done.
    DFU state(7) = dfuMANIFEST, status(0) = No error condition is present
    DFU state(2) = dfuIDLE, status(0) = No error condition is present
    Done!
    Sent ../../examples/drivers/ipc/ipc_notify_echo/am64x-evm/system_freertos_nortos/ipc_notify_echo_system.release.appimage of size 158345 bytes in 2.32s. Bandwidth = 66.65kbps
    True
    Executing command 5 of 5 ...
    Command arguments : --file=../../examples/drivers/ipc/ipc_notify_echo/am64x-evm/system_freertos_nortos/ipc_notify_echo_system.release.appimage_xip --operation=flash-xip
    ----------------------------------------------------------------------------
    Executing DFU command with alt_setting=0 interface=0 transfer_size=512
    ----------------------------------------------------------------------------
    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/.../
    
    Warning: Invalid DFU suffix signature
    A valid DFU suffix will be required in a future dfu-util release
    Opening DFU capable USB device...
    Device ID 0451:6166
    Device DFU version 0101
    Claiming USB DFU Interface...
    Setting Alternate Interface #0 ...
    Determining device status...
    DFU state(2) = dfuIDLE, status(0) = No error condition is present
    DFU mode device DFU version 0101
    Device returned transfer size 512
    Warning: Overriding device-reported transfer size
    Copying data from PC to DFU device
    Download        [=========================] 100%          224 bytes
    Download done.
    DFU state(7) = dfuMANIFEST, status(0) = No error condition is present
    DFU state(2) = dfuIDLE, status(0) = No error condition is present
    Done!
    Sent ../../examples/drivers/ipc/ipc_notify_echo/am64x-evm/system_freertos_nortos/ipc_notify_echo_system.release.appimage_xip of size 192 bytes in 1.1s. Bandwidth = 0.17kbps
    True
    All commands from config file are executed !!!

    这里是修复方法、越过线路 "--operation=flash-phy-tuning-data",  我看到您获得了 "正在等待枚举 DFU 器件"。

    此时(请勿终止命令并让其搜索 DFU 器件)、打开应用程序 zadig、您会找到名为 AM64x-AM243x DFU 的器件选项。

    只需单击"Install Driver"(安装驱动程序)按钮、即可确保安装用于使用 SBL DFU 的驱动程序。

    请告诉我这是否适合您。 文档链接: software-dl.ti.com/.../SDK_DOWNLOAD_PAGE.html

    BR Vaibhav

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

    您好、Vaibhav、

    感谢您的支持。

    我的客户尝试通过参考手册安装驱动程序。

    然而,在 Zadig 中,没有"AM64x-AM243x DFU",有"AM64x DFU"。

    有什么区别,版本?

    我们可以使用 AM64x DFU 吗?

    此致、

    GR

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

    您好、GR、

    最初它将显示 AM64x DFU、如下图所示。


    完成上述步骤后、运行下图所示的命令。 发布此帖子、您应该能够看到 AM64x-AM243x DFU。

    如果这有助于让我知道,否则我会给你一个屏幕抓图.

    此致、

    瓦伊布哈夫