Dear team,
I am working with 8MNANOD4-EVK (imx8 nano evk) and I was trying to program/update the lasted image (LF_v5.10.52-2.1.0_images_IMX8MNEVK) using UUU tool and got the following error.
C:\NXP\LF_v5.10.52-2.1.0_images_IMX8MNEVK>uuu -b emmc_all imx-boot-imx8mnevk-sd.bin-flash_evk imx-image-full-imx8mnevk.wic
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.165-0-ge10b026
Success 0 Failure 1
1:2 1/ 1 [HID(W):LIBUSB_ERROR_TIMEOUT ] SDPS: boot -scanterm -f imx-boot-imx8mnevk-sd.bin-flash_evk
I also used the verbose mode (by adding -v before the -b run) and I got the following log
C:\NXP\LF_v5.10.52-2.1.0_images_IMX8MNEVK>uuu -v -b emmc_all imx-boot-imx8mnevk-sd.bin-flash_evk imx-image-full-imx8mnevk.wic
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.165-0-ge10b026
Build in config:
Pctl Chip Vid Pid BcdVersion
==================================================
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
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]
SDPU: SPL 0x0525 0xb4a4 [0x9999..0x9999]
SDPU: SPL 0x3016 0x1001 [0x0000..0x04ff]
SDPV: SPL1 0x3016 0x1001 [0x0500..0x9998]
FBK: 0x066f 0x9afe
FBK: 0x066f 0x9bff
FB: 0x0525 0xa4a5
FB: 0x18d1 0x0d02
FB: 0x3016 0x0001
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-imx8mnevk-sd.bin-flash_evk
# This command will be run when ROM support stream mode
# i.MX8QXP, i.MX8QM
SDPS: boot -scanterm -f imx-boot-imx8mnevk-sd.bin-flash_evk
# 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-imx8mnevk-sd.bin-flash_evk -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 imx-boot-imx8mnevk-sd.bin-flash_evk -skipspl -scanterm
SDPV: jump
# }
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-imx8mnevk.wic
FB: flash -scanterm bootloader imx-boot-imx8mnevk-sd.bin-flash_evk
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 1:2
1:2>Start Cmd:SDPS: boot -scanterm -f imx-boot-imx8mnevk-sd.bin-flash_evk
1:2>Fail HID(W):LIBUSB_ERROR_TIMEOUT(1.015s)
Do you have any idea what could cause this issue, Waiting for your kind feedback?
Thanks in adveace
KR,
Shai
Your i.MX8MN board MNANOD4-EVK (imx8 nano evk) clearly is DDR4 board not LPDDR4.
The default image is for lpddr4.
In the LF_v5.10.52-2.1.0_images_IMX8MNEVK,imx-boot-imx8mnddr4evk-sd.bin-flash_ddr4_evk is for ddr4 board.
And imx-boot-imx8mnevk-sd.bin-flash_evk is a default image for lpddr4 board.
imx-image-multimedia-imx8mnevk.wic is with default lpddr4 bootloader not ddr4 bootloader.
You need to use the following command to flash the ddr4 8mn board.
uuu -b emmc_all imx-boot-imx8mnddr4evk-sd.bin-flash_ddr4_evk imx-image-multimedia-imx8mnevk.wic
I'm getting same issues with the 8MNANOD4-EVK, with a Ubuntu22 as host machine and with HID decetion with lsusb, in fact, i can run
sudo uuu -v LF_v6.1.1_1.0.0_images_IMX8MNEVK/uuu.auto-imx8mnevk
And if no USB HID is connected the screen remainds as
Until the usb is connected,
The Dmesg shows as HID usb is recognized
Unfortunately this not happend if you try re-pluging the download usb after uuu error
The Debug OTG connection with imx8mnEVK show a uboot error related with DDR
Any advice on how to handle this? It happens in the same way following the generation of images through Yocto.
firstly pls check if your boot mode setting is correct, after connecting your board with PC, could you find your board in the "Human Interface Devices" of "device manager"?
I encountered the same problem(LIBUSB_ERROR_IO) while burning the MCIMX6Q-SDB board .
How to set the boot mode for the MCIMX6Q-SDB board(https://www.nxp.com/design/development-boards/i-mx-evaluation-and-development-boards/sabre-board-for...)?Its Boot mode0 pin and Boot mode1 pin has not provided for user to set.