Begging for support on flashing orin nx reporting error ERROR: might be timeout in USB write

I can’t resolve this error when flashing orin nx 16G, I’ve tried many measures but can’t resolve it, including:

  • Replacing the devkit
  • Replacing the usb cable
  • Disable usb autosuspend.
  • Replacing 20.04 with 18.04 host machine
  • Replacing 5.1.1 jatpack with 5.1.3 jatpack
  • Replace 5.1.1 jatpack with 5.1.3 JatPack using version 2.0.0.11405, sdkmanager, or flashing from the command line.

At this stage it always reports this error at the end, I kindly ask if you can give me some support, the text of the error message and the export are as follows.

[   3.5276 ] Signed BCT for boot chain B is copied to /home/bird/Downloads/Linux_for_Tegra/bootloader/signed/br_bct_b_BR.bct

[   3.5276 ] Copying BCT backup image bct_backup.img to /home/bird/Downloads/Linux_for_Tegra/bootloader/signed/bct_backup.img
[   3.5294 ] Copying pscfw_t234_prod_sigheader.bin.encrypt to /home/bird/Downloads/Linux_for_Tegra/bootloader/signed
[   3.5295 ] Signed file: /home/bird/Downloads/Linux_for_Tegra/bootloader/signed/pscfw_t234_prod_sigheader.bin.encrypt
[   3.5295 ] Copying mce_flash_o10_cr_prod_sigheader.bin.encrypt to /home/bird/Downloads/Linux_for_Tegra/bootloader/signed
[   3.5296 ] Signed file: /home/bird/Downloads/Linux_for_Tegra/bootloader/signed/mce_flash_o10_cr_prod_sigheader.bin.encrypt
[   3.5296 ] Copying applet_t234_sigheader.bin.encrypt to /home/bird/Downloads/Linux_for_Tegra/bootloader/signed
[   3.5298 ] Signed file: /home/bird/Downloads/Linux_for_Tegra/bootloader/signed/applet_t234_sigheader.bin.encrypt
[   3.5298 ] Copying mb2_t234_with_mb2_bct_MB2_sigheader.bin.encrypt to /home/bird/Downloads/Linux_for_Tegra/bootloader/signed
[   3.5299 ] Signed file: /home/bird/Downloads/Linux_for_Tegra/bootloader/signed/mb2_t234_with_mb2_bct_MB2_sigheader.bin.encrypt
[   3.5299 ] Copying xusb_t234_prod_sigheader.bin.encrypt to /home/bird/Downloads/Linux_for_Tegra/bootloader/signed
[   3.5300 ] Signed file: /home/bird/Downloads/Linux_for_Tegra/bootloader/signed/xusb_t234_prod_sigheader.bin.encrypt
[   3.5300 ] Copying display-t234-dce_sigheader.bin.encrypt to /home/bird/Downloads/Linux_for_Tegra/bootloader/signed
[   3.5330 ] Signed file: /home/bird/Downloads/Linux_for_Tegra/bootloader/signed/display-t234-dce_sigheader.bin.encrypt
[   3.5330 ] Copying nvdec_t234_prod_sigheader.fw.encrypt to /home/bird/Downloads/Linux_for_Tegra/bootloader/signed
[   3.5332 ] Signed file: /home/bird/Downloads/Linux_for_Tegra/bootloader/signed/nvdec_t234_prod_sigheader.fw.encrypt
[   3.5332 ] Copying bpmp_t234-TE990M-A1_prod_sigheader.bin.encrypt to /home/bird/Downloads/Linux_for_Tegra/bootloader/signed
[   3.5337 ] Signed file: /home/bird/Downloads/Linux_for_Tegra/bootloader/signed/bpmp_t234-TE990M-A1_prod_sigheader.bin.encrypt
[   3.5337 ] Copying tegra234-bpmp-3767-0000-a02-3509-a02_with_odm_sigheader.dtb.encrypt to /home/bird/Downloads/Linux_for_Tegra/bootloader/signed
[   3.5337 ] Signed file: /home/bird/Downloads/Linux_for_Tegra/bootloader/signed/tegra234-bpmp-3767-0000-a02-3509-a02_with_odm_sigheader.dtb.encrypt
[   3.5337 ] Copying camera-rtcpu-sce_sigheader.img.encrypt to /home/bird/Downloads/Linux_for_Tegra/bootloader/signed
[   3.5338 ] Signed file: /home/bird/Downloads/Linux_for_Tegra/bootloader/signed/camera-rtcpu-sce_sigheader.img.encrypt
[   3.5338 ] Copying camera-rtcpu-t234-rce_sigheader.img.encrypt to /home/bird/Downloads/Linux_for_Tegra/bootloader/signed
[   3.5341 ] Signed file: /home/bird/Downloads/Linux_for_Tegra/bootloader/signed/camera-rtcpu-t234-rce_sigheader.img.encrypt
[   3.5341 ] Copying adsp-fw_sigheader.bin.encrypt to /home/bird/Downloads/Linux_for_Tegra/bootloader/signed
[   3.5343 ] Signed file: /home/bird/Downloads/Linux_for_Tegra/bootloader/signed/adsp-fw_sigheader.bin.encrypt
[   3.5343 ] Copying spe_t234_sigheader.bin.encrypt to /home/bird/Downloads/Linux_for_Tegra/bootloader/signed
[   3.5344 ] Signed file: /home/bird/Downloads/Linux_for_Tegra/bootloader/signed/spe_t234_sigheader.bin.encrypt
[   3.5344 ] Copying tos-optee_t234_sigheader.img.encrypt to /home/bird/Downloads/Linux_for_Tegra/bootloader/signed
[   3.5348 ] Signed file: /home/bird/Downloads/Linux_for_Tegra/bootloader/signed/tos-optee_t234_sigheader.img.encrypt
[   3.5348 ] Copying eks_t234_sigheader.img.encrypt to /home/bird/Downloads/Linux_for_Tegra/bootloader/signed
[   3.5349 ] Signed file: /home/bird/Downloads/Linux_for_Tegra/bootloader/signed/eks_t234_sigheader.img.encrypt
[   3.5349 ] Copying uefi_jetson_with_dtb_sigheader.bin.encrypt to /home/bird/Downloads/Linux_for_Tegra/bootloader/signed
[   3.5361 ] Signed file: /home/bird/Downloads/Linux_for_Tegra/bootloader/signed/uefi_jetson_with_dtb_sigheader.bin.encrypt
[   3.5382 ] tegraparser_v2 --pt flash.xml.bin --generateflashindex /home/bird/Downloads/Linux_for_Tegra/bootloader/signed/flash.xml.tmp flash.idx
Using bpmp-dtb concatenated with odmdata in blob for t23x
./tegraflash.py --bl uefi_jetson_with_dtb_sigheader.bin.encrypt --bct br_bct_BR.bct --securedev  --bldtb tegra234-p3767-0000-p3509-a02.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; 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; dce_fw display-t234-dce_sigheader.bin.encrypt; nvdec nvdec_t234_prod_sigheader.fw.encrypt; bpmp_fw bpmp_t234-TE990M-A1_prod_sigheader.bin.encrypt; bpmp_fw_dtb tegra234-bpmp-3767-0000-a02-3509-a02_with_odm_sigheader.dtb.encrypt; sce_fw camera-rtcpu-sce_sigheader.img.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 boot.img; kernel_dtb tegra234-p3767-0000-p3509-a02.dtb"    --secondary_gpt_backup  --bct_backup  --boot_chain A 
saving flash command in flashcmd.txt

