摘要 |
The invention relates to a method (V) for securely erasing a non-volatile semiconductor mass memory (HMS) having a plurality of physical memory units. The semiconductor mass memory (HMS) comprises a controller (CNT), which is designed, when a command to overwrite memory units associated with a first memory area (SB1) is received via the interface (SS), to change the association of the memory units with the first memory area (SB1) and a second memory area (SB2) in accordance with an algorithm in order to produce wear levelling. The method (V) comprises the following steps: - marking the entire addressable first memory area (SB1) for erasing; - sending out a release command; - releasing the first memory area (SB1); - sending out at least one first write command to the controller (CNT) via the interface (SS) in order to write to the entire first memory area (SB1); and - sending out at least one second write command to the controller via the interface in order to overwrite at least a predetermined part of previously written data blocks. The invention further relates to a computer system (CS) and a computer program product. |