Microcontroller Register Configuration with Electromagnetic Disturbance Protection
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for configuring microcontrollers are inflexible and vulnerable to electromagnetic disturbances, which can corrupt the contents of memory registers, and existing solutions like ROM and EPROM structures do not allow for user-specific modifications or real-time correction.
Innovation Solution
A method that writes option byte values into flip-flop registers during start-up, using a comparator and inverter to verify and restore correct values, and allows for reconfiguration during normal operation, enhancing immunity to electromagnetic disturbances.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If values are stored in ROM memory registers, then protection against electromagnetic disturbance is improved, but flexibility and user customization are lost
Solution Approach 1:
The configuration memory is segmented into two distinct parts: option bytes stored in non-volatile memory for protection against electromagnetic disturbances, and configuration registers in volatile memory for user customization and real-time modification. This segmentation allows each part to fulfill its specific function without compromising the other.
Solution Approach 2:
Protective configuration values are pre-stored in the option bytes of non-volatile memory during manufacturing. These pre-stored values serve as a backup that can be restored to the configuration registers if corruption is detected, ensuring reliability while maintaining user customization capability.
2Stability of the object's composition
If fuse structures are used for configuration, then definitive configuration is achieved, but reconfigurability and user modification are eliminated
Solution Approach 1:
The configuration system transitions from static fuse structures to dynamic volatile memory registers that can be modified during run-time operation. The configuration registers can be updated by writing new values from the option bytes, enabling adaptability while maintaining stability through the protected option byte storage.
Solution Approach 2:
The configuration values in the registers can be changed by writing new data from the option bytes during run-time operation. This parameter change capability allows users to modify the microcontroller configuration without altering the physical structure, unlike fuse bonds that are permanent.
3Adaptability or versatility
If EPROM option bytes are used, then user modification is enabled, but the number of direct connections and complexity increase
Solution Approach 1:
The option bytes are integrated directly into the non-volatile memory structure of the microcontroller, eliminating the need for separate external memory components and numerous direct connections. This merging reduces device complexity while maintaining user modification capability through the standard memory interface.
Solution Approach 2:
The non-volatile memory structure serves multiple functions: storing option bytes for user customization, providing backup configuration values for electromagnetic disturbance protection, and enabling run-time reconfiguration. This multi-functionality reduces the need for dedicated connections and separate structures.
4Adaptability or versatility
If configuration values are stored in volatile memory registers, then user customization and real-time modification are improved, but vulnerability to electromagnetic disturbance increases
Solution Approach 1:
A verification mechanism compares the configuration values in the volatile memory registers against the protected option bytes in non-volatile memory. If corruption is detected in the registers, the system can restore the correct values from the option bytes, providing feedback-based protection while maintaining customization capability.
Solution Approach 2:
The option bytes in non-volatile memory act as an intermediary backup that mediates between the user customization needs and the protection requirement. They store the authoritative configuration values that can restore the volatile registers if corruption occurs, without preventing user modification.
Data Source
AI summary
A system for configuring registers of microcontrollers includes first register and second registers. The system includes a data source for loading a datum into the first register and the logic complement of said datum in the second register. The system also includes a comparator which verifies the identity between the datum in the first register and the logic complement in the second register, and, where the identity is not verified, generates a signal indicating that the data have been corrupted by a disturbance. The system also includes a final-state machine which disables the comparator during writing of the registers.


