UUU tool Error : Fail Failure open usb device

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

UUU tool Error : Fail Failure open usb device

Jump to solution
1,283 Views
sunile
Contributor II

Hi,

I am currently using the IMX93 EVK. My objective is to flash the bootloader 'imx-boot.bin/flash.bin' to the eMMC. To accomplish this, I attempted to use the UUU tool.

Here are the steps I followed to flash the bootloaders:

  • Connected the USB cable to USB1 port for flashing.
  • Changed the mode pins using SW1301 to 1100.
  • Powered on the board, and observed the USB device displayed on the UUU command.

 

C:\UUU>uuu.exe -lsusb
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.21-0-g1f42172

Connected Known USB Devices
Path Chip Pro Vid Pid BcdVersion
==================================================
4:134 MX93 SDPS: 0x1FC9 0x014E 0x0001​

 

  • Flashed the binary using the UUU tool: 'uuu.exe -v -b emmc ./imx-boot'. During flashing I get "Fail Failure open usb device". 

 

C:\UUU>uuu.exe -v -b emmc ./imx-boot
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.21-0-g1f42172

Build in config:
        Pctl     Chip            Vid     Pid     BcdVersion
        ==================================================
        SDPS:    MX8QXP          0x1fc9  0x012f  [0x0002..0xffff]
        SDPS:    MX8QM           0x1fc9  0x0129  [0x0002..0xffff]
        SDPS:    MX8DXL          0x1fc9  0x0147
        SDPS:    MX28            0x15a2  0x004f
        SDPS:    MX815           0x1fc9  0x013e
        SDPS:    MX865           0x1fc9  0x0146
        SDPS:    MX8ULP          0x1fc9  0x014a
        SDPS:    MX8ULP          0x1fc9  0x014b
        SDPS:    MX93            0x1fc9  0x014e
        SDP:     MX7D            0x15a2  0x0076
        SDP:     MX6Q            0x15a2  0x0054
        SDP:     MX6D            0x15a2  0x0061
        SDP:     MX6SL           0x15a2  0x0063
        SDP:     MX6SX           0x15a2  0x0071
        SDP:     MX6UL           0x15a2  0x007d
        SDP:     MX6ULL          0x15a2  0x0080
        SDP:     MX6SLL          0x1fc9  0x0128
        SDP:     MX7ULP          0x1fc9  0x0126
        SDP:     MXRT106X        0x1fc9  0x0135
        SDP:     MX8MM           0x1fc9  0x0134
        SDP:     MX8MQ           0x1fc9  0x012b
        SDPU:    SPL             0x0525  0xb4a4  [0x0000..0x04ff]
        SDPV:    SPL1            0x0525  0xb4a4  [0x0500..0x9998]
        SDPV:    SPL1            0x1fc9  0x0151  [0x0500..0x9998]
        SDPU:    SPL             0x0525  0xb4a4  [0x9999..0x9999]
        SDPU:    SPL             0x3016  0x1001  [0x0000..0x04ff]
        SDPV:    SPL1            0x3016  0x1001  [0x0500..0x9998]
        FBK:                     0x066f  0x9afe
        FBK:                     0x066f  0x9bff
        FBK:                     0x1fc9  0x0153
        FB:                      0x0525  0xa4a5
        FB:                      0x18d1  0x0d02
        FB:                      0x3016  0x0001
        FB:                      0x1fc9  0x0152
        FB:                      0x0483  0x0afb

Run built-in script:

uuu_version 1.2.39

# @_flash.bin            | bootloader
# @_image   [_flash.bin] | image burn to emmc, default is the same as bootloader

# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ
SDP: boot -f ./imx-boot

# This command will be run when ROM support stream mode
# i.MX8QXP, i.MX8QM
SDPS: boot -f ./imx-boot

# These commands will be run when use SPL and will be skipped if no spl
# SDPU will be deprecated. please use SDPV instead of SDPU
# {
SDPU: delay 1000
SDPU: write -f ./imx-boot -offset 0x57c00
SDPU: jump
# }

# These commands will be run when use SPL and will be skipped if no spl
# if (SPL support SDPV)
# {
SDPV: delay 1000
SDPV: write -f ./imx-boot -skipspl
SDPV: jump
# }

FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev ${emmc_dev}
FB: ucmd mmc dev ${emmc_dev}
FB: flash bootloader ./imx-boot
FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi;
FB: ucmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0
FB: Done


Wait for Known USB Device Appear...
New USB Device Attached at 4:134
4:134>Start Cmd:SDPS: boot -f ./imx-boot
100%4:134>Okay (2.631s)
New USB Device Attached at 6:134
6:134>Fail Failure open usb device(4.984s)​

 

I'm not sure why this error as occurred, Please let me know if I'm missing anything during flashing. 

Thanks in advance

 

 

0 Kudos
Reply
1 Solution
1,213 Views
sunile
Contributor II

Hi,

I have installed UUU tool on Ubuntu machine and I'm able to flash the bootloaders image using UUU

Best Regards 

View solution in original post

0 Kudos
Reply
3 Replies
1,214 Views
sunile
Contributor II

Hi,

I have installed UUU tool on Ubuntu machine and I'm able to flash the bootloaders image using UUU

Best Regards 

0 Kudos
Reply
1,254 Views
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Thank you for your interest in NXP Semiconductor products,

You could move to latest BSP, UUU and silicon.

Could you send a SOM picture?

I tried with A1 silicon, with PD connected, USB1 J401 connected to PC and power SW OFF. Then turn power SW ON.

> 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
        ==================================================
        2:4      MX93    SDPS:   0x1FC9 0x014E   0x0001


