Hello,
I'm trying to deploy an AHAB image onto my custom board embedding an i.MX93.
I am following this user guide and have reached the step Image Download step.
Unfortunately, `UUU` appears to be failing:
```
$ nxpuuu -vv -us F06FBE4B3F6142C2 write -f mimx9352 -b emmc ahab_image.bin
spsdk.exceptions.SPSDKError: SPSDK: run_script: returned with exit code -1 and status 0.
```
The same thing happens if I try to run `nxpuuu` with the following script:
```
uuu_version 1.2.39
SDPS: boot -f "ahab_image.bin"
```
If I now try with `uuu` instead, I get a LIBUSB error:
```
3:534-F06FBE 1/ 1 [HID(W): LIBUSB_ERROR_IO (-1) ] SDPS: boot -f "ahab_image.bin"
```
However, the same commands with a different, non-AHAB image, succeed:
```
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.201-0-g727fc2b
Success 0 Failure 0
3:534-F06FBE 1/ 1 [=================100%=================] SDPS: boot -f "imx-boot-imx93.bin-flash_singleboot"
```
Hi, thanks for the report and the logs.
A couple of quick clarifiers and checks usually resolve this kind of early SDPS failure on i.MX93:
1) What are you trying to do exactly?
Are you:
If it’s (B), the simplest path is to sign the already bootable image with SPSDK’s nxpimage ahab sign (i.e., sign-in-place) rather than rebuilding containers from scratch. (see the example: https://spsdk.readthedocs.io/en/latest/examples/ahab/imx95/imx95_ahab_sign.html)
Verify first
nxpimage bootable-image verify -f mimx9352 -b imx-boot-imx93.bin-flash_singleboot -m serial_downloader
Then sign-in-place
nxpimage ahab sign -f mimx9352 -b imx-boot-imx93.bin-flash_singleboot -o signed_flash.bin -c sign_config.yaml
This approach keeps the image layout that we already know SDPS can load on your board.
2) Why does SDPS abort (LIBUSB_ERROR_IO / exit -1) with your ahab_image.bin?
The symptoms you see usually mean the SoC resets very early during download/hand‑off, which breaks the USB link and shows up as LIBUSB_ERROR_IO in uuu. Common causes:
nxpimage bootable-image verify -f mimx9352 -b ahab_image.bin -m serial_downloader
Regards,
Marek Vitula