I’m not sure what you mean the Jetson Nano card can’t restore to factory setting, have you checked and followed the Get Started With Jetson Nano Developer Kit | NVIDIA Developer?
You can also check Jetson Nano FAQ - Jetson & Embedded Systems / Jetson Nano - NVIDIA Developer Forums to do the debug first.