Microcontroller Boot Circuit With Backup Setting Recovery

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing microcontroller circuits face issues with abnormal operation due to incomplete or incorrect boot settings when the system shuts down abnormally during rewriting, leading to potential damage to the electronic device or system.

Innovation Solution

A microcontroller circuit with a memory system comprising a main and backup memory block, a check module, and a processor that checks and compares boot settings using a flag to ensure correct initialization by restoring backup settings when abnormalities occur.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the microcontroller shuts down abnormally during boot settings rewriting, then the boot settings may become abnormal or incorrect, but implementing backup and verification mechanisms increases device complexity

Engineering Contradiction:
Improveboot settings reliabilityVSAvoidmemory structure complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The memory is divided into a main memory block for storing current boot settings and a backup memory block for storing backup boot settings. This segmentation allows the system to maintain separate copies of boot settings, enabling verification and restoration capabilities without requiring complete redundancy of the entire memory system.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The backup memory block is prepared in advance with backup boot settings before abnormal shutdowns occur. During normal operation, the system maintains a valid backup copy, so that when abnormal shutdown happens during rewriting, the system can immediately restore from the pre-prepared backup without needing complex real-time error correction mechanisms.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If the microcontroller shuts down abnormally during boot settings rewriting, then the system may operate abnormally after restart, but implementing check and compare mechanisms increases processing time

Engineering Contradiction:
Improvesystem operation reliabilityVSAvoidboot initialization time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The backup boot settings are prepared in advance in the backup memory block, eliminating the need for complex real-time error detection and correction during boot. The comparison between main and backup settings is a simple operation that quickly determines whether restoration is needed, rather than implementing lengthy verification protocols.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

Instead of implementing complex error detection and correction algorithms, the system uses a simple copy-verify-restore approach. The backup memory block contains a copy of the boot settings, and the processor simply compares and restores from this copy when needed, which is much faster than sophisticated error correction methods.

Inventive Principle:
Principle #26Copying

3Reliability

If boot settings are not written correctly during rewriting, then the microcontroller will operate abnormally, but implementing backup verification increases manufacturing complexity

Engineering Contradiction:
Improveboot settings correctnessVSAvoidcircuit implementation ease
Core Design Contradiction:
ReliabilityVSEase of manufacture

Solution Approach 1:

The memory is segmented into main and backup blocks, allowing standard flash memory components to be used without requiring specialized error-correcting memory. This segmentation approach is easier to manufacture than implementing complex error correction codes across the entire memory system.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The backup memory block stores a copy of the boot settings, providing a simple manufacturing solution. Instead of implementing complex error detection and correction logic in the manufacturing process, the system uses a straightforward copy-verify-restore mechanism that can be implemented with standard components and processes.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS12547415B2Microcontroller circuit and boot control method
Publication Date: 2026.02.10 NUVOTON
  • US12547415B2 patent drawing
  • US12547415B2 patent drawing
  • US12547415B2 patent drawing

AI summary

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.