IP Library Granted Patent US 12,547,415
Granted Patent B2
US 12,547,415 · App. 18/443,498 · Granted Feb 10, 2026

Microcontroller circuit and boot control method

Inventors: Chun-Hao Huang (Hsinchu, TW); Tzu-Lan Shen (Taoyuan, TW)
Assignee: NUVOTON TECHNOLOGY CORPORATION
G06F9/4403
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 12,547,415
App. No.
18/443,498
Granted
Feb 10, 2026
Kind
B2
Abstract

A microcontroller circuit is provided. The microcontroller circuit includes a memory, a check module, and a processor. The memory includes a main memory block and a backup memory block. The main memory block has a boot setting and the backup memory block has a backup boot setting. The check module includes a register. The processor is configured to determine whether the backup memory block of the memory has been backed up according to the register of the check module in response to a boot signal, and to compare the boot setting with the backup boot setting when the backup memory block of the memory has been backed up. When the boot setting is different from the backup boot setting, the processor is configured to perform a boot initialization procedure according to the backup boot setting.

Claims (36)

1 . A microcontroller circuit, comprising:

a memory, comprising a main memory block and a backup memory block, wherein the main memory block has a boot setting and the backup memory block has a backup boot setting;

a check module, comprising a register; and

a processor configured to determine whether the backup memory block of the memory has been backed up according to the register of the check module in response to a boot signal, and to compare the boot setting with the backup boot setting when the backup memory block of the memory has been backed up,

wherein when the boot setting is different from the backup boot setting, the processor is configured to perform a boot initialization procedure according to the backup boot setting.

2 . The microcontroller circuit as claimed in claim 1 , wherein after performing the boot initialization procedure, the processor is configured to write the backup boot setting into the main memory block of the memory to restore the boot setting.

3 . The microcontroller circuit as claimed in claim 1 , wherein when the boot setting is the same as the backup boot setting, the processor is configured to perform the boot initialization procedure according to the boot setting.

4 . The microcontroller circuit as claimed in claim 1 , wherein when the backup memory block of the memory has not been backed up, the processor is configured to perform the boot initialization procedure according to the boot setting.

5 . The microcontroller circuit as claimed in claim 1 , wherein before the processor writes a new boot setting into the main memory block of the memory, the processor is configured to write the new boot setting into the backup memory block of the memory as the backup boot setting.

6 . The microcontroller circuit as claimed in claim 5 , wherein before writing the new boot setting into the backup memory block of the memory, the processor is configured to clear a flag of the register in the check module, and to clear the backup memory block in the memory.

7 . The microcontroller circuit as claimed in claim 6 , wherein after writing the new boot setting into the backup memory block of the memory, the processor is configured to set the flag of the register in the check module.

8 . The microcontroller circuit as claimed in claim 1 , wherein when a flag of the register in the check module is set, the processor is configured to determine that the backup memory block of the memory has been backed up.

9 . The microcontroller circuit as claimed in claim 8 , wherein when the flag of the register in the check module is cleared, the processor is configured to determine that the backup memory block of the memory has not been backed up.

10 . The microcontroller circuit as claimed in claim 8 , wherein the memory is a flash memory.

11 . A boot control method, comprising:

in response to a boot signal, determining whether a flag of a check module is set;

determining whether a boot setting in a main memory block of a memory is the same as a backup boot setting in a backup memory block of the memory when the flag is set; and

performing a boot initialization procedure according to the backup boot setting when the boot setting is different from the backup boot setting.

12 . The boot control method as claimed in claim 11 , further comprising:

writing the backup boot setting into the main memory block of the memory after performing the boot initialization procedure, so as to restore the boot setting.

13 . The boot control method as claimed in claim 11 , further comprising:

performing the boot initialization procedure according to the boot setting when the boot setting is the same as the backup boot setting.

14 . The boot control method as claimed in claim 11 , further comprising:

performing the boot initialization procedure according to the boot setting when the flag is not set.

15 . The boot control method as claimed in claim 11 , further comprising:

writing a new boot setting into the backup memory block of the memory as the backup boot setting before writing the new boot setting into the main memory block of the memory.

16 . The boot control method as claimed in claim 15 , further comprising:

clearing the flag of the check module and clearing the backup memory block of the memory before writing the new boot setting into the backup memory block of the memory.

17 . The boot control method as claimed in claim 16 , further comprising:

setting the flag of the check module after the new boot setting is written into the backup memory block of the memory.

18 . The boot control method as claimed in claim 17 , further comprising:

writing the new boot setting into the main memory block of the memory after setting the flag of the check module.

19 . The boot control method as claimed in claim 11 , wherein in response to the boot signal, determining whether the flag of the check module is set further comprises:

determining that the backup memory block of the memory has been backed up when the flag is set; and

determining that the backup memory block of the memory has not been backed up when the flag is not set.

20 . The boot control method as claimed in claim 11 , wherein the memory is a flash memory.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 23, 2024
From: HUANG, CHUN-HAO; SHEN, TZU-LAN
To: NUVOTON TECHNOLOGY CORPORATION
Reel/Frame 066545/0587 →
Priority Claims (1)
TW 112113423 · Apr 11, 2023 · national
Continuity (1)
Related Publication 20240345845A1 · Oct 17, 2024
References Cited (17)
US 8543801B2 · Chu · 2013 [cited by examiner]
US 9563497B2 · Dasari · 2017 [cited by examiner]
US 11216597B2 · Alon · 2022 [cited by examiner]
US 11347519B2 · Nelson · 2022 [cited by examiner]
US 20040068334A1 · Tsai · 2004 [cited by examiner]
US 20040193865A1 · Nguyen · 2004 [cited by examiner]
US 20120239920A1 · Yang · 2012 [cited by examiner]
US 20140040605A1 · Futral · 2014 [cited by examiner]
US 20170344302A1 · Blicharski · 2017 [cited by examiner]
US 20200073652A1 · Chen · 2020 [cited by examiner]
US 20240095178A1 · Cheng · 2024 [cited by examiner]
CN 112929512A · 2021 [cited by applicant]
TW 202044027A · 2020 [cited by applicant]
TW I715925B · 2021 [cited by applicant]
TW I768316B · 2022 [cited by applicant]
TW I789142B · 2023 [cited by applicant]
Taiwan Office Action dated May 31, 2024 in Application No. 112113423 is attached, 7 pages. [cited by applicant]