cancel
Showing results for 
Search instead for 
Did you mean: 

Error: Region Flash of context Boot and region Flash of context Appli are overlapped.

md5
Associate

cubeMX version 6.13, generating for CMake.

Hi there,

I'm configuring an STM32H7S3 nucleo board. I can build, flash, run, and debug code.

I am adding a UART for logging and now am getting the titled error when generating:

Edit: This problem appears the moment I go to the Memory Management tab! If I reset to previous .ioc state, the code generates happily. If I open the project and simply open the memory management tab, this error appears.

md5_0-1738636812235.png

In tools>Memory Management it looks like my bootloader and app both live in the 64kB onboard flash

md5_0-1738699131654.png

 

I want the bootloader to use the onboard flash, and do execute-in-place for code on the provided NOR flash.

I have followed these guides, which seem relatively up-to-date:

Getting started with MMT(Memory Management Tool) - stm32mcu

stm32h7s_workshop/1_external_memory/external_memory.md at main · ST-TOMAS-Workshop/stm32h7s_workshop

In particular, section 6.2.5.1 of the first link shows how application flash will be moved to XSPI. In spite of my following the steps very carefully, mine still looks like the photo above.

Curiously, my coworker was able to make his work. Comparing our cubeMX files showed this:

image (2).png

 When we compared our flash / RCC settings in cubeMX, they looked identical. Is this some kind of visual bug or artifact in cubeMX?

Thanks.

 

0 REPLIES 0