*** no-flash flag enabled. Exiting now... *** 

User can run above saved command in factory environment without 
providing pkc and sbk keys to flash a device

Example:

    $ cd bootloader 
    $ sudo bash ./flashcmd.txt

Save initrd flashing command parameters to /home/bird/Downloads/Linux_for_Tegra/tools/kernel_flash/initrdflashparam.txt
/tmp/tmp.R0wnUlV9l9 /home/bird/Downloads/Linux_for_Tegra
writing boot image config in bootimg.cfg
extracting kernel in zImage
extracting ramdisk in initrd.img
/tmp/tmp.R0wnUlV9l9/initrd /tmp/tmp.R0wnUlV9l9 /home/bird/Downloads/Linux_for_Tegra
56174 块
83147 块
/tmp/tmp.R0wnUlV9l9 /home/bird/Downloads/Linux_for_Tegra
flashimg0=boot0.img
/home/bird/Downloads/Linux_for_Tegra
Success
Cleaning up...
Finish generating flash package.
/home/bird/Downloads/Linux_for_Tegra/tools/kernel_flash/l4t_initrd_flash_internal.sh --network usb0 --usb-instance 1-6 --device-instance 0 --flash-only --external-device nvme0n1p1 -c "tools/kernel_flash/flash_l4t_external.xml" --network usb0 p3509-a02+p3767-0000 internal
**********************************************
*                                            *
*  Step 1: Build the flashing environment    *
*                                            *
**********************************************
Create flash environment 0
/home/bird/Downloads/Linux_for_Tegra/bootloader /home/bird/Downloads/Linux_for_Tegra
/home/bird/Downloads/Linux_for_Tegra
Finish creating flash environment 0.
****************************************************
*                                                  *
*  Step 2: Boot the device with flash initrd image *
*                                                  *
****************************************************
/home/bird/Downloads/Linux_for_Tegra/temp_initrdflash/bootloader0 /home/bird/Downloads/Linux_for_Tegra
./tegraflash.py --bl uefi_jetson_with_dtb_sigheader.bin.encrypt --bct br_bct_BR.bct --securedev  --bldtb tegra234-p3767-0000-p3509-a02.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; 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; dce_fw display-t234-dce_sigheader.bin.encrypt; nvdec nvdec_t234_prod_sigheader.fw.encrypt; bpmp_fw bpmp_t234-TE990M-A1_prod_sigheader.bin.encrypt; bpmp_fw_dtb tegra234-bpmp-3767-0000-a02-3509-a02_with_odm_sigheader.dtb.encrypt; sce_fw camera-rtcpu-sce_sigheader.img.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-p3767-0000-p3509-a02.dtb"    --secondary_gpt_backup  --bct_backup  --boot_chain A  --instance 1-6
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.0182 ] mb1_t234_prod_aligned_sigheader.bin.encrypt filename is from --mb1_bin
[   0.0182 ] psc_bl1_t234_prod_aligned_sigheader.bin.encrypt filename is from --psc_bl1_bin
[   0.0182 ] rcm boot with presigned binaries
[   0.0188 ] tegrarcm_v2 --instance 1-6 --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.0193 ] BR_CID: 0x80012344705DD5D17400000013FE8040
[   0.0254 ] Sending bct_br
[   0.0305 ] Sending mb1
[   0.0309 ] Sending psc_bl1
[   0.0412 ] Sending bct_mb1
[   0.0471 ] Generating blob for T23x
[   0.0482 ] tegrahost_v2 --chip 0x23 0 --generateblob blob.xml blob.bin
[   0.0488 ] The number of images in blob is 18
[   0.0490 ] blobsize is 73439485
[   0.0490 ] Added binary blob_uefi_jetson_with_dtb_sigheader.bin.encrypt of size 3182656
[   0.0691 ] Added binary blob_pscfw_t234_prod_sigheader.bin.encrypt of size 375168
[   0.0694 ] Added binary blob_mce_flash_o10_cr_prod_sigheader.bin.encrypt of size 190592
[   0.0695 ] Added binary blob_applet_t234_sigheader.bin.encrypt of size 277312
[   0.0695 ] Not supported type: mb2_applet
[   0.0696 ] Added binary blob_mb2_t234_with_mb2_cold_boot_bct_MB2_sigheader.bin.encrypt of size 437984
[   0.0697 ] Added binary blob_xusb_t234_prod_sigheader.bin.encrypt of size 164352
[   0.0698 ] Added binary blob_display-t234-dce_sigheader.bin.encrypt of size 9097216
[   0.0731 ] Added binary blob_nvdec_t234_prod_sigheader.fw.encrypt of size 294912
[   0.0740 ] Added binary blob_bpmp_t234-TE990M-A1_prod_sigheader.bin.encrypt of size 1048000
[   0.0744 ] Added binary blob_tegra234-bpmp-3767-0000-a02-3509-a02_with_odm_sigheader.dtb.encrypt of size 138880
[   0.0745 ] Added binary blob_camera-rtcpu-sce_sigheader.img.encrypt of size 166304
[   0.0746 ] Added binary blob_camera-rtcpu-t234-rce_sigheader.img.encrypt of size 537952
[   0.0747 ] Added binary blob_adsp-fw_sigheader.bin.encrypt of size 400960
[   0.0748 ] Added binary blob_spe_t234_sigheader.bin.encrypt of size 270336
[   0.0749 ] Added binary blob_tos-optee_t234_sigheader.img.encrypt of size 1064752
[   0.0752 ] Added binary blob_eks_t234_sigheader.img.encrypt of size 9232
[   0.0753 ] Added binary blob_boot0.img of size 55437312
[   0.0961 ] Added binary blob_tegra234-p3767-0000-p3509-a02.dtb of size 344461
[   0.1279 ] tegrarcm_v2 --instance 1-6 --chip 0x23 0 --pollbl --download bct_mem mem_rcm_sigheader.bct.encrypt --download blob blob.bin
[   0.1284 ] BL: version 0.32.0.0-t234-54845784-57325615 last_boot_error: 0
[   0.2765 ] Sending bct_mem
[   0.2857 ] Sending blob
[   0.3817 ] ERROR: might be timeout in USB write.
Error: Return value 3
Command tegrarcm_v2 --instance 1-6 --chip 0x23 0 --pollbl --download bct_mem mem_rcm_sigheader.bct.encrypt --download blob blob.bin
Cleaning up...

SDKM_logs_JetPack_5.1.1_(rev._1)_Linux_for_Jetson_Orin_NX_modules_2024-03-11_14-36-44.zip (330.5 KB)

Duplicated with I’m begging for support on flashing orin nx reporting error ERROR: might be timeout in USB write - Jetson & Embedded Systems / Jetson Orin NX - NVIDIA Developer Forums

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