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

Document created by Wigros Sun Employee on Feb 25, 2019
Version 1Show Document
  • View in full screen mode

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:

                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.

Press “Install WCID Driver” Button

(4) Downloading Android SDK Manager

Download SDK Manager from :

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

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

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

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/evaluation-kit-for-the-i.mx-8m-applications-processor:MCIMX8M-EVK?tab=Design_Tools_Tab

 

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

(2) Downloading UUU Tool

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

 

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

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

---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.

Right button, click “update driver”

Close it.

          Then downloading operations will be automatically continued.

OK, done.

 

 

NXP TIC team Weidong Sun

02-25-2019

1 person found this helpful

Attachments

    Outcomes