Re:Arm Announces Cortex-R82: First 64-Bit Real Time Processor
by formerly_proven on Monday September 07, 2020 @03:50PM
(#24402170)
Tightly coupled memory is basically a cache, except it's explicitly mapped at an address. In MCUs it's faster and also more "secure" in a sense, because, just like a cache, you can't DMA into TCM, so peripherals can't write garbage or shellcode into TCM. The upside of TCM over a cache is that it doesn't need the quick logic to for cache lookups and the storage for tags (so smaller, lower power than a cache), while the downside - it being explicit - is less of a problem and sometimes an advantage in embedded systems.
[ Parent
| on HN ]
Re:Arm Announces Cortex-R82: First 64-Bit Real Time Processor
by teej on Monday September 07, 2020 @04:03PM
(#24402283)
I understand a lot better now, thanks!
Re:Arm Announces Cortex-R82: First 64-Bit Real Time Processor
by easde on Tuesday September 08, 2020 @05:04PM
(#24413353)
Many MCUs / SoCs support DMA into tightly coupled memories. Very useful for "ping-pong buffering" to hide memory copying overhead - copying one buffer into a TCM bank while the processor works on a different TCM bank.