Error when flashing 8MNano using UUU

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

Error when flashing 8MNano using UUU

Jump to solution
2,381 Views
tgibson
Contributor II

I'm trying to flash a i.MX 8Nano EVK board with the prebuilt linux images using Win10.  I set the jumpers to 1000 for SDP mode.

I run the command:

uuu -v L5.4.70-2.3.0_images_MX8MNEVK.zip/uuu.auto-imx8mnevk

and get the following:

========================

uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.43-0-ga9c099a

Build in config:
Pctl Chip Vid Pid BcdVersion
==================================================
SDPS: MX8QXP 0x1fc9 0x012f [0x0002..0xffff]
SDPS: MX8QM 0x1fc9 0x0129 [0x0002..0xffff]
SDPS: MX8DXL 0x1fc9 0x0147
SDPS: MX28 0x15a2 0x004f
SDPS: MX815 0x1fc9 0x013e
SDPS: MX865 0x1fc9 0x0146
SDP: MX7D 0x15a2 0x0076
SDP: MX6Q 0x15a2 0x0054
SDP: MX6D 0x15a2 0x0061
SDP: MX6SL 0x15a2 0x0063
SDP: MX6SX 0x15a2 0x0071
SDP: MX6UL 0x15a2 0x007d
SDP: MX6ULL 0x15a2 0x0080
SDP: MX6SLL 0x1fc9 0x0128
SDP: MX7ULP 0x1fc9 0x0126
SDP: MXRT106X 0x1fc9 0x0135
SDP: MX8MM 0x1fc9 0x0134
SDP: MX8MQ 0x1fc9 0x012b
SDPU: SPL 0x0525 0xb4a4 [0x0000..0x04ff]
SDPV: SPL1 0x0525 0xb4a4 [0x0500..0x9998]
SDPU: SPL 0x0525 0xb4a4 [0x9999..0x9999]
SDPU: SPL 0x3016 0x1001 [0x0000..0x04ff]
SDPV: SPL1 0x3016 0x1001 [0x0500..0x9998]
FBK: 0x066f 0x9afe
FBK: 0x066f 0x9bff
FB: 0x0525 0xa4a5
FB: 0x18d1 0x0d02
FB: 0x3016 0x0001
Wait for Known USB Device Appear...
Decompress file:uuu.auto-imx8mnevk
100%Decompress file:imx-boot-imx8mnevk-sd.bin-flash_evk
Decompress file:imx-image-multimedia-imx8mnevk.wic
2%New USB Device Attached at 2:2
100%2:2>Start Cmd:SDPS: boot -f imx-boot-imx8mnevk-sd.bin-flash_evk
2:2>Fail HID(W):LIBUSB_ERROR_TIMEOUT(1.003s)

=============================================

 

For reference:

uuu.exe -lsusb
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.43-0-ga9c099a

Connected Known USB Devices
Path Chip Pro Vid Pid BcdVersion
==================================================
2:2 MX815 SDPS: 0x1FC9 0x013E 0x0001

 

 

 

0 Kudos
Reply
1 Solution
2,346 Views
tgibson
Contributor II

"Fixed" by using older pre-built.  Had to use "LF_v5.4.y-1.0.1_images_MX8MNEVK.zip".  Can't say I understand the problem (would think newer images are backwards compatible), but this post helped me

 

https://community.nxp.com/t5/i-MX-Processors/Can-t-find-PMIC-PCA9450/m-p/1159322

 

 

View solution in original post

0 Kudos
Reply
4 Replies
2,367 Views
BiyongSUN
NXP Employee
NXP Employee

The  8MN evk is LPDDR4 evk or DDR4 evk? 

What is the uart output?

0 Kudos
Reply
2,371 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

 

You can try to unzip the zip file and use command like this:

 

 uuu -b emmc_all imx-boot-imx8mmevk-sd.bin-flash_evk imx-image-full-imx8mmevk-20200708060549.rootfs.bz2

 

BR

Zhiming

0 Kudos
Reply
2,355 Views
tgibson
Contributor II

Thanks for reply.

I tried this command per your suggestion from unzip folder:

"..\uuu.exe" -b emmc_all imx-boot-imx8mnevk-sd.bin-flash_evk imx-image-full-imx8mnevk.tar.bz2

 

