HN.zip

MRAM Basics: How Magnetic Memory Is Replacing Embedded Flash

84 points by - 35 comments
[3 hidden]5 mins ago
This is an AI-generated article that appears to be just weird marketing.

MRAM has been stuck in a tiny market niche for a very long time, simply because it's not competitive in anything except some space applications. Yet the small-cap stock of the titular company ($MRAM) was involved in what looked like a pump-and-dump cycle piggybacking on the RAM shortages. Their stock went from $10 to nearly $50 and then back to $10ish in a matter of weeks.

If I were to wildly speculate, articles like these may be appearing in an attempt to recreate that cycle.

[3 hidden]5 mins ago
This article not withstanding, there’s some real meat to the topic. At least for automotive-qualified safety parts, we really did hit a wall at 45 nm with NOR flash — no one offers smaller geometry flash, and so automotive micros have been stuck there for an unusually long time.

As a result, for this generation we’re seeing a much-larger-than-normal step from 45 nm straight to 22 nm planar or even 18 nm FinFET, which is a huge step in available compute — but only TI is trying to do it with conventional flash, and they’re doing it at a new fab. Other vendors are using either MRAM (the subject of the article) or TSMC’s PCM — both of which are different enough from flash in behavior and performance to require significant software redesign (though mostly in exciting ways, enabling new capabilities).

This really is a big deal.

[3 hidden]5 mins ago
There are a couple of different styles of MRAM.

I designed in a Everspin MRAM. Had to take it back out when we learned that the small magnet, to activate a reed switch, near the MRAM would destroy it. It did not just lose a few bits, the device was forever dead. We are talking Refrigerator Magnet level field in close proximity. Everspin later went bankrupt.

Before they did I sent them one of the failed devices for analysis. They did explain the failure mechanism to me but non-disclosure that I had to sign prevents me from saying more about it.

Great technology as long as no magnetic fields are close to the device.

The Cypress, now Infineon, devices claim to be immune to this type of problem. I've not been willing to take a gamble on being burned again.

[3 hidden]5 mins ago
The Cypress/Infineon devices are Ferroelectric RAM, not MRAM. Completely different technology. Ferroelectric RAMs do not have any problem with magnetic fields.
[3 hidden]5 mins ago
If i remember correctly, everspin was first gen MRAM where they needed a metal line to create a field that would flip the bit. Intuitively that mean that the magnetic domain that held the state would need to be weaker to flip more easily.

Second gen STT-MRAM used the electrons (with a spin direction) to transfer that spin to the domain to change state, so no field. My hunch is that these would be less susceptible, but hard to tell.

[3 hidden]5 mins ago
I was an early customer so it was first generation that I was using.

I've become tired of the blood loss from the Bleeding Edges of technology since then.

[3 hidden]5 mins ago
> Great technology as long as no magnetic fields are close to the device.

Weren't floppies and hard disks prone to the same issue?

[3 hidden]5 mins ago
Non disclosure for a bankrupted company?
[3 hidden]5 mins ago
They reinvented themselves as Everspin Technologies and are still around.

There are too many lawyers in the world, I'm just being safe. It was a valid thing when I signed it.

[3 hidden]5 mins ago
IANAL, but I've seen this situation (in the US; YMMV). An NDA is a contract, and can be considered an asset in the bankruptcy. So, yes, you can still be sued for breaking the NDA of a bankrupt company, assuming someone cares about the IP. I would guess the claim in this case would be that disclosing the exact nature of the defect would damage the value of the IP or some such.
[3 hidden]5 mins ago
Huh? Everspin is alive and kicking. And before that, they were known as Freescale, spun off in 2009. And before that, they were known as Motorola. None of these companies appear to have been involved in bankruptcies.
[3 hidden]5 mins ago
I stand corrected. They had stated in both 2016 and 2019 that they had concerns that they could continue without an infusion of cash. They never actually filed.
[3 hidden]5 mins ago
If anything, I'd say embedded flash is being replaced by off-package flash and co-packaged flash.

Yes, placing embedded flash on the same die as logic is indeed becoming more and more of a problem. But replacing that with magnetic memory on the same die as logic doesn't really solve the problem either: you are still wasting a significant area of expensive die space on some weird foreign process!

Our storage demands aren't exactly slowing down. Giving MCUs several megabytes of flash is already fairly standard, and there's zero doubt in my mind that it will grow to several hundreds of megabytes in the not-too-distant future. Memory scales incredibly poorly, so the only sensible approach is to put it on a different die.

We are already seeing this hitting mainstream budget MCUs. See for example the RP235x: by default all you are getting is a logic die, but you can attach an external flash chip via QSPI. Alternatively you can go for the RP2354, which comes with a 2MB flash chip die integrated into the package itself, attached to the same pins you would use for an external one. And that's a $1.10 chip - if fancy packaging can be done at that price point, why even bother looking into MRAM?

