Flashing i.MX8QX MEK evaluation board's SPI flash with SCU FW

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

Flashing i.MX8QX MEK evaluation board's SPI flash with SCU FW

1,377 Views
Ramprakash
Contributor II

Hello All,

I am trying to flash a i.MX8QX MEK board with SCU FW developed using a SCU Porting guide. I am trying to use UUU to establish serial communication with the board. But when I run the UUU utility in linux virtual machine I am getting  the output as "Wait for USB device to appear...". I followed the same steps as given in the link: 

https://imxdev.gitlab.io/tutorial/How_to_use_UUU_to_flash_the_iMX_boards/

How to fix this issue?

Thanks and Regards,

Ramprakash

0 Kudos
8 Replies

1,372 Views
igorpadykov
NXP Employee
NXP Employee

Hi Ramprakash

 

reason may be in uuu version   https://github.com/NXPmicro/mfgtools/releases

or incompatibility of other software components (scfw, uboot. linux kernel).

Necessary versions can be found in Table 2. Release contents

Release Notes included in BSP documentation on link

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

 

Best regards
igor

0 Kudos

1,361 Views
Ramprakash
Contributor II

Dear @igorpadykov ,

 

Thanks for the reply.

 

I did go through the Linux Release notes. And I found that the linux version used in the board is Linux 4.14.98_2.3.0, UUU is 1.3.154, and the dip switch is set to 0001. I tried with the correct version for both but still the issue persist. 

How to check the compatibility of SCFW, Uboot?

Thanks and Regards,

Ramprakash

0 Kudos

1,358 Views
igorpadykov
NXP Employee
NXP Employee

Hi Ramprakash

 

for "Wait for USB device to appear..." may be useful :

 

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-handle-issue-on-Waiting-for-devic...

 

>How to check the compatibility of SCFW, Uboot?

 

for Linux 4.14.98_2.3.0 uboot imx_v2018.03_4 should be used

https://source.codeaurora.org/external/imx/uboot-imx/tree/?h=imx_v2018.03_4.14.98_2.3.0

SCFW v.1.3.0 SCFW Porting Kit

One can try to flash with uuu Demo Image  i.MX 8QuadXPlus (C0) MEK

 

Best regards
igor

0 Kudos

1,320 Views
Ramprakash
Contributor II

Dear @igorpadykov,

Thanks for the reply.

I am currently using Ubuntu 20.4 Virtual Machine running in a MacBook. I now tried to use the SCFW v1.3,  linux 4.14 along with the UUU 1.3 and the latest UUU 1.4.72 but still the "Wait for USB device to appear.." appears. 

I used lsusb and the type C cable to J10 port is not recognized even though it is connected. Do you have further thoughts on this?

 

Thanks and Regards,

Ramprakash

 

 

Tags (1)
0 Kudos

1,268 Views
igorpadykov
NXP Employee
NXP Employee

Hi Ramprakash

 

per uuu documentation sect.Running environment supported only windows platforms :

https://github.com/NXPmicro/mfgtools/releases/download/uuu_1.4.72/UUU.pdf

 

Best regards
igor

0 Kudos

1,302 Views
igorpadykov
NXP Employee
NXP Employee

Hi Ramprakash

 

one can try with other computer, also may be useful:

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-handle-issue-on-Waiting-for-devic...

 

Best regards
igor

0 Kudos

1,277 Views
Ramprakash
Contributor II

Hi @igorpadykov ,

I have now tried to connect the same setup to a new machine running ubuntu 16 and I am able to recognize both Type C port and the serial debug port.

But when the same setup is connected to Macbook it is not recognized. Does mac computers require any other drivers? I have tried to install FTDI and Silicon Labs drivers in mac but it does not solve the issue. The NXP board is not recognized in the mac.

 

Thanks and Regards,

Ramprakash

0 Kudos

1,258 Views
Ramprakash
Contributor II

Dear @igorpadykov ,

 

When connecting to a machine with native linux installation running Ubuntu 16.4 I am able to recognize both the USB ports: 

Bus 001 Device 006: ID 0403:6010 Future Technology Devices International, Ltd 

Bus 003 Device 003: ID 1fc9:012f NXP Semiconductors

But the same setup is not recognized in a Macbook. I am able to see only the "Bus 001 Future Tech devices" and not the "Bus 003" USB type C port. I have installed the drivers for Mac from silicon labs and FTDI chips

Silicon labs: https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers

FTDI: https://ftdichip.com/drivers/vcp-drivers/

I just wanted to check if Mac OS requires any other driver installation to recognize the NXP board.

 

Thanks and Regards,

Ramprakash

 

0 Kudos