Since you seem to format the card under Windows; I found that lots of tools have issue to cope with media using other than fully supported by Windows file systems. I’d advise to use diskpart tool (Windows native one) to clear all partitions prior to trying to format… Saved me few times. Also if diskpart won’t be able to delete partitions… it really means SD is damaged.