[STM32F730] QSPI external loader - Warn : no flash bank found for address 90000000
Hello,
I am using the XIP functionalities over QSPI on the EvalBoard STM32F7308-DK. I got the launcher working without problems (jump to 0x90000000U, which is the QSPI base address). I also got a basic demo (toggle led) working from the external QSPI.
Now I am trying to do write my own program. I configured the linker file (STM32F730I8Kx_FLASH.ld) like this:
_Min_Heap_Size = 0x400;
_Min_Stack_Size = 0x800;
MEMORY
{
FLASH (rx) : ORIGIN = 0x90000000, LENGTH = 65536K
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 256K
}
I also added APPLICATION_ADDRESS=0x90000000U to the preprocessor settings, and modified system_stm32f7xx.c with this:
SCB->VTOR = APPLICATION_ADDRESS | VECT_TAB_OFFSET;
The compilations finished successfully and the .hex file is generated, pointing to 0x90000000. If I flash the .hex file using STM32CubeProgrammer the program runs well. But the problem that I am encountering is that I cannot run it directly from SW4STM32. I compared my project with the toggle led example (which I can launch directly from SW4STM32) and the are, a priori, no differences.
It may come from the OpenODC configuration, but I am not sure. Do you have an idea?
Thank you in advance.
Luis