Okay, when you're having issues with an SD card not formatting, I always try the following steps first. Open powershell or cmd prompt in admin mode then try:
diskpart
list disk
select disk
clean
create partition primary
format quick
Then give it another go. This will often resurrect dead drives/cards/USB sticks or reset them back to their old capacity when it displays wrong.