Some types of memory cards are equipped with an erasure prevention switch to protect data from unintentional erasure or overwriting. Make sure the erasure prevention switch is off.