I have an ARM Coretex M0 I'm looking at with my JLink Pro, via SWD. When I look at memory via J-Mem, I see the memory values I'm expecting in the sections I know about, and I can see large swaths of the memory space that is not mapped. I'd like to dump to file what I see in J-Mem. JLink Commander's savebin command is not as helpful as I'd like because I have to know which sections of the memory address space are mapped. If I request all memory out to 0xffff_ffff, I of course get an error the first time savebin tries to read from an unmapped address. The thing is, I can't find a way to get a memory map through any JLink tools, so I'm left just endlessly scrolling through J-Mem trying to identify the boundaries of the mapped sections. There has to be a better way, especially because J-Mem has some reasonably performant way of recognizing which regions are mapped and which aren't.
So how can I dump all of what I see in J-Mem with one simple command? Or how can I get a memory map so that I can dump memory with savebin without hitting regions that are unmapped?
So how can I dump all of what I see in J-Mem with one simple command? Or how can I get a memory map so that I can dump memory with savebin without hitting regions that are unmapped?