poc||gtfo #10 has an article on using the SWD interface on the Cortex M0. It’s a tantalizing thing: two wires, clock and bidirectional data, give you complete access to the chip. You can read or write memory as if you were the CPU core, in fact concurrently while the CPU core is running.