Zedbox Orin flash failure - QSPI Error

We have a Zedbox which is soft bricked and would like to reflash it

Using Ubuntu 22.04 LTS and would like to flash Jetpack 6.0, using the script provided by Stereolabs here → Flash your ZED Box Orin - Stereolabs

We tried different laptops and USB cables combination and still always warned with the following message saying flash failed

tar: Read checkpoint 660000
tar: Read checkpoint 670000
writing item=17, 9:0:secondary_gpt, 61203267072, 16896, gpt_secondary_9_0.bin, 16896, fixed-<reserved>-0, 8170a9dd3e1bd10aac81ac480e159d8235c24b69
[ 140]: l4t_flash_from_kernel: Successfully flash the external device
[ 140]: l4t_flash_from_kernel: The device size indicated in the partition layout xml is smaller than the actual size. This utility will try to fix the GPT.
[ 140]: l4t_flash_from_kernel: Error flashing qspi
Flash failure
Either the device cannot mount the NFS server on the host or a flash command has failed. Debug log saved to /tmp/tmp.dyWQFnn6Wf. You can access the target's terminal through "sshpass -p root ssh root@fc00:1:1:0::2" 
Cleaning up...
FLASH FAILED.

Hi @hyfung
Welcome to the Stereolabs community.

I recommend you try first to use this command to flash the QSPI:
./stereolabs_bsp/Linux_for_Tegra sudo ./flash.sh --no-systemimg -c ./bootloader/generic/cfg/flash_t234_qspi.xml p3509-a02-p3767-0000 internal

If this is successful, you can try again with the full flash script to complete the process.

@Myzhar thanks for your prompt reply, and I apologize for the delay in getting back to you. Some competing priorities took our attention away from this issue.

We are still continuing to have this issue, now on other Orin NX 16 devices from Stereolabs. We are specifically trying to downgrade from L4T36.4.4 to L4T36.3, because certain parts of our application do not work with Deepstream 7.1 on Jetson.

We tried running the command you suggested:
cd ./stereolabs_bsp/Linux_for_Tegra
sudo ./flash.sh --no-systemimg -c ./bootloader/generic/cfg/flash_t234_qspi.xml p3509-a02-p3767-0000 internal

This ran successfully.

However, on rerunning the full flash script using this command:
BSP_ROOT=$PWD/stereolabs_bsp/ ./zedbox_onx_usb_flash_6.0.sh

This script still failed in the same way (unable to flash QSPI…).

However, we do now see L4T36.3 on the boot screen. Previously it was L4T36.4 at the boot screen and 36.3 in /etc/nv_tegra_release. We have two questions:

  1. Is the device expected to work correctly now?
  2. is there anything we can do to make the flash script actually work as intended?

Thanks for your help!