A USB stick lies in a drawer for years with no battery, no cable and no power of any kind. Plug it in and the files are still there. Each bit of those files rests on a charge too small to picture: in state-of-the-art multi-level flash, a single cell can store only about 100 electrons.
That feat is odd because most computer memory cannot do it. Memories called volatile lose their information when the power goes off unless they are periodically refreshed. DRAM, the main memory of many computers, builds each bit from one transistor and one capacitor. SRAM usually spends six transistors on each bit. Both are made of semiconductors, and both forget the moment the supply stops.
Nonvolatile memories keep their information when power is off, and flash is one of them. Flash is also semiconductor-based, built from the same family of materials as the memories that forget.
So the question is double. How can an unpowered chip hold its data for years? And why does it eventually forget?
What is inside a USB stick's memory cell?
Open a USB stick and the memory turns out to be split between two kinds of chip. A flash device typically has one or more flash chips plus a separate controller chip. The flash chips hold the data, while the controller manages them. The type of flash in most USB sticks is called NAND, and it also fills memory cards and SSDs, among other products.
So what, physically, does the remembering? Inside a flash chip, data sits in memory cells made of floating-gate transistors. A transistor here is a tiny electrical switch: voltage on its gate decides whether current can flow through the channel between its source and drain regions. NOR flash, the other main type, uses the very same cell design, a floating-gate MOSFET (metal-oxide-semiconductor field-effect transistor).
The cell adds one extra piece to that switch. The floating gate sits between the ordinary gate and the source-drain area, isolated from both by oxide. When the floating gate is uncharged, the ordinary gate controls the current, as in any transistor.
The isolation is what makes the memory last. An inter-poly oxide covers the floating gate from above, and a tunnel oxide lies beneath it. Electrons that have been programmed onto the gate are therefore shut inside, and they do not discharge even when the flash is powered off.
A sealed vault with no door is a fair picture: the electrons are the valuables, and the oxide walls keep them in without any power for guards. The oxide must insulate against electrons, because leakage would cause data loss. The picture breaks down in two places. A vault has a door, but the cell has none, so electrons must somehow be put in through the wall itself. And a vault wall is just thick, while the oxide is a barrier only a tiny distance across, whose quality is the cell's entire defense.
How do electrons cross an insulator?
Older tunneling devices dealt with the sealed gate by making the wall almost vanish. They needed a very thin oxide between the floating gate and the silicon substrate, for example 50 angstroms (an angstrom is a ten-billionth of a meter). That is hard to manufacture, and an oxide so thin prevents long-term storage. Tunneling had therefore not been practical for removing charge from a floating gate, because it demanded either too thin an oxide or too high a voltage.
The answer is tunneling, in which electrons pass through a barrier they lack the energy to climb over. A high gate voltage fills the floating gate with electrons this way. As they pile up, the gate's negative potential blocks current through the transistor. Erasing runs the process backward: a high voltage in the reverse direction reverses the voltage across the oxide, and the electrons tunnel back off the floating gate.
A puzzle remains. Spread evenly across the gap, the average electric field between the gates is not enough to overcome the barrier between silicon and silicon oxide. Something must concentrate the field. A lightning rod does this at its tip, and the floating gate does it with its own geometry: sharp edges and rough surfaces on the gate substantially enhance the electric field. The analogy stops at the design. A lightning rod is built to be pointed, while the cell's roughness is random.
Imagine shrinking yourself down and walking across the floating gate, expecting a polished floor. Measurements say you would stumble instead, because the surface is a field of random undulations, each with a radius of curvature of about 50 angstroms, some tighter and some blunter by a few tens either way. Stand at the crest of one of these bumps and you would be at the spot where the field is sharpened far beyond the weak average, and where electrons can finally start across.
The crossing then gets easier. Once electrons reach the oxide's conduction band, the energy band in which they can move freely through the material, a much lower field sustains the conduction. The bumps start the current, and a modest field keeps it going.
How does trapped charge become a 1 or a 0?
Reading a cell starts outside it. External circuitry can detect whether current flows through the transistor, and that single yes-or-no check is all the chip needs.
The key quantity is the threshold voltage, the minimum voltage that turns on the channel, the path through the silicon that carries current. The control gate normally opens this channel with its electric field. Electrons on the floating gate push back with a field of their own, which partly cancels the control gate's field. Injecting different amounts of charge therefore moves the threshold to different values. With enough electrons on the floating gate, the control gate no longer controls current through the transistor at all.
Here is the worked example. Apply the control gate's voltage to a cell whose floating gate holds no electrons. The channel opens, current flows, and the circuitry reads a one. Apply the same voltage to a cell with trapped electrons. The canceled field leaves the channel shut, no current flows, and the circuitry reads a zero.
Picture an engineer who is tired of the plain on-off switch and reaches for a dimmer instead. Multi-level cells work in that spirit: she varies the number of trapped electrons, and the control gate loses its grip to different degrees. Her dimmer can rest at a cell that is not working, one that is a third working, one that is two-thirds working, or one that is fully working, and together those settings can hold a pair of bits. Then she runs into where the picture breaks. Nobody reads brightness off the cell. The circuitry only sorts the threshold into one of its regions, and each region corresponds to a unique pair-of-bits binary value.
Now imagine a memory designer watching the idea leave the whiteboard. In 1998, NEC demonstrated multi-level cell technology in a working chip, with each cell holding more than a single bit. Samsung began mass-producing TLC NAND, which squeezes in yet another bit per cell, in 2010. The designer's excitement cools as she studies the cost. Multi-level storage shrinks the threshold voltage window for each state, so a small loss of charge is more likely to push a cell into the wrong region.

