i.MX8QM: HID(W):LIBUSB_ERROR_IO

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

i.MX8QM: HID(W):LIBUSB_ERROR_IO

Jump to solution
1,907 Views
darko_tdr
Contributor II

Hi,

I have i.MX8 Quad Max module and I'm trying to install embedded linux on it, using Windows 10.
I downloaded LF_v6.1.22-2.0.0_images_IMX8QMMEK.zip, downloaded prebuilt Universal Update Utility (uuu, uuu.exe) and put files inside unzipped folder.

I turn on device in recovery mode, connect via USB and when I execute: uuu.exe -v uuu.auto-imx8qmmek, I always got the same error:

F:\Work\imx8\LF_v6.1.22-2.0.0_images_IMX8QMMEK>uuu.exe -v uuu.auto-imx8qmmek
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
Wait for Known USB Device Appear...
New USB Device Attached at 1:5
1:5>Start Cmd:SDPS: boot -f imx-boot-imx8qmmek-sd.bin-flash
19%1:5>Fail HID(W):LIBUSB_ERROR_IO(5.137s)

When I execute: uuu - lsusb

F:\Work\imx8\LF_v6.1.22-2.0.0_images_IMX8QMMEK>uuu -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
        ==================================================
        1:5      MX8QM   SDPS:   0x1FC9 0x0129   0x0002

I tried:

  • Using powershell
  • Run as administrator (cmd & powershell)
  • Older UUU versions
  • Different USB ports
  • Different PC

None of above didn't help.

What am I doing wrong?

Thanks.

0 Kudos
1 Solution
1,767 Views
JorgeCas
NXP TechSupport
NXP TechSupport

Got it, that is the issue. 

You are trying to flash files for a different board. That image it is for i.MX8QM MEK board.

In your case you need to check with Toradex and look the correct image for your board.

And also, I suggest check if Toradex have a different tool to flash it.

Best regards.

View solution in original post

0 Kudos
7 Replies
1,878 Views
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

All your steps seems to be ok. When the uuu.auto does not work also you could try to use the next command on powershell:

 

uuu.exe -b emmc_all <bootloader> <rootfs>

 

For example, on i.MX8QM you could use:

 

uuu.exe -b emmc_all imx-boot-imx8qmmek-sd.bin-flash imx-image-multimedia-imx8qmmek.wic

 

Also, I suggest you consult the next link for more information. 

Best regards.

0 Kudos
1,852 Views
darko_tdr
Contributor II

Hello,

Thank you for your response.

I tried your suggestions but no effect, still the same error. Can you explain what types of problems can be indicated by this error message (HID(W):LIBUSB_ERROR_IO)? Btw, it always breaks at 19%, after a few seconds.

Regards.

0 Kudos
1,832 Views
JorgeCas
NXP TechSupport
NXP TechSupport

It could be caused mainly by:

1. The board is not detected as serial download mode (in your case this cannot be the issue).

2. The flashed files are not the correct for the board.

What is your i.MX8 Quad Max module? MEK board?

Best regards.

0 Kudos
1,805 Views
darko_tdr
Contributor II

Ixora 1.2A.

I hope this information could help.

0 Kudos
1,768 Views
JorgeCas
NXP TechSupport
NXP TechSupport

Got it, that is the issue. 

You are trying to flash files for a different board. That image it is for i.MX8QM MEK board.

In your case you need to check with Toradex and look the correct image for your board.

And also, I suggest check if Toradex have a different tool to flash it.

Best regards.

0 Kudos
1,673 Views
darko_tdr
Contributor II

Hello,

One more question, can I use eIQ Portal with my board? I tried but can't connect eIQ Portal to remote device.

Thanks in advance

0 Kudos
1,748 Views
darko_tdr
Contributor II

Thank you for your time and help to find a problem.

Regards!