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.

SK-AM62: How to flash using dfu-util ?

Part Number: SK-AM62

Hello,

I'm using SK-AM62 board. I have build using Yocto and I'm trying to load the bootloader using DFU following the instructions at https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/08_03_00_19/exports/docs/linux/Foundational_Components/U-Boot/UG-DFU.html

This is currently not working, at the first step, when loading the bootloader, this fails at the end saying it's impossible to detach. See following log.

sudo dfu-util -R -a bootloader -D tiboot3.bin
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 http://sourceforge.net/p/dfu-util/tickets/

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: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
Device returned transfer size 512
Copying data from PC to DFU device
Download        [=========================] 100%       335442 bytes
Download done.
state(6) = dfuMANIFEST-SYNC, status(0) = No error condition is present
dfu-util: unable to read DFU status after completion
dfu-util: can't detach
Resetting USB to switch back to runtime mode

I notice at the same time there is an USB error in kernel logs using dmesg:

[ 3480.911198] usb 1-1: new high-speed USB device number 18 using xhci_hcd
[ 3481.060021] usb 1-1: New USB device found, idVendor=0451, idProduct=6165, bcdDevice= 2.00
[ 3481.060026] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3481.060030] usb 1-1: Product: AM62x DFU
[ 3481.060033] usb 1-1: Manufacturer: Texas Instruments, Inc.
[ 3481.060035] usb 1-1: SerialNumber: 01.00.00.00
[ 3502.999506] usb 1-1: reset high-speed USB device number 18 using xhci_hcd
[ 3508.131230] usb 1-1: device descriptor read/64, error -110
[ 3513.507240] usb 1-1: device descriptor read/64, error -71
[ 3513.743257] usb 1-1: reset high-speed USB device number 18 using xhci_hcd
[ 3513.871233] usb 1-1: device descriptor read/64, error -71
[ 3514.107321] usb 1-1: device descriptor read/64, error -71
[ 3514.343319] usb 1-1: reset high-speed USB device number 18 using xhci_hcd
[ 3514.343492] usb 1-1: Device not responding to setup address.
[ 3514.551368] usb 1-1: Device not responding to setup address.
[ 3514.759198] usb 1-1: device not accepting address 18, error -71
[ 3514.887229] usb 1-1: reset high-speed USB device number 18 using xhci_hcd
[ 3514.887390] usb 1-1: Device not responding to setup address.
[ 3515.095296] usb 1-1: Device not responding to setup address.
[ 3515.303202] usb 1-1: device not accepting address 18, error -71
[ 3515.303554] usb 1-1: USB disconnect, device number 18
[ 3515.431017] usb 1-1: new high-speed USB device number 19 using xhci_hcd
[ 3515.559276] usb 1-1: device descriptor read/64, error -71
[ 3515.795230] usb 1-1: device descriptor read/64, error -71
[ 3516.031201] usb 1-1: new high-speed USB device number 20 using xhci_hcd
[ 3516.159232] usb 1-1: device descriptor read/64, error -71
[ 3516.395248] usb 1-1: device descriptor read/64, error -71
[ 3516.503304] usb usb1-port1: attempt power cycle
[ 3516.915200] usb 1-1: new high-speed USB device number 21 using xhci_hcd
[ 3516.915334] usb 1-1: Device not responding to setup address.
[ 3517.123322] usb 1-1: Device not responding to setup address.
[ 3517.331195] usb 1-1: device not accepting address 21, error -71
[ 3517.459201] usb 1-1: new high-speed USB device number 22 using xhci_hcd
[ 3517.459333] usb 1-1: Device not responding to setup address.
[ 3517.667344] usb 1-1: Device not responding to setup address.
[ 3517.875203] usb 1-1: device not accepting address 22, error -71
[ 3517.875339] usb usb1-port1: unable to enumerate USB device

Any ideas ?!

Thanks,

Joel