Microcontroller Register Configuration with Electromagnetic Disturbance Protection

Resolve Bottlenecks,
Find Innovative Solutions
Generate 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

VSEngineering 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

Engineering Contradiction:
Improveprotection against electromagnetic disturbanceVSAvoiduser customization capability
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

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.

Inventive Principle:
Principle #1Segmentation

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.

Inventive Principle:
Principle #10Preliminary action

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

Engineering Contradiction:
Improvedefinitive configurationVSAvoidreconfigurability
Core Design Contradiction:
Stability of the object's compositionVSAdaptability or versatility

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.

Inventive Principle:
Principle #15Dynamics

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.

Inventive Principle:
Principle #35Parameter changes

3Adaptability or versatility

If EPROM option bytes are used, then user modification is enabled, but the number of direct connections and complexity increase

Engineering Contradiction:
Improveuser modification capabilityVSAvoidnumber of direct connections
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

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.

Inventive Principle:
Principle #5Merging (Combining)

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.

Inventive Principle:
Principle #6Universality (Multi-functionality)

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

Engineering Contradiction:
Improveuser customization and real-time modificationVSAvoidvulnerability to electromagnetic disturbance
Core Design Contradiction:
Adaptability or versatilityVSReliability

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.

Inventive Principle:
Principle #23Feedback

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.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS7571379B2Method and system for configuring registers in microcontrollers, and corresponding computer-program product
Publication Date: 2009.08.04 STMICROELECTRONICS SRL
  • US7571379B2 patent drawing
  • US7571379B2 patent drawing
  • US7571379B2 patent drawing

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.