Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


STM32F4 memory map is wrong. #66

WAHa06x36 opened this Issue · 4 comments

3 participants


The 192k of RAM in the STM32F4 is not contiguous. There are actually three different banks, two of which share one memory range, and a third bank of CCM which is at a different address range. The memory map for the STM32F4 should begin:

  "  <memory type=\"rom\" start=\"0x00000000\" length=\"0x100000\"/>"       // code = sram, bootrom or flash; flash is bigger
  "  <memory type=\"ram\" start=\"0x10000000\" length=\"0x10000\"/>"        // ccmram
  "  <memory type=\"ram\" start=\"0x20000000\" length=\"0x20000\"/>"        // sram

Thanks for reporting. Please feel free to submit a patch.


Just replace the two lines starting with the first line quoted above with those three lines, that is the entire patch.


I submitted a pull request to fix this issue.



Thanks for your submission, it has been merged. If you want, you can add yourself
to the AUTHORS file and pull another merge request to update it.

Kind regards,


@texane texane closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.