How do we know the electrons really move?
In 1967, Simon Min Sze and Dawon Kahng at Bell Labs devised a semiconductor memory that kept its contents when the power was off. Sze recalls being told to bury the result in an obscure journal for fear of ridicule.
Nobody can watch electrons sit on a floating gate, so the evidence is indirect. Charge on the gate shifts the threshold voltage, and the threshold voltage can be measured from outside. The numbers below come from a worked example in a patent, US4119995, which describes a preferred embodiment. In that design, the floating gate stores charge and sits about 1100 angstroms of thermally grown oxide above the silicon.
To charge the gate, the example puts about 20 volts on the drain and about 25 volts on the programming and erasing gates, while the source and bulk terminals stay grounded. Near the pinch-off point, where the channel narrows close to the drain, some electrons become hot, meaning they carry extra energy from the strong field. These hot electrons cross the oxide and become trapped in the floating gate.
The result is visible in the threshold. With the gate negatively charged, the patent gives a threshold voltage of approximately +10 volts.
Now imagine wiping the memory clean. You ground every terminal except the erasing gate, then hit that gate with a pulse, a pulse train or a ramp of about thirty volts. Nearly all of that push lands across the gap between the floating gate and the erasing gate, all but a few volts of it. The field tugs the trapped electrons out of the floating gate and over to the erasing gate, and the floating gate is left with a net positive charge. When you measure the threshold again, it has dropped to approximately -10 volts.
The patent also claims a way to discharge by tunneling through a relatively thick oxide without a high potential.
Why do cells wear out and slowly forget?
Every time a cell is written, electrons are pushed through the oxide, the thin insulating layer that is supposed to keep them in place. Pushing electrons through a gate to set a cell's state wears the cell, and with enough repetition it wears out the whole drive. Wear of the oxides is the reason flash memory has limited endurance, and a key disadvantage of flash is that each block survives only a relatively small number of write cycles.
So why can a stick that sits untouched lose its data? The damage left behind in the oxide is part of the answer. Charge trapping inside the tunnel oxide is unavoidable, and it causes retention loss, a drift in the threshold voltage over time without any outside stimulus. The trapped charge and damaged oxide also open a route for stress-induced leakage current. This is a weak tunneling current, driven by the cell's own intrinsic field, that leaks charge off the floating gate.
Each cell's stored charge sets a threshold voltage, and as charge seeps away, that threshold creeps toward a neighboring state until the circuitry misreads the bit. Such retention errors, caused by charge leaking over time, are the dominant source of flash memory errors.
Two things make the leak worse. Heat is one: electrons become more excited as temperature rises, so leakage speeds up in a hot environment. Shrinking is the other. A smaller process reduces a cell's capacitance and the number of electrons it can store, so each lost electron matters more. A rough analogy is a bucket with a pinhole: a smaller bucket empties to the danger mark sooner. The analogy fails in one respect, because a bucket's hole stays the same size, while the oxide's leaks grow as writes damage it.
Kingston, a memory maker, puts numbers on this. It rates MLC (multi-level cell) flash at 3,000 to 5,000 write cycles per physical sector at 24 nm and 25 nm lithography. The company also says data retention depends on how much the memory has been cycled, so a heavily used cell forgets faster than a fresh one.