[3 hidden]5 mins ago
For our devices we use FRAM which we can then dump into Flash when needed. MRAM seems to sit in a middle ground between those, not sure how we'd use it as we need super low power usage for the majority of time.
[3 hidden]5 mins ago
RRAM seems to be also becoming very popular in sub-28nm MCUs, especially in use cases where magnetic immunity is not guaranteed (e.g. the actual product includes magnets). Several MCU manufacturers seem to use both
[3 hidden]5 mins ago
Is this actually happening? I knew people who worked at a startup that got bought by a major player over a decade ago and… nothing
[3 hidden]5 mins ago
We've gone full circle huh back to core memory xD. This is neat.

Edit - wait after reading the article I don't get it. SSD flash works till 3nm nodes doesn't it? Then why mram for 16-22 nm mcu nodes?

[3 hidden]5 mins ago
This is about embedded memory, where the memory device is built on the same chip as the logic. The dense kinds of flash can't be built that way.

This is important for cost-reducing embedded products. Even if the chips were free, bonding two chips together would break the budget. What you want is a single product that contains the MCU, the SRAM for memory, and something for storage that can hold the program, all built onto a single tiny piece of silicon, sold for prices starting at $0.025. (2.5 cents each)

[3 hidden]5 mins ago
They're talking about NOR based Flash (as is common in embedded systems). Those have a higher endurance, but lower density than NAND based Flash used in SSDs.
[3 hidden]5 mins ago
So how does MRAM compare to FeRAM? I've used Texas Instruments that contain FeRAM, and they seem pretty good.
[3 hidden]5 mins ago
Works all well until you bring a strong magnet near it.
[3 hidden]5 mins ago
Yeah this could be an issue. This might rule such memory out completely for space, robotics, medical, heavy manufacturing, etc., where magnetic fields are strong and in flux.

I wonder if it would even work in a workstation / laptop? There are magnetic fields moving around for cooling fans and other components, unclear how stable / usable it would be for any "real world" application.

[3 hidden]5 mins ago
In space applications, the risk caused by radiation is much greater than that caused by magnetic fields.

The external magnetic fields are weak and the internal magnetic fields from motors or other devices can be avoided by either choosing a distant position for the MRAM or by using a simple magnetic shield.

So MRAM is certainly preferable in any aircraft or spacecraft application, because of its much greater resistance to radiation than that of flash memory.

Also, in all other applications mentioned by you, a magnetic shield would not increase much the cost, weight and volume, as a thin sheet of high-permeability metal should be sufficient.

[3 hidden]5 mins ago
ok that's good to know, I didn't realize magnetic shielding was cheap and easy like that. In that case, I look forward to cheap high performance RAM!
[3 hidden]5 mins ago
I bet they didn't think of that.
[3 hidden]5 mins ago
They did: "Compare the rating with any motors, magnets, or large inductors near your board." The magnetic field should be fairly strong. Neodymium-magnet-level strong if I'm not mistaken.
[3 hidden]5 mins ago
Last year, I got into researching what happened with MRAM as it was supposed to be the future back in 2000. If it is scaled up and goes mainstream being able to reduce flash then streaming LLMs locally becomes practical as its speed is very high.
[3 hidden]5 mins ago
Great technology, the article states it's cheaper in productions (fewer masks required). So, how much time till we get cheap 1TB MRAM SSDs which last for 20 years ?
[3 hidden]5 mins ago
Unlikely ever going to happen, as even a few kB of magnetoresistive memory hits a significant power draw of almost 0.7W in use.

They are a drop in replacement for battery backup SRAM, and some people retrofit old equipment with MRAM. It is a lot like a CMOS battery keeping lab calibrated settings, and the cost is negligible compared to lab service fees.

I also bought a few to test a toy processor project, and decided MRAM just isn't viable right now due to the power budget costs. =3

[3 hidden]5 mins ago
The erase-before-write cycles is a massive upgrade for sub-28nm microcontroller designs but I was wondering how it respondS to an external magnetic field (e.g., placing a magnet close to the MCU)
[3 hidden]5 mins ago
In general, they are rated for 74+ years in the Earths magnetic field of around 0.5 gauss. They do no appear to degrade in performance on erase-write cycles.

Most Flash memory is rated for only 10 years if temperature ranges remain favorable. The more erase-write cycles that retention leakage rate goes up.

MRAM has very limited use-cases due to energy demands, and limited speed. =3

[3 hidden]5 mins ago
A recent paper (https://arxiv.org/html/2610.40000) demonstrates that 3D FeNOR is also a promising device as main memory.
[3 hidden]5 mins ago
Just curious because I‘m not an EE and can’t quite picture the reported magnetic field resilience: assuming I have a microcontroller with embedded MRAM on a dev board like the RPi Pico (so no special shielding enclosure or anything), what kind of magnet at what distance would destroy the data? The EMI generated by a nearby power supply on the desk? A normal fridge magnet at 10cm? A super strong neodymium magnet right above the chip?
[3 hidden]5 mins ago
hot take - all memory is magnetic
[3 hidden]5 mins ago
Electrostatic is a very different phenomenon from magnetic