Can't flash through serial downloader.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can't flash through serial downloader.

1,122 Views
sbmd_1234
Contributor II

Hi 

I am trying to flash the imx93 evk board through the uuu command by putting the board's boot mode switch into serial downloader but I am getting the below error :

uuu -b emmc_all u-boot-imx93-11x11-lpddr4x-evk.bin core-image-minimal-imx93-11x11-lpddr4x-evk-20240329072830.rootfs.tar.zst
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.182-0-gda3cd53

Success 0 Failure 1


3:7-CA95C0A2 1/ 1 [HID(W): LIBUSB_ERROR_TIMEOUT (-7) ] SDPS: boot -scanterm -f u-boot-imx93-11x11-lpddr4x-evk.bin -scanlimited 0x800000

 

uuu version is : 

uuu -version
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.182-0-gda3cd53

Please help me to resolve this issue whether I am using correct syntax of the uuu command or any other step I missed.

Thanks.
Shubham

 

0 Kudos
Reply
8 Replies

1,081 Views
sbmd_1234
Contributor II

Hi

I am trying this command :

uuu -b emmc_all imx-boot-imx93-11x11-lpddr4x-evk-sd.bin-flash_singleboot core-image-minimal-imx93-11x11-lpddr4x-evk-20240620121948.rootfs.wic

it is giving an error like :

3:4-CA95C0A2 1/ 1 [HID(W): LIBUSB_ERROR_TIMEOUT (-7) ] SDPS: boot -scanterm -f imx-boot-imx93-11x11-lpddr4x-evk-sd.bin-flash_singleboot -sca

Although I have tried changing the USB cable also, checked the BOOT MODE switch i.e (0011) still no change same error is coming what other necessary actions I can take to resolve this issue please suggest as I guess I am not doing anything wrong here.

Thanks & regards
Shubham 

0 Kudos
Reply

1,109 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi

Try to change the bootloader to as like imx-boot-imx93evk-sd.bin-flash_singleboot

 

Regards

Harvey

0 Kudos
Reply

1,094 Views
sbmd_1234
Contributor II
Hi
I have tried this too but it was throwing the same error.
0 Kudos
Reply

1,085 Views
Harvey021
NXP TechSupport
NXP TechSupport

What is the SoC Si-Re and BSP version, is that A0?

Regards

Harvey

0 Kudos
Reply

1,038 Views
sbmd_1234
Contributor II

Hi

I am working on soc's cortex A55 core and using version 
6.1-mickledore BSP version.

can you suggest what to do?

Thanks
Shubham

0 Kudos
Reply

1,036 Views
Harvey021
NXP TechSupport
NXP TechSupport

One possible causing is that your current silicon is not working with the 6.1-mickledore BSP version.

Have a try to use new BSP, such as, 6.1.55 or 6.6.3 - IMXLINUX 

 

Regards

Harvey

0 Kudos
Reply

1,020 Views
sbmd_1234
Contributor II
Hi

I have tried with the BSP version 6.1.55 and 6.6.3 still getting the issue.

Here is the full output log :
uuu -v -b emmc_all imx-boot-imx93-11x11-lpddr4x-evk-sd.bin-flash_singleboot imx-image-full-imx93evk.wic
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.182-0-gda3cd53

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
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-11x11-lpddr4x-evk-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-11x11-lpddr4x-evk-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-11x11-lpddr4x-evk-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-11x11-lpddr4x-evk-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-image-full-imx93evk.wic
FB: flash -scanterm -scanlimited 0x800000 bootloader imx-boot-imx93-11x11-lpddr4x-evk-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-CA95C0A2A56B4856
3:1-CA95C0A2A56B4856>Start Cmd:SDPS: boot -scanterm -f imx-boot-imx93-11x11-lpddr4x-evk-sd.bin-flash_singleboot -scanlimited 0x800000
3:1-CA95C0A2A56B4856>Fail HID(W): LIBUSB_ERROR_TIMEOUT (-7)(20s)


0 Kudos
Reply

1,088 Views
sbmd_1234
Contributor II

Hi

Any suggestions regarding this how can I solve this problem?

0 Kudos
Reply