The SD card contains the configuration files. Almost never need to wipe it. The firmware is stored on the board itself. If you're having trouble accessing the board, after restoring the SD card, try this guide,
https://docs.duet3d.com/en/User_manual/Troubleshooting/Duet_wont_respond