One idea would be for you to post an image of your now not working project.
Another idea is can the code be uploaded into the possibly defective MCU?
Another idea would be for you to post a schematic of the project.
Another idea is to load into the MCU a SD card example to see if the example code will work.