How to retain data in RAM after system reset/crash while power supply remains?

Hello,

exactly this is used for Mbed crash report, I think. We talk about that in your older topic - How to effectively use watchdog in mbed? - Mbed OS - Arm Mbed OS support forum

I never tried to do something with this, but there seems to be documented how to add region in RAM via linker (correctly sugested by Tom) and so on. You can found how to add your own codes dictly to exiscting system maybe. But as minimum you can use it for inspiration.

Here is probably defined a region for mbed crash for F767 probably

BR, Jan