I was using a 16GB card and SD card wasn't installed properly and It lost contact during operation. I can still access /boot, but it won't boot in raspberry pi. I changed to another SD card to keep using octoprint.
When I try to format it says "Card is write protected". I tried to use diskpart, but it said "RAW is not supported". I tried SD card formatter, still nothing. I used Mini tool partition wizard, EasUS partition master and almost every other windows in-built tool I could find on internet, but nothing seems to work.
Any suggestion would help!