Hi there,
I'm hoping this is a newbie problem that has a newbie solution. I'm trying to flash a FRDM-IMX93 board using the latest UUU (Release uuu_1.5.233), and whether I use a Windows 11 host or a Linux (Ubuntu 24.04.03 LTS) host, I always get a LIBUSB error immediately.
On my FRDM-IMX93, I have a chip marked "MIMX9352 CVVXMAB 1P87F SBBD2427F". Breaking down the part number, it's an IMX93 with industrial temp (C), 11x11 BGA (VV), no add'l info (X), 1.7 GHz (M), no special fuse (A), and silicon rev 2.0 (B). Based on other docs I've seen (e.g. Digi), xxxxxxB indicates step A1 silicon, while xxxxxxA would indicate step A0 silicon. Thus, I don't appear (hopefully) to have the issue of the latest UUU not supporting the early-rev A0 silicon.
I created my repo:
repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-walnascar -mimx-6.12.34-2.1.0.xml
I set up my build:
DISTRO=fsl-imx-xwayland MACHINE=imx93-11x11-lpddr4x-frdm source imx-setup-release.sh -b build
And I ran my build:
bitbake imx-image-multimedia
And three hours later, I had a successful build (just warnings about ftp.gnu.org mirrors and TMPDIR usage).
So I went into the images directory and tried to program the FRDM-IMX93 board. I flipped the DIP switches to 0001 (serial bootloader, Cortex-A55), and I verified that I had a connected board:
dmarks@Perseus:~/yocto/frdm-imx93/build/tmp/deploy/images/imx93-11x11-lpddr4x-frdm$ sudo uuu -lsusb
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.233-0-g79ce7d2
Connected Known USB Devices
Path Chip Pro Vid Pid BcdVersion Serial_no
====================================================================
1:12 MX93 SDPS: 0x1FC9 0x014E 0x0001 393792579FA24D4E
And I issued the UUU command to flash the device (with verbosity on), and got this:
dmarks@Perseus:~/yocto/frdm-imx93/build/tmp/deploy/images/imx93-11x11-lpddr4x-frdm$ sudo uuu -V -b sd u-boot-sd-2025.04-r0.bin
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.233-0-g79ce7d2
Build in config:
Pctl Chip Vid Pid BcdVersion Serial_No
==================================================
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: MX91 0x1fc9 0x0159
SDPS: MX95 0x1fc9 0x015d
SDPS: MX95 0x1fc9 0x015c
SDPS: MX943 0x1fc9 0x0027
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 u-boot-sd-2025.04-r0.bin
# This command will be run when ROM support stream mode
# i.MX8QXP, i.MX8QM
SDPS: boot -f u-boot-sd-2025.04-r0.bin
# 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 u-boot-sd-2025.04-r0.bin -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 u-boot-sd-2025.04-r0.bin -skipspl
SDPV: jump
# }
FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev ${sd_dev}
FB: ucmd mmc dev ${sd_dev}
FB: flash bootloader u-boot-sd-2025.04-r0.bin
FB: Done
Wait for Known USB Device Appear...
New USB Device Attached at 1:12-393792579FA24D4E
1:12-393792579FA24D4E>Start Cmd:SDPS: boot -f u-boot-sd-2025.04-r0.bin
1:12-393792579FA24D4E>Fail HID(W): LIBUSB_ERROR_IO (-1)(0.006s)
Rebooting the FRDM board did nothing to change this. Also, switching to a Windows host did nothing to change this.
C:\>uuu -lsusb
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.233-0-g79ce7d2
Connected Known USB Devices
Path Chip Pro Vid Pid BcdVersion Serial_no
====================================================================
2:1111 MX93 SDPS: 0x1FC9 0x014E 0x0001 393792579FA24D4E
C:\>uuu -b sd u-boot-sd-2025.04-r0.bin
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.233-0-g79ce7d2
Success 0 Failure 1
2:1111-39379 1/ 1 [HID(W): LIBUSB_ERROR_PIPE (-9) ] SDPS: boot -f u-boot-sd-2025.04-r0.bin
So, in summary, I'm 99% sure I have A1 silicon on my FRDM-IMX93, I built my image using the commands above on a supported Linux host, I've verified the presence of the serial downloader, but UUU just refuses to run on Linux or Windows, and the error message is rather unhelpful.
Ideas?
Dana M.