How to handle issue on “Waiting for devices” when downloading android images to i.MX8MQ MEK via UUU Tools

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

How to handle issue on “Waiting for devices” when downloading android images to i.MX8MQ MEK via UUU Tools

How to handle issue on “Waiting for devices” when downloading android images to i.MX8MQ MEK via UUU Tools

Descriptions on the issue:

  1. running “uuu uuu-android-mx8mq-evk-emmc.lst

No any problem, downloading images is OK.

  1. running “uuu_imx_android_flash.bat -f imx8mq -a -e

Below lines will be showed on windows console:

flash the file of u-boot-imx8mq.imx to the partition of bootloader0

<waiting for any devices>

            Then downloading operation stopped.

------------------------------------------------------------------------

                In order to help uses save development time, I tested above 2 commands for downloading images on windows 7 64bit and windows 10 64bit respectively.

                Below is detailed steps for the operation:

  1. Hardware Preparations

(1) Switch SW802 on i.MX8MQ EMEK, set 1-4 off, 2-3 on

i.MX8MQ is at usb serial download mode.

(2) Connecting J1701 to PC USB by a USB OTG cable.

(3) Connecting J901(usb type c) to PC USB by a USB 3.0 cable.

(4) Plugging 12V@3.5A adapter into Power Jack (J902)

(5) Power on I.MX8MQ board via SW701 Switch

  1. Software Preparations

(1) Related windows drivers for i.MX8MQ MEK

                Windows 7 64bit or windows 10 64bit will find new devices and begin to search and install corresponding drivers, like below:

pastedImage_1.png

                Probably windows 10 64bit can’t automatically install CP2105 driver from official website of manufacture:

https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers

                Then installed it manually.

(2) Power off i.MX8MQ MEK

(3) Installing winusb driver by zadig

                According to method described in uuu.pdf, download zadig tool from https://zadig.akeo.ie/, and install it to windows 7 64bit .

[Note] windows 10 64bit doesn’t need to install winusb driver.

pastedImage_2.png

pastedImage_3.png

Press “Install WCID Driver” Button

pastedImage_4.png

(4) Downloading Android SDK Manager

Download SDK Manager from :

http://visualgdb.com/android/install_redir?item=SDK

pastedImage_5.png

After downloading it, decompress it, and run SDK Manager application:

pastedImage_6.png

pastedImage_7.png

pastedImage_8.png

pastedImage_9.png

Press OK.

Then press “Close”

Close SDK Manager Installation Guide .

Find the directory of SDK Manager installation, and enter into “platform-tools”, like below:

D:\i.MX8-Projects\IMX8MQ-MEK-windows-drivers\android-sdk_r24.4.1-windows\android-sdk-windows\platform-tools

pastedImage_10.png

Copy items in blue rectangle to C:\windows\system

Copy items in red rectangle to C:\windows\system32

 

 

  1. Beginning to download android images to I.MX8MQ MEK via UUU Tool

(1) Downloading android DEMO images for i.MX8MQ MEK

https://www.nxp.com/support/developer-resources/software-development-tools/i.mx-developer-resources/...

pastedImage_11.png

After downloading it, decompress it to a directory.  Like below:

pastedImage_12.png

(2) Downloading UUU Tool

https://github.com/NXPmicro/mfgtools/releases

pastedImage_13.png

After downloading uuu.exe,  copy it to the directory of android 9.0 demo image , see above.

(3) Run command “uuu_imx_android_flash.bat -f imx8mq -a -e

----Power on i.MX8MQ MEK.

----open a command line window

pastedImage_14.png

---open Hyper terminal ( set it 115200 bps)

pastedImage_15.png

---run “uuu_imx_android_flash.bat -f imx8mq -a -e

          For windows 10 64bit, downloading images will be done without any errors.

   But for windows 7 64bit, downloading images will stop at “ waiting for any devices”.

   It means Android ADB driver will be needed. Follow the steps below to solve the problem.

pastedImage_16.png

pastedImage_20.png

Right button, click “update driver”

pastedImage_21.png

pastedImage_22.png

pastedImage_23.png

pastedImage_24.png

Close it.

pastedImage_25.png

          Then downloading operations will be automatically continued.

pastedImage_26.png

pastedImage_27.png

OK, done.

NXP TIC team Weidong Sun

02-25-2019

Comments

According to this file, the problem of imx8mq evk platform is still not solved on my windows10 64-bit. It's still "waiting for any devices"!!

No ratings
Version history
Last update:
‎02-25-2019 02:17 AM
Updated by: