Reset-Time Register Logic for Microcontroller Boot Selection
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing microcontroller architectures lack the flexibility to choose between multiple levels of security, necessitating a method to implement multiple security levels in circuits that do not inherently support this choice.
Innovation Solution
A method for selecting a startup program in a microcontroller that involves reading multiple registers during reset and using a signal state on a startup terminal to condition the selection, allowing a single secure mode to be implemented, and enabling access control through a security register that can only be incremented.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If a microcontroller architecture implements multiple security levels, then security flexibility is improved, but device complexity increases
Solution Approach 1:
The patent implements dynamic security mode selection by reading option registers during reset to determine which startup program to execute. The security configuration is not fixed but dynamically selected based on register values, allowing the same hardware to adapt to different security requirements without increasing physical complexity
Solution Approach 2:
The patent changes the parameter being monitored from hardware architecture to software configuration (option register values). By using register values to determine security mode selection, the system achieves multiple security levels through parameter variation rather than through complex hardware differentiation
2Reliability
If security restrictions are implemented to protect secure resources, then security is improved, but ease of operation deteriorates
Solution Approach 1:
The patent performs preliminary configuration by setting option registers during manufacturing or initialization. The security mode is predetermined by these registers, so that during normal operation, the system automatically selects the appropriate startup program without requiring complex runtime access control decisions
Solution Approach 2:
The patent introduces an intermediary mechanism (option registers and startup program selection logic) that mediates between the need for security protection and ease of operation. The registers act as a configuration layer that translates security requirements into automatic program selection, shielding users from complex access control logic
Data Source
Figure 1~2
Figure 3
AI summary
The present description relates to a method for selecting a boot program of a microprocessor (110) of a microcontroller (100), from among several boot programs (ST_iNoIsolation, STiRoT, RSS) contained in one or more memories (104, 112, 120) of the microcontroller, in which several registers (TZEN, PRODUCT_STATE) of the microcontroller are read first during a reset of said microprocessor and this reading conditions, with a state of at least one signal present on a boot terminal (BOOT_PIN) of the microcontroller, the selection of the boot program.