I have previously successfully flashed both modules once, but saw the device go into a busy spin due to the carrier board not having EEPROM. I was trying to apply the fix described here, but I am seeing the above error with both SoMs when trying to reflash them. How can I recover the SoMs?
Are you resetting recovery mode between flashes? Each operation requires this. You cannot perform two recovery mode operations in a row without this. Example of what you cannot do:
Clone, followed by flash.
Example that works:
Clone.
Reset power and go back to recovery mode.
Flash.
Also, if using a VM, then that tends to have errors.
I recovered the Orin NX SoMs using the initrd flashing method which was able to reprogram the QSPI properly without errors. For some reason the flash.sh script does not work after the first time it is run on a fresh module. I did notice a larger initial erase (64MB) when using the initrd flashing image. This takes much longer than the 1s erase the flash.sh script does, which I suspect could be the reason it fails, but I’m not entirely sure.