[ 0.0441 ] ERROR: might be timeout in USB write for JetPack 6, 36.3

We just got the Jetson ORIN NX 16GB from Seed Studio following this tutorial

and got this error:

2024-07-15 16:50:37 [mona@DOS mfi_recomputer-orin-j401]$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --flash-only --massflash 1 --network usb0  --showlogs
/home/mona/Downloads/mfi_recomputer-orin-j401/recomputer-orin-j401.conf: line 29: /home/mona/Downloads/mfi_recomputer-orin-j401/p3768-0000-p3767-0000-a0.conf: No such file or directory
/home/mona/Downloads/mfi_recomputer-orin-j401/recomputer-orin-j401.conf: line 29: /home/mona/Downloads/mfi_recomputer-orin-j401/p3768-0000-p3767-0000-a0.conf: No such file or directory
/home/mona/Downloads/mfi_recomputer-orin-j401/tools/kernel_flash/l4t_initrd_flash_internal.sh --network usb0 --usb-instance 3-7 --device-instance 0 --flash-only --external-device nvme0n1p1 -c "tools/kernel_flash/flash_l4t_nvme.xml" -S 80GiB --network usb0 recomputer-orin-j401 external
/home/mona/Downloads/mfi_recomputer-orin-j401/recomputer-orin-j401.conf: line 29: /home/mona/Downloads/mfi_recomputer-orin-j401/p3768-0000-p3767-0000-a0.conf: No such file or directory
# Entry added by NVIDIA initrd flash tool
/home/mona/Downloads/mfi_recomputer-orin-j401/tools/kernel_flash/tmp 127.0.0.1(rw,nohide,insecure,no_subtree_check,async,no_root_squash)
Export list for localhost:
/home/mona/Downloads/mfi_recomputer-orin-j401/tools/kernel_flash/tmp 127.0.0.1
/home/mona/Downloads/mfi_recomputer-orin-j401/recomputer-orin-j401.conf: line 29: /home/mona/Downloads/mfi_recomputer-orin-j401/p3768-0000-p3767-0000-a0.conf: No such file or directory
**********************************************
*                                            *
*  Step 1: Build the flashing environment    *
*                                            *
**********************************************
Create flash environment 0
/home/mona/Downloads/mfi_recomputer-orin-j401/bootloader /home/mona/Downloads/mfi_recomputer-orin-j401
/home/mona/Downloads/mfi_recomputer-orin-j401
Finish creating flash environment 0.
****************************************************
*                                                  *
*  Step 2: Boot the device with flash initrd image *
*                                                  *
****************************************************
/home/mona/Downloads/mfi_recomputer-orin-j401/temp_initrdflash/bootloader0 /home/mona/Downloads/mfi_recomputer-orin-j401
./tegraflash.py --bl uefi_jetson_with_dtb_sigheader.bin.encrypt --bct br_bct_BR.bct --securedev  --bldtb tegra234-j401-p3768-0000+p3767-0000-recomputer.dtb --applet rcm_2_encrypt.rcm --applet_softfuse rcm_1_encrypt.rcm --cmd "rcmboot"  --cfg secureflash.xml --chip 0x23 --mb1_bct mb1_bct_MB1_sigheader.bct.encrypt --mem_bct mem_rcm_sigheader.bct.encrypt --mb1_cold_boot_bct mb1_cold_boot_bct_MB1_sigheader.bct.encrypt --mb1_bin mb1_t234_prod_aligned_sigheader.bin.encrypt --psc_bl1_bin psc_bl1_t234_prod_aligned_sigheader.bin.encrypt --mem_bct_cold_boot mem_coldboot_sigheader.bct.encrypt  --bins "psc_fw pscfw_t234_prod_sigheader.bin.encrypt; mts_mce mce_flash_o10_cr_prod_sigheader.bin.encrypt; tsec_fw tsec_t234_sigheader.bin.encrypt; mb2_applet applet_t234_sigheader.bin.encrypt; mb2_bootloader mb2_t234_with_mb2_cold_boot_bct_MB2_sigheader.bin.encrypt; xusb_fw xusb_t234_prod_sigheader.bin.encrypt; pva_fw nvpva_020_sigheader.fw.encrypt; dce_fw display-t234-dce_sigheader.bin.encrypt; nvdec nvdec_t234_prod_sigheader.fw.encrypt; bpmp_fw bpmp_t234-TE980M-A1_prod_sigheader.bin.encrypt; bpmp_fw_dtb tegra234-bpmp-3767-0000-a02-3509-a02_with_odm_sigheader.dtb.encrypt; rce_fw camera-rtcpu-t234-rce_sigheader.img.encrypt; ape_fw adsp-fw_sigheader.bin.encrypt; spe_fw spe_t234_sigheader.bin.encrypt; tos tos-optee_t234_sigheader.img.encrypt; eks eks_t234_sigheader.img.encrypt; kernel boot0.img; kernel_dtb tegra234-j401-p3768-0000+p3767-0000-recomputer.dtb"    --bct_backup  --instance 3-7
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands
 

 Entering RCM boot

[   0.0252 ] mb1_t234_prod_aligned_sigheader.bin.encrypt filename is from --mb1_bin
[   0.0252 ] psc_bl1_t234_prod_aligned_sigheader.bin.encrypt filename is from --psc_bl1_bin
[   0.0252 ] rcm boot with presigned binaries
[   0.0255 ] tegrarcm_v2 --instance 3-7 --new_session --chip 0x23 0 --uid --download bct_br br_bct_BR.bct --download mb1 mb1_t234_prod_aligned_sigheader.bin.encrypt --download psc_bl1 psc_bl1_t234_prod_aligned_sigheader.bin.encrypt --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt
[   0.0257 ] BR_CID: 0x80012344705DF0C38000000005FE80C0
[   0.0356 ] Sending bct_br
[   0.0441 ] ERROR: might be timeout in USB write.
Error: Return value 3
Command tegrarcm_v2 --instance 3-7 --new_session --chip 0x23 0 --uid --download bct_br br_bct_BR.bct --download mb1 mb1_t234_prod_aligned_sigheader.bin.encrypt --download psc_bl1 psc_bl1_t234_prod_aligned_sigheader.bin.encrypt --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt
Cleaning up...

host machine:

$ lsb_release -a
LSB Version:	core-11.1.0ubuntu4-noarch:security-11.1.0ubuntu4-noarch
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.4 LTS
Release:	22.04
Codename:	jammy

I was in recovery mode before flashing

$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 007: ID 0955:7323 NVIDIA Corp. APX
Bus 003 Device 003: ID 04f2:b6be Chicony Electronics Co., Ltd Integrated Camera
Bus 003 Device 002: ID 06cb:00bd Synaptics, Inc. Prometheus MIS Touch Fingerprint Reader
Bus 003 Device 005: ID 8087:0032 Intel Corp. AX210 Bluetooth
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Could you please suggest a fix?

Hi mona.jalal,

Are you using the custom carrier board from SeeedStudio?

Could you share the serial console log from your board when you hit the timeout issue from host?

You can also refer to Jetson AGX Orin FAQ for the timeout issue during flash.

1 Like

@KevinFFF

So turns out this is a transient error and with multiple time unplugging the same usb-c cable I was finally able to get it to work.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.