Sending bct_br [ 0.0620 ] ERROR: might be timeout in USB write

I have a jetson orin nano 8Gb board (baseboard). I am trying to flash it from GUI and from terminal commadns both arent working, at last always it stops at

/home/asif/Downloads/Linux_for_Tegra/temp_initrdflash/bootloader0 /home/asif/Downloads/Linux_for_Tegra
./tegraflash.py --bl uefi_jetson_with_dtb_sigheader.bin.encrypt --bct br_bct_BR.bct --securedev  --bldtb tegra234-p3768-0000+p3767-0003-nv.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-TE950M-A1_prod_sigheader.bin.encrypt; bpmp_fw_dtb tegra234-bpmp-3767-0003-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-p3768-0000+p3767-0003-nv.dtb"    --bct_backup  --instance 3-5
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.0421 ] mb1_t234_prod_aligned_sigheader.bin.encrypt filename is from --mb1_bin
[   0.0421 ] psc_bl1_t234_prod_aligned_sigheader.bin.encrypt filename is from --psc_bl1_bin
[   0.0421 ] rcm boot with presigned binaries
[   0.0425 ] tegrarcm_v2 --instance 3-5 --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.0428 ] BR_CID: 0x80012344705DE7497400000011FF0100
[   0.0531 ] Sending bct_br
[   0.0620 ] ERROR: might be timeout in USB write.
Error: Return value 3
Command tegrarcm_v2 --instance 3-5 --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...

Full logs are here
SDKM_logs_JetPack_6.0_(rev._2)_Linux_for_Jetson_Orin_Nano_modules_2024-08-08_21-57-12.zip (212.2 KB)

I also tried doing this echo -1 > /sys/module/usbcore/parameters/autosuspend
But nothing works, Could anyone please help
Thanks in advance

You have to put the board back to recovery mode again and also hotplug the usb cable again after you disable autosuspend. Otherwise it won’t work.

BTW, this is Jetson nano forum but not Orin Nano forum.

Yeah thanks, I have tried doing this, it didn’t work actually

Then please reboot your host PC and test again or try other host PC.

I tried other host PC, operating system was same ubuntu 22, but didnt work

Do you have a ubuntu 20.04 host to test?

Didn’t work mean the error is same or you didn’t check? Please don’t take any flash failure as same issue…

yeah today, i tested with ubuntu 20 host machine and again failed, these are the logs
SDKM_logs_JetPack_6.0_(rev._2)_Linux_for_Jetson_Orin_Nano_modules_2024-08-10_22-54-09.zip (842.3 KB)

The latest error log shows it is totally different reason now.

23:02:52.040 - Info:Success

23:02:52.040 - Info:Cleaning up...

23:02:52.069 - Info:Finish generating flash package.

23:02:52.078 - Info:/home/asif/nvidia/nvidia_sdk/JetPack_6.0_Linux_JETSON_ORIN_NANO_TARGETS/Linux_for_Tegra/tools/kernel_flash/l4t_initrd_flash_internal.sh --network usb0 --usb-instance 3-10 --device-instance 0 --flash-only --external-device nvme0n1p1 -c "tools/kernel_flash/flash_l4t_t234_nvme.xml" --network usb0 jetson-orin-nano-devkit internal

23:02:52.091 - Info:sysctl net.ipv6.conf.all.disable_ipv6

23:02:52.092 - Info:net.ipv6.conf.all.disable_ipv6 = 1

23:02:52.092 - Info:IPV6 is disabled. Please enable IPV6 when running this tool

23:02:52.092 - Info:Cleaning up...

Read the last 2 lines for the cause.

Thanks @WayneWWW for help, I got the solutions let me share here. just adding a reply so that this thread dont get terminated.

I am following the latest instructions as of now August 2024 here

  1. The first is to get the board into recovery mode. In my case i was using a Holybro nvidia baseboard the uses a button to switch into recovery mode.

  2. use this command echo -1 > /sys/module/usbcore/parameters/autosuspend and reboot your host PC.

  3. Run sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0

  4. when having errors after RCM boot message i found there is a script in ./bootloader/flashcmd.txt which runs smoothly when run seperately from the main script or the nvidia GUI bases installer. I ran it like this sudo bash ./flashcmd.txt

NOTE: For those people who are having the same Holybro Nvidia baseboard, the ethernet only works when you give it external power through USB or something which also powers the Pixhawk board

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