Debugging without reset
Sometimes, it’s useful to debug the chip without resetting it. An actual example that happened in S21 was the storage of crude data logs in RAM. THe idea being that you’d fly the aircraft and retrieve the logs from RAM upon landing.
Trouble is that the debug method specified in the parent page resets the chip upon entering a debug session (and uploads code from a certain .elf file. This clears all RAM and in the process, destroys any logs. There’s a way to create a debug session that doesn't do this, and rather, let’s you access the registers, memory, and whatever you can normally access from a chip that’s currently running.
Instructions for doing this are detailed inside the STMcube IDE manual, section 3.5.6
The manual has been attached to the parent page.