Bidirectional counter in a flash memory
AssigneeProton World International N.V.
InventorsRonny Van Keer, Guillaume Docquier
Life of this patent
Estimating the term…
Abstract
A method of storing a counter in at least two non-volatile memory pages, including: a step of initializing a page with an initial value and then, on each update of the counter value, a step of storing an update value and an opcode associated with this value, selected from a set of opcodes, the current value of the counter being given by application of the successive update operations to the initial value of the page.
Claims21
A method, comprising:
- assigning at least two non-volatile memory pages of a memory to store counter value information;
- storing an initial counter value in a page of the at least two non-volatile memory pages;
- for each update of the stored initial counter value, storing an update value and an opcode associated with the update value in the page of the at least two non-volatile memory pages;
- and
- determining a current counter value based on the stored initial value, stored update values and stored opcodes.
An apparatus, comprising:
- a non-volatile memory;
- and
- circuitry, which, in operation:
- assigns at least two pages of the non-volatile memory to store counter value information;
- stores an initial counter value in a page of the at least two pages;
- for each update of the stored initial counter value, stores an update value and an opcode associated with the update value in the page of the at least two pages;
- and
- determines a current counter value based on the stored initial value, stored update values and stored opcodes.
A system, comprising:
- means for routing near-field communications;
- and
- means for maintaining a counter value in a plurality of pages of a non-volatile memory by:
- storing an initial counter value in a page of the plurality of pages;
- for each update of the stored initial counter value, storing an update value and an opcode associated with the update value in the page of the plurality of pages;
- and
- determining a current counter value based on the stored initial value, stored update values and stored opcodes.
A non-transitory computer-readable medium whose contents cause a counter to perform a method, the method comprising:
- storing an initial counter value in a first page of a plurality of pages of a non-volatile memory;
- updating the stored initial counter value one or more times by, for each update, storing an update value and an opcode associated with the update value in the first page of the plurality of pages of the non-volatile memory;
- and
- when the first page is full,
- calculating a current counter value based on the stored initial counter value, the stored update values and the stored opcodes;
- and
- storing the calculated current counter value as an initial counter value in a second page of the plurality of pages.
Dependencies are inferred from the claim text.