Flash failed, return 8

Hi, i am trying to flash my 8GB NX module but can’t.
Tried Ubuntu 16 and Ubuntu 20, JP4.4, JP5.1, JP4.5 with SDKMAnager and without - same error.

Here is output for sudo ./flash.sh -k kernel-dtb jetson-xavier-nx-devkit mmcblk0p1

flash.txt (59.3 KB)

Please help.

How i can check module health? May be it is broken?

Is this a new module or you have ever flashed it before?

Also, do you want to flash kernel dtb partition only or you want to do full flash?

Or you don’t know what is the difference?

It is used module.
I do not know it’s history.

Will try to flash dtb only.

Hi,

Please try to do full flash. Also, try to directly flash it with jp4.6.3.

I am not sure why you want to pick up jp4.4/4.5 and only update kernel-dtb…

Also, is this emmc NX or sdcard NX? Or you don’t know what is the difference?

Have tried sudo ./flash.sh -k kernel-dtb jetson-xavier-nx-devkit mmcblk0p1
Same error.

It is 16GB emmc module.

You advice me to flash 4.6?

Hi,

The error comes because you use the wrong board config. jetson-xavier-nx-devkit is for sdcard module.

Please tell me config argument for 16emmc?
I have installed /home/vsw/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_XAVIER_NX too.
Without devkit postfix.

Is it?

sudo ./flash.sh --no-flash jetson-xavier-nx-devkit-emmc mmcblk0p1

Check your Linux_for_Tegra directory. The file name will tell you the answer.

If you still cannot see it, show me your ls -al and I will help point it out.

Yes, jetson-xavier-nx-devkit-emmc

I don’t know why you keep adding some parameters which I don’t think you need.

But if you know what you are doing, then just do whatever you want to do.

Now i got:

saving flash command in /home/vsw/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_XAVIER_NX/Linux_for_Tegra/bootloader/flashcmd.txt
saving Windows flash command to /home/vsw/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_XAVIER_NX/Linux_for_Tegra/bootloader/flash_win.bat
*** no-flash flag enabled. Exiting now… ***

Please tell me what flash flag it wants?

Here is ls:
flash.txt (59.3 KB)

Why do you add --no-flash and ask me what to do? If you don’t need it, just remove it.

As I just said, I don’t know why you want to add that.

Sorry copy/paste effect )) Will try again

And i got the same error:

[ 10.5927 ] Sending BCTs
[ 10.5937 ] tegrarcm_v2 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt --download bct_mem mem_rcm_sigheader.bct.encrypt
[ 10.5943 ] Applet version 01.00.0000
[ 11.3366 ] Sending bct_bootrom
[ 11.3367 ] […] 100%
[ 11.3380 ] Sending bct_mb1
[ 11.3429 ] […] 100%
[ 11.3464 ] Sending bct_mem
[ 11.3948 ] […] 100%
[ 11.5100 ]
Error: Return value 8
Command tegrarcm_v2 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt --download bct_mem mem_rcm_sigheader.bct.encrypt
Failed flashing t186ref.

I thing i already tried it from sdmanager.

Are you able to dump the serial console log and also full host side log again?

Also, please always share me the command you run on host side.

Ok

Here is cmd and uart output:

sudo ./flash.sh jetson-xavier-nx-devkit-emmc mmcblk0p1

uart.txt (6.7 KB)
flash.txt (41.0 KB)