iMX USB loader error

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

iMX USB loader error

4,929 Views
logifrancis
Contributor III

Hi,

We have designed a board with iMx6Q processor. We are doing bringup of that board. voltages, clock etc is tested OK. Using DDR Stress tool, we have verified the memory in the board too. Now we were trying to use iMX USB Loader and boot the board from memory. We installed iMX USB loader in a Ubuntu machine. powered up the board, put the boot mode as serial download and connected USB OTG port to Ubuntu machine. But when we try to load Uboot image, we were getting error that it is not able to open the device. The log message is given below for information. Can anyone help in identify the issue?

qwave@qwave-OptiPlex-3020:~$ lsusb
Bus 002 Device 002: ID 8087:8000 Intel Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 154b:6000 PNY 
Bus 003 Device 003: ID 413c:301a Dell Computer Corp. 
Bus 003 Device 002: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
Bus 003 Device 005: ID 045e:0750 Microsoft Corp. Wired Keyboard 600
Bus 003 Device 006: ID 15a2:0054 Freescale Semiconductor, Inc. i.MX 6Dual/6Quad SystemOnChip in RecoveryMode
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
qwave@qwave-OptiPlex-3020:~$ cd imx_usb_loader/
qwave@qwave-OptiPlex-3020:~/imx_usb_loader$ ./imx_usb ../u-boot-imx6q.imx 
config file <.//imx_usb.conf>
vid=0x066f pid=0x3780 file_name=mx23_usb_work.conf
vid=0x15a2 pid=0x004f file_name=mx28_usb_work.conf
vid=0x15a2 pid=0x0052 file_name=mx50_usb_work.conf
vid=0x15a2 pid=0x0054 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0061 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0063 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0071 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x007d file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0080 file_name=mx6_usb_work.conf
vid=0x1fc9 pid=0x0128 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0076 file_name=mx7_usb_work.conf
vid=0x1fc9 pid=0x0126 file_name=mx7ulp_usb_work.conf
vid=0x15a2 pid=0x0041 file_name=mx51_usb_work.conf
vid=0x15a2 pid=0x004e file_name=mx53_usb_work.conf
vid=0x15a2 pid=0x006a file_name=vybrid_usb_work.conf
vid=0x066f pid=0x37ff file_name=linux_gadget.conf
vid=0x1b67 pid=0x4fff file_name=mx6_usb_sdp_spl.conf
vid=0x0525 pid=0xb4a4 file_name=mx6_usb_sdp_spl.conf
config file <.//mx6_usb_work.conf>
parse .//mx6_usb_work.conf
Trying to open device vid=0x15a2 pid=0x0054.........................
Could not open device vid=0x15a2 pid=0x0054
4 Replies

3,502 Views
logifrancis
Contributor III

Thanks Weidong Sun. I tried using the MFG tools. But it is not opening. I will put another query on that. Thanks.

0 Kudos
Reply

3,503 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello Logi ,

    imx_usb_loader is not NXP official tools, please use MFG tools to download images to your board via USB OTG port on windows platform.


Have a great day,
TIC   weidong sun

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

3,503 Views
logifrancis
Contributor III

Thanks Gary. After adding 'sudo' in front of the imx_usb command, it worked. Thank you for the help.

0 Kudos
Reply

3,503 Views
gary_bisson
Senior Contributor III

Hi Francis,

This most likely mean that you haven't set the permissions for this USB device to your user.

Have you tried using 'sudo' in front of the imx_usb command?

Regards,

Gary