IMX8 Nano - UUU to Flash

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

IMX8 Nano - UUU to Flash

Jump to solution
1,094 Views
JWB4-AZ
Contributor II

Board Type: NXP i.MX8MNano LPDDR4 EVK board

Why does UUU qspi write to flash not result in U-boot running with correct boot settings and powered ON? See Test 1 below. The same process works successfully when using eMMC storage.
Note that also I tried the UUU "nand" option, but UUU fails.

Test 1 (qspi):
##############
Power OFF.
Set boot switch to Download Mode.
Power ON
Issue uuu.exe command (Windows 11 Powershell).
PS D:\downloads\uuu_source-1.4.243> ./uuu.exe -b qspi imx8-boot-sd.bin

uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.243-0-ged48c51
Success 1 Failure 0
2:13 9/ 9 [Done ] FB: done

Power OFF
Set boot switch to NAND Flash.
Power ON
Nothing occurs.

Test 2 (emmc):
##############
Power OFF.
Set boot switch to Download Mode.
Power ON
Issue uuu.exe command (Windows 11 Powershell).
PS D:\downloads\uuu_source-1.4.243> ./uuu.exe -b emmc imx8-boot-sd.bin

uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.243-0-ged48c51
Success 1 Failure 0
2:13 7/ 7 [Done ] FB: Done

Power OFF
Set boot switch to eMMC.
Power ON.
U-Boot starts as expected with my U-Boot Version.

Tags (2)
0 Kudos
1 Solution
1,079 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

I notice that you’re actually using the wrong binary since you’re trying to flash an SD boot image instead of one for Flexspi.

You may download the demo image and try with that, by using the following command:
./uuu.exe -b qspi imx-boot-imx8mnevk-fspi.bin-flash_evk_flexspi

Demo image is available for download here:
https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

Best regards,
Aldo.

View solution in original post

0 Kudos
4 Replies
1,076 Views
JWB4-AZ
Contributor II

Aldo,

That was the information I needed!

Thanks,

John

0 Kudos
1,083 Views
JWB4-AZ
Contributor II

Aldo,

I tried both the settings for "QSPI 3B Read" and "QSPI Hyperflash 3.3V" boot selections. In neither case does the i.MX 8M Nano LPDRR4 EVK boot. As stated initially, the uuu command reports success when targeting QSPI, but fails to boot. When targeting eMMC memory - uuu reports success and the board boots.

Thanks for your prompt response,

John

0 Kudos
1,080 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

I notice that you’re actually using the wrong binary since you’re trying to flash an SD boot image instead of one for Flexspi.

You may download the demo image and try with that, by using the following command:
./uuu.exe -b qspi imx-boot-imx8mnevk-fspi.bin-flash_evk_flexspi

Demo image is available for download here:
https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

Best regards,
Aldo.

0 Kudos
1,088 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Please note that you're actually flashing the MT25QU256ABA1EW, the QSPI memory is connected to the FlexSPI interface of i.MX 8M Nano LPDRR4 EVK, so you'll need to set switches to boot from QSPI not NAND.

Please refer to the following document on how to set the dip switch, chapter 2.2 Boot mode and boot device configurations:
https://www.nxp.com/webapp/Download?colCode=IMX8MNLPD4EVKHUG

Best regards,
Aldo.

0 Kudos