Hello All,
I'm looking for a recovery solution for a custom board based on i.MX93. We have IoT devices based on i.MX93 with:
- Bootloader: SPI Flash (eFuses burned to boot from SPI only)
- Root filesystem: eMMC
Issue: Customers occasionally brick devices by removing power during bootloader upgrades. When bricked, the i.MX93 automatically enters Serial Download Protocol (SDP) mode and the device shows up as a USB device waiting for UUU commands.
I can successfully recover bricked devices by reflashing the bootloader using:
sudo uuu -b edge-pro.lst imx-boot ahab_bootable_fspi_otfad.bin
sudo uuu FB: acmd reset
This restores the SPI flash bootloader perfectly, but requires on-site technician with a laptop - UUU utility installed and some technical knowledge.
What I'm looking for a "plug-and-play USB recovery solution" where an on-site technician can:
1. Plug a USB flash drive into the bricked i.MX93 device
2. Power on the device
3. USB flash drive automatically runs UUU and restores the bootloader
4. Device reboots and works normally
Basically, a "bootable USB flash drive" that acts as a USB host and automatically executes the UUU recovery process when it detects the i.MX93 in SDP mode.
Questions
1. Is there any way to make a USB flash drive that can act as a USB host and run UUU to recover an i.MX93 in SDP mode?
2. Are there any commercial or DIY solutions that provide automated USB-based recovery for i.MX devices without requiring a laptop?
3. Has anyone created a recovery solution using something like:
-USB flash drive with embedded Linux?
- Small single-board computer (Raspberry Pi Zero, etc.) as a recovery dongle?
-Dedicated recovery hardware?
4. Are there any NXP-provided tools or methods for field recovery that don't require a full laptop setup?
I only need to restore the SPI flash bootloader - the eMMC rootfs is never affected. Since the i.MX93 reliably enters SDP mode when the bootloader is corrupted, we just need something that can automatically run UUU commands.
Any suggestions or pointers to existing solutions would be greatly appreciated!
Environment:
- SoC: NXP i.MX93
- Boot: SPI Flash via FlexSPI (eFuse configured)
- Storage: eMMC
- Recovery tool: UUU (mfgtools)
Thank you,
Nitesh