Skip to main content
SivM
Associate
January 9, 2023
Solved

Detailed document about memory mapping of stm32

I wish to know the external memory address(0x60000000 - 0x7fffffff) partitions. And I wish to learn more about memory mapping. So, if there anyone find the detailed document about memory mapping, please share it with me.

This topic has been closed for replies.
waclawek.jan
waclawek.janBest answer
Super User
January 9, 2023

Which STM32?

For example, for 'F1, Bank1 (i.e. SRAM etc.) :

  

0693W00000Y7jXFQAZ.pngIt means that the individual chipselect pins allow to address 0x6000'0000-0x63FF'FFFF,0x6400'0000-0x67FF'FFFF, 0x6800'0000-0x6BFF'FFFF, 0x6C00'0000-0x6FFF'FFFF areas, respectively.

0x7000'0000-0x7FFF'FFFF is Bank2, i.e. NAND FLASH area.

This is probably the same for all other families, but telling us your STM32 model up front is always a good idea.

JW

4 replies

Danish1
Lead III
January 9, 2023

Much of what you are after is probably in the Data Sheet and Reference Manual for your stm32.

The reference Manual in particular is a huge document, so you'll need to find the right bits.

Please let us know if you have questions that aren't covered by them.

SivM
SivMAuthor
Associate
January 9, 2023

In reference manual they don't give detail about external memory device region. That's why i need some detailed document about memory map region of external device.

I need to know is there any partition in between external memory address region of 0x6000000 to 0x7fffffff

waclawek.jan
waclawek.janBest answer
Super User
January 9, 2023

Which STM32?

For example, for 'F1, Bank1 (i.e. SRAM etc.) :

  

0693W00000Y7jXFQAZ.pngIt means that the individual chipselect pins allow to address 0x6000'0000-0x63FF'FFFF,0x6400'0000-0x67FF'FFFF, 0x6800'0000-0x6BFF'FFFF, 0x6C00'0000-0x6FFF'FFFF areas, respectively.

0x7000'0000-0x7FFF'FFFF is Bank2, i.e. NAND FLASH area.

This is probably the same for all other families, but telling us your STM32 model up front is always a good idea.

JW

SivM
SivMAuthor
Associate
January 10, 2023

Thank you so much Mr.waclawek.jan. My doubt was cleared now.