imx8ulp EVK-HID(W): LIBUSB_ERROR_PIPE (-9)

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

imx8ulp EVK-HID(W): LIBUSB_ERROR_PIPE (-9)

1,694 Views
MadKEm
Contributor I

Hi, i am following up the Getting Started with the i.MX 8ULP EVK document. In the part of loading bsp image into board using uuu.exe, i get an error which is HID(W): LIBUSB_ERROR_PIPE (-9) . the commands ı tried to execute are : uuu -b emmc_all imx-boot-imx8ulpevk-sd.bin-flash_singleboot_m33 and uuu.exe LF_v6.12.20-2.0.0_images_IMX8ULPEVK.zip. In the both execute i get the same error and in the serial port of the linux core, it says: [ERROR] DFI error. Please check DDR configuration. What could be the reason and solution?

0 Kudos
Reply
3 Replies

1,635 Views
MadKEm
Contributor I

I was able to program it currently. The problem was related to the released version of the packages. I downloaded the meta-imx Release - Linux 6.12.20-2.0.0 and extracted all the required files to build the flash image. Then it worked. The "ROM download failure" problem looks like it is related to u boot binaries.

0 Kudos
Reply

1,639 Views
MadKEm
Contributor I

Hello @pengyong_zhang

I even tried that but it didn't work. So, after all of this I downloaded Linux and followed the process below:

I downloaded the following packages and binaries to create the standalone image(flash.bin): uboot-imx.git, imx-atf.git,  firmware-sentinel-0.10.bin and  firmware-upower-1.3.0.bin. I have extracted all the required files from the mentioned packages to create the flash.bin. I used VSCode and imported evk9mimx8ulp_hello_world_cm33 project. I renamed the hello_world.bin to m33_image.bin. Then used imx-mkimage with the following command to generate the flash.bin "make SOC=iMX8ULP REV=A2 flash_singleboot_m33".  Then used "uuu -b emmc flash.bin" but after this ı get HID(W):LIBUSB_ERROR_TIMEOUT. In the serial port it prints:

"invalid container image 

Download -65712, Total size 0

ROM download failure -65712

Wrong Container, no image foundSPL: failed to boot from all boot devices"

These are the files that I use the generate the .bin file: mx8ulpa2-ahab-container.img, upower_a1.bin (fimware-upower-1.3.0), bl31.bin , u-boot.bin, u-boot-spl.bin and the m33_image.bin. Used command "make imx8ulp_evk_defconfig " to generate the u boot files.

 

 

 

 

0 Kudos
Reply

1,651 Views
pengyong_zhang
NXP Employee
NXP Employee

Hi @MadKEm 

you should run the uuu -b emmc < flash.bin>, or uuu -b emmc_all <.wic image>

please run the uuu -h see the uuu UG.