LF_v6.6.3-1.0.0_images_IMX93EVK> uuu -v -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

Build in config:
        Pctl     Chip            Vid     Pid     BcdVersion
        ==================================================
        SDPS:    MX8QXP          0x1fc9  0x012f  [0x0002..0xffff]
        SDPS:    MX8QM           0x1fc9  0x0129  [0x0002..0xffff]
        SDPS:    MX8DXL          0x1fc9  0x0147
        SDPS:    MX28            0x15a2  0x004f
        SDPS:    MX815           0x1fc9  0x013e
        SDPS:    MX865           0x1fc9  0x0146
        SDPS:    MX8ULP          0x1fc9  0x014a
        SDPS:    MX8ULP          0x1fc9  0x014b
        SDPS:    MX93            0x1fc9  0x014e
        SDPS:    MX95            0x1fc9  0x015d
        SDP:     MX7D            0x15a2  0x0076
        SDP:     MX6Q            0x15a2  0x0054
        SDP:     MX6D            0x15a2  0x0061
        SDP:     MX6SL           0x15a2  0x0063
        SDP:     MX6SX           0x15a2  0x0071
        SDP:     MX6UL           0x15a2  0x007d
        SDP:     MX6ULL          0x15a2  0x0080
        SDP:     MX6SLL          0x1fc9  0x0128
        SDP:     MX7ULP          0x1fc9  0x0126
        SDP:     MXRT106X        0x1fc9  0x0135
        SDP:     MX8MM           0x1fc9  0x0134
        SDP:     MX8MQ           0x1fc9  0x012b
        SDPU:    SPL             0x0525  0xb4a4  [0x0000..0x04ff]
        SDPV:    SPL1            0x0525  0xb4a4  [0x0500..0x9998]
        SDPV:    SPL1            0x1fc9  0x0151  [0x0500..0x9998]
        SDPU:    SPL             0x0525  0xb4a4  [0x9999..0x9999]
        SDPU:    SPL             0x3016  0x1001  [0x0000..0x04ff]
        SDPV:    SPL1            0x3016  0x1001  [0x0500..0x9998]
        FBK:                     0x066f  0x9afe
        FBK:                     0x066f  0x9bff
        FBK:                     0x1fc9  0x0153
        FB:                      0x0525  0xa4a5
        FB:                      0x18d1  0x0d02
        FB:                      0x3016  0x0001
        FB:                      0x1fc9  0x0152
        FB:                      0x0483  0x0afb

Run built-in script:

uuu_version 1.2.39

# @_flash.bin            | bootloader
# @_image   [_flash.bin] | image burn to emmc, default is the same as bootloader

# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ
SDP: boot -f .\imx-boot-imx93-11x11-lpddr4x-evk-sd.bin-flash_singleboot

# This command will be run when ROM support stream mode
# i.MX8QXP, i.MX8QM
SDPS: boot -f .\imx-boot-imx93-11x11-lpddr4x-evk-sd.bin-flash_singleboot

# These commands will be run when use SPL and will be skipped if no spl
# SDPU will be deprecated. please use SDPV instead of SDPU
# {
SDPU: delay 1000
SDPU: write -f .\imx-boot-imx93-11x11-lpddr4x-evk-sd.bin-flash_singleboot -offset 0x57c00
SDPU: jump
# }

# These commands will be run when use SPL and will be skipped if no spl
# if (SPL support SDPV)
# {
SDPV: delay 1000
SDPV: write -f .\imx-boot-imx93-11x11-lpddr4x-evk-sd.bin-flash_singleboot -skipspl
SDPV: jump
# }

FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev ${emmc_dev}
FB: ucmd mmc dev ${emmc_dev}
FB: flash bootloader .\imx-boot-imx93-11x11-lpddr4x-evk-sd.bin-flash_singleboot
FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi;
FB: ucmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0
FB: Done


Wait for Known USB Device Appear...
New USB Device Attached at 2:4
2:4>Start Cmd:SDPS: boot -f .\imx-boot-imx93-11x11-lpddr4x-evk-sd.bin-flash_singleboot
100%2:4>Okay (3.144s)
New USB Device Attached at 2:4
2:4>Start Cmd:FB: ucmd setenv fastboot_dev mmc
2:4>Okay (0.12s)
2:4>Start Cmd:FB: ucmd setenv mmcdev ${emmc_dev}
2:4>Okay (0.088s)
2:4>Start Cmd:FB: ucmd mmc dev ${emmc_dev}
2:4>Okay (0.043s)
2:4>Start Cmd:FB: flash bootloader .\imx-boot-imx93-11x11-lpddr4x-evk-sd.bin-flash_singleboot
0x200000002:4>Okay (0.174s)
2:4>Start Cmd:FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi;
2:4>Okay (0.004s)
2:4>Start Cmd:FB: ucmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0
2:4>Okay (0.004s)
2:4>Start Cmd:FB: Done
2:4>Okay (0s)

Check that my UUU version is 1.5.165 and my filesystem LF_v6.6.3-1.0.0_images_IMX93EVK prebuilt, do you succeed in these conditions?

Regards

0 Kudos
Reply
1,222 Views
sunile
Contributor II

Hi,

Thank you for your message. I tried to upgrade the UUU tool to version 1.5.165 and used prebuilt images from LF_v6.6.3-1.0.0. Still I see the same error.

I noticed that during your flashing process, you are not using switch SW1301. If I neglect to set SW1301 to 1100, I am unable to detect the device.

C:\UUU>uuu.exe -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
        ==================================================

I have also attached the SOM picture, PFA. 

 

0 Kudos
Reply