2373101_zh-CN

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

2373101_zh-CN

2373101_zh-CN

IMX93 uuu libusb 错误

你好

我在使用uuu闪存 IMX93 (MIMX9352CVVXMAB) 时遇到问题。

我使用的是Ubuntu 24.04.4和 uuu 版本:

uuu (Universal Update Utility) for nxp imx chips -- lib1.5.141

我可以在 IMX93EVK 上成功闪存 MCU,因此我确信笔记本电脑和软件不是问题所在。

微控制器上的启动引脚设置为 0001,并且在通电时会检测到 MCU。

dmesg输出:

[15894.841580] usb 3-2: new high-speed USB device number 44 using xhci_hcd
[15894.966279] usb 3-2: New USB device found, idVendor=1fc9, idProduct=014e, bcdDevice= 0.01
[15894.966293] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[15894.966297] usb 3-2: Product: OO Blank 93
[15894.966300] usb 3-2: Manufacturer: NXP SemiConductor Inc
[15894.969654] hid-generic 0003:1FC9:014E.0011: hiddev0,hidraw4: USB HID v1.10 Device [NXP SemiConductor Inc OO Blank 93] on usb-0000:00:14.0-2/input0

uuu -lsusb输出:

james@laptop:~$ uuu -lsusb
uuu (Universal Update Utility) for nxp imx chips -- lib1.5.141

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

但当我尝试闪存 MCU 时:

james@laptop:~$ uuu -v -V -b emmc_all imx-boot-imx93-sd.bin-flash_singleboot image-dev-imx93.rootfs-20260521113620.wic.zst 
uuu (Universal Update Utility) for nxp imx chips -- lib1.5.141

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.4.149

# @_flash.bin | bootloader, which can extract from wic image
# @_image [_flash.bin] | wic image burn to emmc.


# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ
SDP: boot -f imx-boot-imx93-sd.bin-flash_singleboot -scanlimited 0x800000

# This command will be run when ROM support stream mode
# i.MX8QXP, i.MX8QM
SDPS: boot -scanterm -f imx-boot-imx93-sd.bin-flash_singleboot -scanlimited 0x800000

# 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-sd.bin-flash_singleboot -offset 0x57c00
SDPU: jump -scanlimited 0x800000
# }

# 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-sd.bin-flash_singleboot -skipspl -scanterm -scanlimited 0x800000
SDPV: jump -scanlimited 0x800000
# }


FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev ${emmc_dev}
FB: ucmd mmc dev ${emmc_dev}
FB: flash -raw2sparse all image-dev-imx93.rootfs-20260521113620.wic.zst/*
FB: flash -scanterm -scanlimited 0x800000 bootloader imx-boot-imx93-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 3:2
3:2>Start Cmd:SDPS: boot -scanterm -f imx-boot-imx93-sd.bin-flash_singleboot -scanlimited 0x800000
3:2>Fail HID(W):LIBUSB_ERROR_IO(0.114s)

该错误有时也会以LIBUSB_ERROR_TIMEOUT 的形式出现。

我阅读了所有能找到的关于 libusb 错误的现有主题,但没有一个能帮到我。

如果您有任何建议或意见,我们将不胜感激。

Re: IMX93 uuu libusb error

嗨,@jamesfowkes

感谢您联系恩智浦支持中心。


据我了解,你使用的是自定义主板。能否请您确认一下?


您是否按照我们的移植指南移植了我们的软件以匹配主板上的硬件?


此外,您能否尝试使用最新版本的UUU 工具


您是否完成了 DDR 培训并为硬件生成了相应的时序文件?


致以最崇高的敬意,
Chavira

Re: IMX93 uuu libusb error

您好,

是的,我们使用的是自定义板。

我已经使用了最新版本的 `uuu`,但行为没有变化。

我们可以成功启动映像并从 SD 卡运行,因此问题仅限于 USB 启动。

Tags (1)
No ratings
Version history
Last update:
‎06-12-2026 02:32 AM
Updated by: