2415494_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

2415494_en-US

2415494_en-US

imx93 – USB Disconnect During UUU Serial Downloader Boot

Dear NXP Team,

We are currently debugging our i.MX93 custom board using the MIMX9352AVTXMAC processor. Our board uses LPDDR4 with a two-rank memory configuration.

We are trying to program the onboard eMMC using UUU (Universal Update Utility). The board is configured in Serial Downloader / USB boot mode.

The i.MX93 is detected correctly by UUU:

uuu -lsusb
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.243-10-g59c7638

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


We are using the following command to program the eMMC:

sudo uuu -v -b emmc_all \ imx-boot-imx93evk-sd.bin-flash_singleboot \ image-imx93evk-20260905081644.rootfs.wic.zst

UUU detects the i.MX93 and starts the SDPS boot command. However, immediately after starting the bootloader transfer, the USB connection is lost.

The relevant UUU log is:

uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.243-10-g59c7638

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
  SDPS:   MX952/IMX937   0x1fc9   0x0028
  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
  FB:        0x1d6b   0x0104


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-imx93evk-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-imx93evk-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-imx93evk-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-imx93evk-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 imx-boot-imx93evk-sd.bin-flash_singleboot
FB: flash -scanterm -scanlimited 0x800000 bootloader imx-boot-imx93evk-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:1-6A440AB426084436
3:1-6A440AB426084436>Start Cmd:SDPS: boot -scanterm -f imx-boot-imx93evk-sd.bin-flash_singleboot -scanlimited 0x800000
3%3:1-6A440AB426084436>Fail HID(W): LIBUSB_ERROR_NO_DEVICE (-4)(0.024s)

While sending the boot command, we also monitored the Linux USB messages using dmesg.

The i.MX93 USB device is disconnected and then enumerates again, refer the attached screenshot of the dmesg.

We would appreciate your guidance on the following questions:

  1. Is this USB disconnect/re-enumeration expected during the i.MX93 SDPS bootloader handoff when using UUU?
  2. What does the following error indicate in this specific situation? Fail HID(W): LIBUSB_ERROR_NO_DEVICE (-4)
  3. Are there any specific requirements for the following signals during the SDPS-to-SPL/U-Boot handoff that we should verify on the custom board?

    • POR_B
    • RESET_B
    • USB_VBUS
    • USB_DP/DM
    • Processor power rails
    • LPDDR4 power rails
    • System/reference clocks
     
  4. Could you please provide a reference design, or software/boot configuration example for the i.MX93 MIMX9352AVTXMAC with a two-rank LPDDR4 memory configuration? In particular, we would like to confirm the recommended LPDDR4 device configuration, memory initialization/training configuration, and corresponding IMX_BOOT/SPL configuration for a two-rank memory design.

We would appreciate your guidance on the above issue and request you to provide the relevant details, recommended configuration, and reference design/code for the two-rank LPDDR4 configuration.

Thanks & Regards,

Abishek

Re: imx93 – USB Disconnect During UUU Serial Downloader Boot

Hi @pengyong_zhang ,

Please refer the attached LPDDR4 schematics and configuration .mex for your reference.

Regards,

Abishek

Re: imx93 – USB Disconnect During UUU Serial Downloader Boot

Hi @AbishekDevan 

1. This is not the expected behavior.

2. This error occurred because the device disconnected during the flashing process. please share the customer's DDR schematic file and configuration page.

B.R

Re: imx93 – USB Disconnect During UUU Serial Downloader Boot

Hi @AbishekDevan 

i cannot import your .mex file successfully. Please share a screenshot of your DDR configuration page.

B.R

タグ(1)
評価なし
バージョン履歴
最終更新日:
火曜日
更新者: