Our company received a product returned from the market for repair. Testing revealed that the product would freeze after running for a period of time (possibly a few minutes or hours, the duration is uncertain). Upon checking the hardware circuit, no anomalies were found. After replacing the MCU, it was discovered that the issue followed the MCU, pinpointing the problem to the MCU itself. Online debugging showed that during the freeze, the program entered a hardware interrupt error. Subsequent repeated write/read tests of fixed values in the internal SRAM of the MCU revealed that one bit value at a specific address was stuck at 1 and could not be written to 0.
The failure of one or several bits in the internal SRAM of the MCU is a typical reliability issue, which can be attributed to several major categories.
In simple terms, the core reason for SRAM bit failure is the instability or integrity of the circuit that stores that bit value (usually a 6T cell composed of 6 transistors) being compromised, leading to an inability to correctly write or retain data.
Below is a detailed root cause analysis, explaining each aspect from manufacturing to application:
1. Manufacturing Defects (Intrinsic Issues)
These issues stem from defects in the chip manufacturing process, which are usually filtered out during pre-shipment testing, but there is still a very low probability of them entering the market.
-
Particle Contamination: Tiny dust particles falling on the wafer during manufacturing can cause damage to the gate oxide layer of transistors, leading to short circuits or open circuits in metal lines.
-
Photolithography Anomalies: Deviations in the photolithography process can result in critical dimensions such as channel length and width of transistors not meeting specifications, or metal connections being too thin or too thick.
-
Contact Hole/Via Issues: “Holes” that connect different layers of metal may not be fully etched or filled, resulting in excessively high contact resistance or complete open circuits.
-
Uneven Doping: Non-uniform concentration of impurities doped into the silicon wafer can cause the threshold voltage (Vth) of transistors to deviate from design values, making them too “slow” or “sensitive.”
Characteristics: This type of failure is permanent and non-recoverable. Once it occurs, the specific bit will always be erroneous.
2. Physical Damage (Acquired, Permanent)
The MCU may be damaged due to external physical stress during use.
-
Electrostatic Discharge (ESD): During operation or installation, static electricity from the human body or tools can break through the extremely fragile gate oxide layer in SRAM cells, causing permanent breakdown of the oxide layer, resulting in short circuits or leakage paths.
-
Electrical Overstress (EOS): Abnormal power supply voltage (such as surges or overvoltage) or excessive current (such as short circuits) can cause internal metal connections to melt or transistors to burn out.
-
Latch-up: Due to noise or current disturbances, the inherent parasitic thyristor structure of CMOS process chips can be triggered, creating a high current path between power and ground, thus burning out the circuit.
Characteristics: This is also a permanent damage, usually related to improper operation or harsh electrical environments.
3. Inherent Failure Mechanisms of Silicon Materials (Over Time)
Even with perfect manufacturing, chips can “age” over long-term use due to physical and chemical effects.
-
Time-Dependent Dielectric Breakdown (TDDB): The gate oxide layer can gradually develop defects under long-term electric field stress, ultimately leading to breakdown of the insulating layer. This is a cumulative effect.
-
Hot Carrier Injection (HCI): High-speed moving carriers (electrons or holes) can gain enough energy in a strong electric field to inject and become trapped in the gate oxide layer, gradually altering the threshold voltage of the transistor, ultimately leading to performance degradation or functional failure.
-
Negative Bias Temperature Instability (NBTI): Primarily affects PMOS transistors. Under negative bias and elevated temperatures, the threshold voltage of the device can gradually drift (absolute value increases), causing the transistor to switch more slowly, and in severe cases, preventing SRAM cells from flipping.
Characteristics: This belongs to a wear-out mechanism, which is strongly correlated with time, temperature, and operating voltage. It is a decisive factor in product lifespan.
4. Environmental and External Factors (Random, Transient, or Permanent)
-
Alpha Particle/Cosmic Neutron Bombardment: Trace radioactive impurities (such as uranium and thorium) in packaging materials can release alpha particles, while cosmic rays in the atmosphere can generate high-energy neutrons. These particles can strike SRAM storage cells, potentially triggering electron-hole pairs, altering the charge on capacitors, leading to soft errors.
-
Characteristics of Soft Errors: Non-destructive, random, transient. Simply rewriting the correct data can restore functionality without causing permanent damage to the hardware. However, occurring on critical data may lead to program crashes.
-
Extreme Temperatures:
-
High Temperatures: Can exacerbate the aging effects mentioned above (TDDB, HCI, NBTI), while leakage current can significantly increase, potentially damaging the static operating point of SRAM cells.
-
Low Temperatures: May cause transistor switching speeds to slow down, leading to timing issues. For ultra-low power SRAM that relies on leakage current to maintain data, reduced leakage at low temperatures may actually be beneficial, but extreme low temperatures can introduce other unknown issues.
5. Insufficient Design Margins (Systemic Issues)
-
Insufficient Stability: When designing SRAM cells, a balance must be struck between read/write speed and stability. If the design margin is insufficient (such as inadequate read static noise margin (SNM) or write margin (WM)), under process corner variations, voltage drops, or temperature changes, normally stable cells may become unstable, leading to random errors.
How to Diagnose and Differentiate?
-
Is it a Permanent Error?
-
Testing: Under constant voltage and temperature, repeatedly write
<span>0</span>and<span>1</span>to a specific address’s fixed bit and read back. -
Conclusion: If errors consistently occur at the same bit position, it is highly likely to be a hard fault, indicating manufacturing defects or physical damage as described above.
-
If errors appear randomly at different locations, it may be a soft error or a stability issue.
Voltage/Temperature Correlation Testing?
-
Testing: Change the core voltage (Vcore) or environmental temperature and observe error behavior.
-
Conclusion: If errors occur at low voltage or high/low temperatures but are normal under nominal conditions, it is likely due to insufficient design margins or aging effects (such as NBTI) causing stability issues.
Summary and Response Strategies
| Type of Cause | Type of Error | Characteristics | Response Strategies |
|---|---|---|---|
| Manufacturing Defects | Hard Errors | Permanent, fixed bits | Strict factory testing, replace chip |
| ESD/EOS | Hard Errors | Permanent, sporadic | Improve PCB design, add protection circuits, standardize operations |
| Aging (TDDB/HCI/NBTI) | Hard Errors | Occur over time | Derate usage (reduce voltage/temperature), select high-reliability chips |
| Particle Bombardment | Soft Errors | Random, transient | Use ECC memory at the system level, adopt error correction algorithms |
| Insufficient Design Margins | Soft/Hard Errors | Voltage and temperature dependent | Select high-quality chips, design systems with adequate margins |
For multiple bit failures, the first step is to determine whether it is a hard error or a soft error. If it is a hard error, it generally means that the MCU is unreliable and needs to be replaced. If it is a soft error, system-level methods such as ECC (Error Correction Code), regular data refreshing, watchdog, and checks in program flow can be used to tolerate errors and improve overall system reliability.