I'm reverse engineering a chinese MCU.
The datasheet for this chip is pretty poor, they left out important things like memory map, block diagrams ecc... so i got stuck. This is what i've done:
I got access to the SWD interface (it's like jtag but arm specific) and i can debug stuff through gdb. I have begun by taking a look at the main CPU, the datasheet says '128MHz high cpu performance processor', so i can assume it's an ARM Cortex (maybe M3).
In memory i found the vector table (placed at 0) and the reset handler (0x4). By now i can start reading code from the entry point (reset handler). But the code is big and reading all of that through gdb is annoying, but most important i don't know where things are. Well, through the vector table i know where the stack and entry point are. I have the locations of some interrupts that are used in the chip but nothing more. The question is, can i figure out the memory map from this few information ? How your approach would be with this sort of "challenge" ? Thank you :)