Jetson xavier nx devkit cannot be flashed (on NVMe)

Hi @sayf.eddine.hammemi ,
You can try with kernel flash instead or massflashing. You can check here for more details. But the command can look like this for massflash:

sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1 \
-c ./tools/kernel_flash/flash_l4t_nvme_custom.xml -S 458GiB --showlogs \
--no-flash --massflash 5 --keep  jetson-xavier-nx-devkit-emmc nvme0n1p1

And then to flash it:

sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1 \
-c ./tools/kernel_flash/flash_l4t_nvme_custom.xml -S 458GiB --showlogs \
--flash-only  jetson-xavier-nx-devkit-emmc nvme0n1p1

You will need to change the params to you case, for example the -S size, and the flash_l4t_nvme_custom.xml patition layout like overe here.

Regards,
Andres
Embedded SW Engineer at RidgeRun
Contact us: support@ridgerun.com
Developers wiki: https://developer.ridgerun.com/
Website: www.ridgerun.com