nxp-imx / mfgtools

Freescale/NXP I.MX Chip image deploy tools.
BSD 3-Clause "New" or "Revised" License
523 stars 293 forks source link

uuu hangs while trying to flash to a board that is connected #419

Open terceiro opened 2 months ago

terceiro commented 2 months ago

Hi,

I'm trying to understand how to debug this issue. I have a imx93 board plugged in, and it's visible to uuu. However when I try to do anything with it, uuu hangs after printing "Wait for Known USB Device Appear...". For example:

# ./uuu -lsusb
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.165-0-g7347a80

Connected Known USB Devices
        Path     Chip    Pro     Vid     Pid     BcdVersion
        ==================================================
        1:1342   MX93    SDPS:   0x1FC9 0x014E   0x0001

# timeout 1m ./uuu -m 1-1.3.4.2 -b emmc imx-boot-imx93-11x11-lpddr4x-evk-sd.bin-flash_singleboot
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.165-0-g7347a80

Wait for Known USB Device Appear... at path 1-1.3.4.2 
(hangs here until interrupted)

It used to work on this same host machine, but at some point I started seeing this behavior. How do I debug this?

capiman commented 2 months ago

Perhaps worth trying out if latest version works for you...

Fix was done here: https://github.com/nxp-imx/mfgtools/issues/420