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.