Reading current memory image from a micro controller
Either you use a microcontroller that has a debug port (e.g. JTAG, in case of ARM microcontrollers often SWD) and an appropriate debugger, or you'll need to write software for the microcontroller that outputs the memory contents e.g. via a serial interface.