The controller (2) may comprise one or more processors, such as a central processing unit (CPU) or some other hardware processor, an associated memory (for example a random access memory (RAM), a cache memory, a flash memory, etc.), and be able to be configured to control the interface (5), the memory (3), and the memory management unit (4), in order to command the use of the data storage device (1) in accordance with one or more embodiments of the proposed method, for example by executing a computer program comprising portions of code to implement a method for controlling the data storage device (1) as proposed in the present description. Depending on the embodiment, the memory (3) and/or an associated memory of the controller (2) contain instructions which, when executed by the controller (2), cause the controller (2) to carry out or control the interface (5) and/or memory management (4) parts of the examples of implementing the proposed method described in the present description. The controller (2) may be a component making use of a processor or a calculation unit to control a data storage device according to the proposed method and to control the memory management unit (4) of the device (1), for example such as a microcontroller.