This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How does memory work in cortex M3?

Hi 

Now I'm trying to understand about memories in the Cortex design kit.

I came across memory address map of cortex M3 when I googling as the below.

In the image, left one is an AHB memory map, and right one is STM32F103's memory map.

As you can see, they are almost similar, so I'm confused that how does memory work in Cortex in M3 especially in boot sequence.

Cortex M3 design kit's AHB memory map has 3 memory area(RAM, Optional boot loader memory, actual size 4KB.., Program memory 4KB).

  • Just guessing:

    The boot memory is optional to the SoC manufacture. They can add some ROM or Flash which is executed on SoC boot prior to the user application. (I think NXP does this in the LPC4xxx series).
    After the boot code has finished it will call the application in the flash.

    In general you cannot modify the boot code. So your code only goes to the user-flash.