Hello,
I am having issues using uuu to flash an IMX93 (MIMX9352CVVXMAB).
I am using Ubuntu 24.04.4 and uuu version:
uuu (Universal Update Utility) for nxp imx chips -- lib1.5.141
I can successfully flash the MCU on an IMX93EVK so I am confident that the laptop and software are not the issue.
The boot pins on the MCU are set to 0001 and the MCU is detected when powered.
dmesg output:
[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 output:
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
But when I try and flash the 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)
This error sometimes also appears as a LIBUSB_ERROR_TIMEOUT.
I have read through all the existing threads I can find about libusb errors but none have helped me.
Any suggestions or advice are appreciated.