2024-12-27 06:51 PM
I am not yet the full expert (I have not read all docs, just trying with a simple project).
It looks like, what I have in mind is maybe not possible.
Goal:
I want to have all my code on external QSPI memory (because the chip does not have an internal code flash memory).
The entire internal SRAM should be free to be used completely as data (not any code in internal SRAM).
My impressions after first trials:
The issue seems to be this:
Question:
Is it possible to let boot STM32N6 from external QSPI memory and keep going to execute code from external QSPI? Can I utilize the entire internal SRAM just for data (not any code)? (e.g. using XIP feature - is it there?)
How to debug such a project? (seems to be not possible)
Is there any performance penalty when I keep my code running from external QSPI (even it should be an Octal-SPI and potentially caches involved)?
Is there a linker script example (for STM32IDE, GNU) which can do this BIN file generation? (all code remains on external QSPI, all internal SRAM for data, flash signed code on external QSPI). I have not found one in the Appli sub-project.
2024-12-28 02:25 AM
Do not duplicate questions and refer to the following posts below:
Best regards,
Romain,
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.