Hacker News new | ask | show | jobs
by trklausss 71 days ago
I’d say as well, that a huge difference is a microcontroller has direct access memory (I.e. without translation), and a bigger computers CPU/SoC has an MMU (memory management unit) that does address translation. This is a key hardware difference for isolation of multiple processes, which you don’t typically have in a microcontroller (you _could_ have an MPU to give you some partitioning, but that’s further down the road).
2 comments

Lots of microcontrollers have MMUs, such as some Esp32, some microchip flavors, some stms, nxp, ti siara, renesas and Infineon flavors.

So I wouldn’t claim this is a hard and fast rule. Lots of mcu lines have added mmus on some variants.

The article literally has a section heading

> Espressif put a real MMU in the ESP32-S31