I am having trouble getting UUU to work in ROM-5722

I am following the instructions at
https://ess-wiki.advantech.com.tw/view/ROM-5722_user_guide
about using UUU to load image into the SMARC module.

I am using Windows (Linux does the same), using the UUU command with .EVK file and .WIC file. I can see the

I can see the SMARC USB device, using “uuu -lsusb” so SMARC module is in correct mode.

However upon starting the command
uuu -b emmc_all imx-boot-imx8mprom5722a1-6G.bin-flash_evk imx-image-full-imx8mprom5722a1-20230506145634.rootfs.wic

It starts downloading and prints
1:92-0723400 1/ 1 [=================100%=================] SDPS: boot -scanterm -f imx-boot-imx8mprom5722a1-6G.bin-f…

Then just goes no further.

Any thoughts on how to debug, fault find and proceed further ?

HI Sir,
@Ian_Middleton
Please provide us with more detailed information, including each step of the process. Thank you.

I am using Windows 10. UUU version libuuu_1.5.191-0-g6c2141e.

I am connecting the USB OTG port on the ROM-5722 evaluation board and setting the FORCE_RECOV# switch to on.

Using “uuu -lsusb” I see:

    **Path     Chip    Pro     Vid     Pid     BcdVersion      Serial_no**

** ====================================================================**
** 1:9 MX865 SDPS: 0x1FC9 0x0146 0x0002 072340006CB1E6DB**

I have unzipped the 5722A1AIM34LIVC0065_iMX8MP_6G_misc.tgz files, along with the ROM5722 WIC file as below:

When I run:
uuu -b emmc_all imx-boot-imx8mprom5722a1-6G.bin-flash_evk imx-image-full-imx8mprom5722a1-20230506145634.rootfs.wic

I get:

Success 0 Failure 0

1:92-0723400 1/ 1 [=================100%=================] SDPS: boot -scanterm -f imx-boot-imx8mprom5722a1-6G.bin-f…

and it proceeds no further, despite leaving “a long time” just in case something is happening.

Repeating “uuu -lsusb” no longer shows any devices.

Not too sure how to proceed any further.

HI Ian @Ian_Middleton ,

First , I used "lsusb " command to check my download status.

Then, use " uuu " to downloand image into Device .
command :
sudo ./uuu -b emmc_all imx-boot-imx8mprom5722a1-6G.bin-flash_evk imx-image-full-imx8mprom5722a1-20240122023237.rootfs.wic

You can use the same image for testing first.
https://www.dropbox.com/scl/fo/f34djgmjfo1tpk0x1olf3/h/2024-01-22?dl=0&subfolder_nav_tracking=1

uuu tool for linux
https://www.dropbox.com/scl/fo/f34djgmjfo1tpk0x1olf3/h/2024-01-22?dl=0&preview=uuu.7z&subfolder_nav_tracking=1