2025-02-04 11:50 AM - edited 2025-02-05 10:40 AM
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.
In tools>Memory Management it looks like my bootloader and app both live in the 64kB onboard flash
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:
When we compared our flash / RCC settings in cubeMX, they looked identical. Is this some kind of visual bug or artifact in cubeMX?
Thanks.