IP Library Granted Patent US 11,494,262
Granted Patent B2
US 11,494,262 · App. 17/324,638 · Granted Nov 8, 2022

Electronic device having one-time-programmable (OTP) memory and method for writing and reading OTP memory

Inventors: Ming-Rui Li (Hsinchu, TW); Liang-Liang Song (Hsinchu, TW)
Assignee: REALTEK SEMICONDUCTOR CORP.
G06F11/1068G06F11/1004G06F11/3037
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,494,262
App. No.
17/324,638
Granted
Nov 8, 2022
Kind
B2
Abstract

An electronic device having a one-time-programmable (OTP) memory and a method for writing and reading an OTP memory are provided. The electronic device is adapted to perform the method for writing and reading an OTP memory. The electronic device includes an OTP memory, an internal memory, and a processor. The processor is configured to write an original value into the OTP memory as a burnt code and read the burnt code from the OTP memory. When the burnt code is not identical to the original value, the processor obtains a checksum according to the original value, the burnt code, and a check operation process, and stores the checksum into the internal memory. Upon receipt of a reading request, the processor executes a recovery operation process according to the burnt code and the checksum to generate the original value.

Claims (20)

1. An electronic device having a one-time-programmable (OTP) memory, comprising:

an OTP memory;

an internal memory; and

a processor configured to write an original value into the OTP memory as a burnt code and read the burnt code from the OTP memory, wherein when the burnt code is not identical to the original value, the processor obtains a checksum according to the original value and the burnt code, and stores the checksum into the internal memory.

2. The electronic device having an OTP memory according to claim 1 , wherein the processor executes a check operation process according to the original value and the burnt code to obtain the checksum.

3. The electronic device having an OTP memory according to claim 2 , wherein the check operation process is selected from at least one of the group consisting of an exclusive-OR operation, an OR operation, an AND operation, an addition operation, and a subtraction operation.

4. The electronic device having an OTP memory according to claim 1 , wherein the processor reads the burnt code from the OTP memory according to a reading request and obtains the original value according to the burnt code and a recovery operation process, and the recovery operation process is an invertible operation process of the check operation process.

5. The electronic device having an OTP memory according to claim 4 , wherein the recovery operation process and the check operation process are both based on a exclusive-OR operation.

6. A method for writing an OTP memory, comprising:

writing an original value into an OTP memory as a burnt code;

reading the burnt code from the OTP memory;

when the original value is not identical to the burnt code, obtaining a checksum according to the original value, the burnt code, and a check operation process; and

storing the checksum.

7. The method for writing an OTP memory according to claim 6 , wherein when the original value is identical to the burnt code, the writing method is completed.

8. The method for writing an OTP memory according to claim 6 , wherein the check operation process is selected from at least one of the group consisting of an exclusive-OR operation, an OR operation, an AND operation, an addition operation, and a subtraction operation.

9. A method for reading an OTP memory written according to claim 6 , comprising:

determining whether the checksum is found;

if the checksum is found, reading the burnt code and the checksum; and

executing a recovery operation process according to the burnt code and the checksum to obtain the original value, wherein the recovery operation process is an invertible operation process of the check operation process.

10. The reading method according to claim 9 , further comprising: if the checksum is not found, outputting the burnt code.

Assignments (2)
CORRECTIVE ASSIGNMENT TO CORRECT THE ATTORNEY DOCKET NUMBER PREVIOUSLY RECORDED AT REEL: 056303 FRAME: 0227. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded May 21, 2021
From: LI, MING-RUI; SONG, LIANG-LIANG
To: REALTEK SEMICONDUCTOR CORP.
Reel/Frame 056327/0089 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 20, 2021
From: LI, MING-RUI; SONG, LIANG-LIANG
To: REALTEK SEMICONDUCTOR CORP.
Reel/Frame 056303/0227 →
Priority Claims (1)
CN 202110219143.1 · Feb 26, 2021 · national
Continuity (1)
Related Publication 20220276926A1 · Sep 1, 2022