B.R

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2149035%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Eimx8ulp%20EVK-HID(W)%3A%20LIBUSB_ERROR_PIPE%20(-9)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2149035%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%20i%20am%20following%20up%20the%26nbsp%3B%3CSPAN%3EGetting%20Started%20with%20the%20i.MX%208ULP%20EVK%20document.%20In%20the%20part%20of%20loading%20bsp%20image%20into%20board%20using%20uuu.exe%2C%20i%20get%20an%20error%20which%20is%26nbsp%3BHID(W)%3A%20LIBUSB_ERROR_PIPE%20(-9)%20.%20the%20commands%20%C4%B1%20tried%20to%20execute%20are%20%3A%26nbsp%3Buuu%20-b%20emmc_all%20imx-boot-imx8ulpevk-sd.bin-flash_singleboot_m33%20and%20uuu.exe%26nbsp%3BLF_v6.12.20-2.0.0_images_IMX8ULPEVK.zip.%20In%20the%20both%20execute%20i%20get%20the%20same%20error%20and%20in%20the%20serial%20port%20of%20the%20linux%20core%2C%20it%20says%3A%26nbsp%3B%5BERROR%5D%20DFI%20error.%20Please%20check%20DDR%20configuration.%20What%20could%20be%20the%20reason%20and%20solution%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2149035%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EBoot%20ROM%7CBooting%20%7C%20Flash%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDevelopment%20Board%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EUSB%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2151459%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20imx8ulp%20EVK-HID(W)%3A%20LIBUSB_ERROR_PIPE%20(-9)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2151459%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20was%20able%20to%20program%20it%20currently.%20The%20problem%20was%20related%20to%20the%20released%20version%20of%20the%20packages.%20I%20downloaded%20the%20meta-imx%26nbsp%3BRelease%20-%20Linux%206.12.20-2.0.0%20and%20extracted%20all%20the%20required%20files%20to%20build%20the%20flash%20image.%20Then%20it%20worked.%20The%20%22ROM%20download%20failure%22%20problem%20looks%20like%20it%20is%20related%20to%20u%20boot%20binaries.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2151403%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20imx8ulp%20EVK-HID(W)%3A%20LIBUSB_ERROR_PIPE%20(-9)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2151403%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%40%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F202673%22%20target%3D%22_self%22%3E%3CSPAN%20class%3D%22%22%3Epengyong_zhang%3C%2FSPAN%3E%3C%2FA%3E%3C%2FP%3E%3CP%3EI%20even%20tried%20that%20but%20it%20didn't%20work.%20So%2C%20after%20all%20of%20this%20I%20downloaded%20Linux%20and%20followed%20the%20process%20below%3A%3C%2FP%3E%3CP%3EI%20downloaded%20the%20following%20packages%20and%20binaries%20to%20create%20the%20standalone%20image(flash.bin)%3A%20uboot-imx.git%2C%20imx-atf.git%2C%20%26nbsp%3Bfirmware-sentinel-0.10.bin%20and%20%26nbsp%3Bfirmware-upower-1.3.0.bin.%20I%20have%20extracted%20all%20the%20required%20files%20from%20the%20mentioned%20packages%20to%20create%20the%20flash.bin.%20I%20used%20VSCode%20and%20imported%20evk9mimx8ulp_hello_world_cm33%20project.%20I%20renamed%20the%20hello_world.bin%20to%20m33_image.bin.%20Then%20used%20imx-mkimage%20with%20the%20following%20command%20to%20generate%20the%20flash.bin%20%22make%20SOC%3DiMX8ULP%20REV%3DA2%20flash_singleboot_m33%22.%26nbsp%3B%20Then%20used%20%22uuu%20-b%20emmc%20flash.bin%22%20but%20after%20this%20%C4%B1%20get%20HID(W)%3ALIBUSB_ERROR_TIMEOUT.%20In%20the%20serial%20port%20it%20prints%3A%3C%2FP%3E%3CP%3E%22invalid%20container%20image%26nbsp%3B%3C%2FP%3E%3CP%3EDownload%20-65712%2C%20Total%20size%200%3C%2FP%3E%3CP%3EROM%20download%20failure%20-65712%3C%2FP%3E%3CP%3EWrong%20Container%2C%20no%20image%20foundSPL%3A%20failed%20to%20boot%20from%20all%20boot%20devices%22%3C%2FP%3E%3CP%3EThese%20are%20the%20files%20that%20I%20use%20the%20generate%20the%20.bin%20file%3A%20mx8ulpa2-ahab-container.img%2C%20upower_a1.bin%20(fimware-upower-1.3.0)%2C%20bl31.bin%20%2C%20u-boot.bin%2C%20u-boot-spl.bin%20and%20the%20m33_image.bin.%20Used%20command%20%22make%20imx8ulp_evk_defconfig%20%22%20to%20generate%20the%20u%20boot%20files.%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2150403%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20imx8ulp%20EVK-HID(W)%3A%20LIBUSB_ERROR_PIPE%20(-9)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2150403%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F253610%22%20target%3D%22_blank%22%3E%40MadKEm%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Eyou%20should%20run%20the%20uuu%20-b%20emmc%20%26lt%3B%26nbsp%3Bflash.bin%26gt%3B%2C%20or%20uuu%20-b%20emmc_all%20%26lt%3B.wic%20image%26gt%3B%3C%2FP%3E%0A%3CP%3Eplease%20run%20the%20uuu%20-h%20see%20the%20uuu%20UG.%3C%2FP%3E%0A%3CP%3EB.R%3C%2FP%3E%3C%2FLINGO-BODY%3E