How does a controller hide the wear?
A write of 2 MB can cause 4 MB of writes inside a flash drive. The extra data is not a mistake. Flash writes in whole blocks, and it rewrites an entire block however few pages within it are updated. The ratio of data physically written to data the computer asked to write is called the write amplification factor, and here it is 2.
Write amplification can climb much higher. In some cases it reaches 20 or 30, so a single request wears the oxide twenty or thirty times as much as its size suggests.
The work falls to the controller, the separate chip that manages the flash. One of its jobs is wear leveling: it spreads program/erase cycles evenly across the flash, so no single block burns through its limited lifetime while others sit nearly fresh. A rough analogy is rotating the tires on a car. The analogy stops working at one point: tires wear at a visible, steady rate, while each flash cell fails on its own unpredictable schedule.
Failures are expected, so the controller also plans for them. Flash cells have a long but finite lifetime, so some are held in reserve as spares. The controller locks out bad blocks automatically and swaps in spare blocks that were set aside at the factory.
The operating system can help too. With the TRIM command, it tells the drive which blocks are no longer needed, and the drive can then erase them ahead of time.
Researchers have also tried to stretch lifetime from the other direction, by accounting for the slow leakage of charge described earlier. In tests on real 2y-nm MLC NAND chips, the authors' ROR technique extended flash lifetime by 64%.

Can charge be held in ever smaller cells?
In charge trap flash, the polysilicon floating gate gives way to a layer of silicon nitride, an insulator that traps electrons in place. The design offers a hopeful answer in theory: charge trap flash should be less prone to electron leakage, so it should retain data better.
The design has weak spots of its own. Electrons can accumulate in the nitride and cause degradation. Charge trap flash also still uses a tunneling oxide and a blocking layer, and these remain its weak points, so the insulator that wears out in a floating-gate cell has not gone away.
The review of flash memory notes that conventional floating gates lose charge as they shrink and that the integration limit of flash is approaching, so replacements have been proposed. Stacking cells in layers is one route: Toshiba announced 3D V-NAND in 2007, and Samsung commercialized the first 24-layer device in 2013. Nanocrystal memory is another. It would store charge in discrete nodes, and the review expects it to preserve trapped charge efficiently.
The same oxide wears with every write, and that wear sets the memory's life. The USB stick in the drawer keeps its files only as long as those few electrons stay put. What remains open is which design, whether charge trap, nanocrystal or something else, can hold charge in cells smaller than today's.
Cover: Dmitry Makeev · CC BY-SA 4.0 · Wikimedia Commons. Layout and headline text by Signal Titans.
Source: How does a USB stick remember with no power? · GB1517925A – Storage field effect transistors – Google Patents · US4119995A – Electrically programmable and electrically erasable MOS memory cell – Google Patents · Overview of emerging nonvolatile memory technologies – PMC · Not just a flash in the pan · NAND and NOR Gates · users.ece.cmu.edu · media.kingston.com · SSD vs. HDD: What Does the Future for Hard Drive Storage Hold?

Leave a Reply