Output is:

=====================================================================

uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.43-0-ga9c099a

Build in config:
Pctl Chip Vid Pid BcdVersion
==================================================
SDPS: MX8QXP 0x1fc9 0x012f [0x0002..0xffff]
SDPS: MX8QM 0x1fc9 0x0129 [0x0002..0xffff]
SDPS: MX8DXL 0x1fc9 0x0147
SDPS: MX28 0x15a2 0x004f
SDPS: MX815 0x1fc9 0x013e
SDPS: MX865 0x1fc9 0x0146
SDP: MX7D 0x15a2 0x0076
SDP: MX6Q 0x15a2 0x0054
SDP: MX6D 0x15a2 0x0061
SDP: MX6SL 0x15a2 0x0063
SDP: MX6SX 0x15a2 0x0071
SDP: MX6UL 0x15a2 0x007d
SDP: MX6ULL 0x15a2 0x0080
SDP: MX6SLL 0x1fc9 0x0128
SDP: MX7ULP 0x1fc9 0x0126
SDP: MXRT106X 0x1fc9 0x0135
SDP: MX8MM 0x1fc9 0x0134
SDP: MX8MQ 0x1fc9 0x012b
SDPU: SPL 0x0525 0xb4a4 [0x0000..0x04ff]
SDPV: SPL1 0x0525 0xb4a4 [0x0500..0x9998]
SDPU: SPL 0x0525 0xb4a4 [0x9999..0x9999]
SDPU: SPL 0x3016 0x1001 [0x0000..0x04ff]
SDPV: SPL1 0x3016 0x1001 [0x0500..0x9998]
FBK: 0x066f 0x9afe
FBK: 0x066f 0x9bff
FB: 0x0525 0xa4a5
FB: 0x18d1 0x0d02
FB: 0x3016 0x0001

Run built-in script:

uuu_version 1.2.39

# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ
SDP: boot -f imx-boot-imx8mnevk-sd.bin-flash_evk

# This command will be run when ROM support stream mode
# i.MX8QXP, i.MX8QM
SDPS: boot -f imx-boot-imx8mnevk-sd.bin-flash_evk

# These commands will be run when use SPL and will be skipped if no spl
# SDPU will be deprecated. please use SDPV instead of SDPU
# {
SDPU: delay 1000
SDPU: write -f imx-boot-imx8mnevk-sd.bin-flash_evk -offset 0x57c00
SDPU: jump
# }

# These commands will be run when use SPL and will be skipped if no spl
# if (SPL support SDPV)
# {
SDPV: delay 1000
SDPV: write -f imx-boot-imx8mnevk-sd.bin-flash_evk -skipspl
SDPV: jump
# }


FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev ${emmc_dev}
FB: ucmd mmc dev ${emmc_dev}
FB: flash -raw2sparse all imx-image-full-imx8mnevk.tar.bz2/*
FB: flash bootloader imx-boot-imx8mnevk-sd.bin-flash_evk
FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi;
FB: ucmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0
FB: done


Wait for Known USB Device Appear...
New USB Device Attached at 2:2
2:2>Start Cmd:SDPS: boot -f imx-boot-imx8mnevk-sd.bin-flash_evk
3%2:2>Fail HID(W):LIBUSB_ERROR_TIMEOUT(1.023s)

=============================================================

 

 

And the UART output is:


U-Boot SPL 2020.04-5.4.70-2.3.0+ge42dee801e (Dec 04 2020 - 00:32:06 +0000)
Can't find PMIC:PCA9450
DDRINFO: start DRAM init
DDRINFO: DRAM rate 3200MTS
Training FAILED

 

My packing list says the part is 8MNANOD4-EVK REV A.  Don't how to tell if its LPDDR4  or DDR4.  

0 Kudos
Reply
2,347 Views
tgibson
Contributor II

"Fixed" by using older pre-built.  Had to use "LF_v5.4.y-1.0.1_images_MX8MNEVK.zip".  Can't say I understand the problem (would think newer images are backwards compatible), but this post helped me

 

https://community.nxp.com/t5/i-MX-Processors/Can-t-find-PMIC-PCA9450/m-p/1159322

 

 

0 Kudos
Reply