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.

PROCESSOR-SDK-AM62X: DFU Flashing Failure on AM62x – Unable to Detect USB Device After Initial Flash

Part Number: PROCESSOR-SDK-AM62X

Tool/software:

am working on flashing the AM62x board using the DFU (Device Firmware Update) tool, but I am encountering an issue where flashing initially works, but after the first stage, the DFU tool fails to detect the device. Here is the observed behavior:

Steps Followed:

  1. Booted the AM62x board in Peripheral boot mode using USB DFU.
  2. Used dfu-util 0.10 to flash the bootloader binary 
  3. The flashing process begins successfully, showing 100% data transfer.
  4. After completion, dfu-util tries to reset the USB connection to switch back to runtime mode.
  5. At this point, the DFU tool fails to recognize the device, giving the following error
    dfu-util: No DFU capable USB device available

    • Why does DFU flashing initially work but then fail to detect the device after the first flash?
    • Are there updated DFU tools or patches available for AM62x? If so, please share links.
    • Does the AM62x bootloader need any specific USB re-enumeration or reset after the first stage?
    • Are there any known issues with DFU mode on AM62x?

      • Using mmc write commands in U-Boot, I can successfully flash images to eMMC.
      • Using dd if=image.wic of=/dev/mmcblk0, I can successfully flash from Linux.
      • Only DFU fails after the first stage, so I suspect a USB enumeration/reset issue.

      Could you please provide guidance on why this issue occurs and suggest any workarounds or updated tools?

      DFU Tool Failing Issue



  • Hi Dhiraj,

    I assume you are trying to flash eMMC using USB DFU, you can refer to this for the same: (+) [FAQ] SK-AM62: How to flash eMMC using USB DFU on AM62x-SK E2 - Processors forum - Processors - TI E2E support forums. This link describes the steps on how to flash eMMC using USB DFU on AM62x, it might have some addition details which you are missing leading to this issue. Please follow these steps and let me know if the issue is resolved.

    Best Regards,
    Meet.

  • Hi Meet,

    Thank you for the detailed explanation. I have followed all the steps and even got the expected prints.However, eMMC booting is still failing.

    One thing I have noticed is that while flashing, the respective boot prints only appear when the SD card is connected.Why is this happening?

    Additionally, I only want to boot till U-Boot and have not flashed the root filesystem yet. Could this be causing the boot failure?

    Looking forward to your insights

    Best Regards,
    Dheeraj

  • Hi Dheeraj,

    I assume you only get boot prints in case the SD card is connected is because you have not flashed the root file system to the eMMC. If you have flashed the u-boot correctly in the eMMC, you should see the u-boot prompt booting and then after it will fail to boot and stay at u-boot as it doesn't have a file system to boot. Let me know where the eMMC boot is failing, please also attach the boot logs when booting via eMMC.

    Best Regards,

    Meet.